aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add `git-email-get-address-function' variableXinglu Chen2021-01-282-3/+22
| | | | | | | | | | This makes it possible for users to use their own function to get the “to” address. This could also be used for integration with piem.el. * doc/git-email.org (Sending email): Add bullet point. * git-email.el (git-email-get-to-address-function): Add variable. (git-email--get-to-address): Add function. (git-email--compose-email): Call the relevant function.
* Fix typo in git-email-gnus.el headerProtesilaos Stavrou2021-01-281-1/+1
|
* Small fixXinglu Chen2021-01-261-1/+1
|
* Minor correctionsXinglu Chen2021-01-261-2/+2
| | | | Thank you Protesilaos for this patch.
* doc: Add comprehensive documentationXinglu Chen2021-01-252-0/+1358
| | | | Add Org and Info manuals.
* Add .gitignoreXinglu Chen2021-01-251-0/+1
| | | | * .gitignore: Ignore generated .texi file
* README: Use README.mdXinglu Chen2021-01-252-181/+3
| | | | The Org file will be converted to an info manual instead.
* git-email.el: Add option for parsing revisionXinglu Chen2021-01-251-1/+12
| | | | | | | | | | Add an option for parsing the output of ‘git-email--minibuffer-get-revision’. This allows users to customize the ‘git log’ to run without breaking the format to use for parsing the result. * git-email.el (git-email-revision-parser): Add variable. (git-email--minibuffer-get-revision): Call ‘git-email--parse-revision’.
* git-email: Don’t assume cwd to be a projectXinglu Chen2021-01-251-2/+1
| | | | | | | | This fixes the problem of trying to send a patch that is not in a version controlled directory. Thank you Protesilaos for pointing this out in id:87wnw2m5zm.fsf@protesilaos.com. * git-email.el (git-email--compose-email): Remove local binding for ‘default-directory’.
* README: Add additional docs for using the packageXinglu Chen2021-01-242-26/+108
| | | | | Describe the process of creating and sending patches with `git-email-format-patch' and `git-email-send-email' respectively.
* git-email: Add -v to extra argsXinglu Chen2021-01-241-1/+1
| | | | | * git-email.el (git-email-format-patch-extra-args): Add "-v" to the list.
* Use uninterned symbol for local variableProtesilaos Stavrou2021-01-241-1/+2
| | | | | * git-email.el (git-email--fontify-using-faces): Make local variable 'next' an uninterned symbol.
* Add autoloads for global minor modesProtesilaos Stavrou2021-01-242-0/+2
| | | | | | | | | | * git-email-notmuch.el (git-email-gnus-mode): Add special autoload comment. * git-email-gnus.el (git-email-notmuch-mode): Add autoload. These should not be necessary, given that the edited libraries only define a minor mode.
* magit: Require relevant librariesXinglu Chen2021-01-231-0/+2
|
* README: Wording changesXinglu Chen2021-01-222-18/+19
|
* README: Add features sectionXinglu Chen2021-01-222-1/+23
|
* git-email.el: Fix typoXinglu Chen2021-01-221-1/+1
|
* git-email: Remove unused variableXinglu Chen2021-01-221-3/+0
|
* magit: Remove todosXinglu Chen2021-01-221-8/+0
|
* magit: Use `magit-log-select' to select commitXinglu Chen2021-01-221-4/+8
| | | | | This brings up a log buffer where the user the select a commit, similar to when doing an interactive rebase.
* gnus, notmuch: Fix typosXinglu Chen2021-01-202-4/+4
| | | | | * git-email-gnus.el (git-email-gnus-mode): * git-email-notmuch.el (git-email-notmuch-mode):
* git-email: Make sure point is at BOFXinglu Chen2021-01-201-0/+1
| | | | | | | Put the point at the beginning of the file before doing a search for the message body. * git-email.el (git-email--compose-email):
* magit: Add basic support for transient commandsyoctocell2021-01-181-0/+57
| | | | | This will extend the `magit-patch-create' transient prefix with a second action -- "Send patch".
* Rework `git-email-format-patch'yoctocell2021-01-181-32/+30
| | | | | | | | | | These changes were made to make git-email work better with Magit (the following commit will cover this). ARGS is a string of arguments passed to "git format-patch", RANGE is the range of commits to create patches from. If prefix argument KEEP is specified, keep the generated patches, be default they will be deleted like with "git send-email".
* Make `git-email-send-email' take files as an argumentyoctocell2021-01-181-8/+7
| | | | `git-email-send-email' will take a list of files as an argument.
* Move cursor to "to" address if emptyyoctocell2021-01-181-5/+8
| | | | | The cursor will be placed at the "to" header if it is empty when composing a message.
* Add minor modes for gnus and notmuchyoctocell2021-01-182-3/+66
|
* Remove functionality for applying patchesyoctocell2021-01-184-79/+25
| | | | | | This is better handled by the piem[0] package. [0]: https://git.kyleam.com/piem
* Re-generate README.mdyoctocell2021-01-161-8/+18
|
* Add git-email-notmuch.elyoctocell2021-01-151-0/+46
| | | | | | Add integration with notmuch. * git-email-notmuch.el (git-email-notmuch-apply-patch):
* Add `git-email--get-project'yoctocell2021-01-151-2/+7
| | | | | | | | Modularize `git-email-apply-patch', this way other functions can also use `git-email--get-project'. * git-email.el (git-email--get-project): (git-email-apply-patch):
* Update versionyoctocell2021-01-151-1/+1
| | | | | | Use 0.2.0 instead of 1.0.0 * git-email.el:
* Minor additions to READMEyoctocell2021-01-121-9/+4
|
* Bump version numberyoctocell2021-01-101-1/+1
| | | | * git-email.el:
* Ask for version number for git format-patchyoctocell2021-01-101-6/+9
| | | | | | | | Explicitly ask for the version number (-v option) if `git-email-format-patch' has been called the a prefix argument. * git-email.el (git-email--compose-email): (git-email-format-patch):
* Update commentaryyoctocell2021-01-091-5/+3
| | | | * git-email.el:
* Fix package dependenciesyoctocell2021-01-091-1/+1
| | | | * git-email.el:
* Use #' for referencing functionsyoctocell2021-01-091-6/+6
| | | | * git-email.el:
* Delete patches after sending themyoctocell2021-01-091-3/+8
| | | | | * git-email.el (git-email-format-patch): Delete the patches generated by 'git format-patch' after sending the emails.
* Generate markdown READMEyoctocell2021-01-092-1/+57
|
* Add .envrcyoctocell2021-01-091-0/+1
| | | | * .envrc:
* Add gifyoctocell2021-01-092-2/+1
|
* Rewrite READMEyoctocell2021-01-092-20/+43
|
* Check major mode when getting revisionyoctocell2021-01-081-1/+2
| | | | | | An error will the thrown otherwise. * git-email.el (git-email--log-get-revision):
* Reformat bufferyoctocell2021-01-081-6/+12
| | | | | | | | Keep line width under 80. * git-email.el (git-email--fontify-using-faces): (git-email--compose-email): (git-email-format-patch):
* Fontify diffs in `message-mode'yoctocell2021-01-081-22/+41
| | | | | | | | | * git-email.el (git-email--extract-diff): (git-email--fontify-diff): (git-email--fontify-using-faces): (git-email--compose-email): (git-email--minibuffer-get-revision): (git-email-format-patch):
* Add install instructionsyoctocell2021-01-081-6/+4
| | | | * README.md:
* Use custom functions to get revisionyoctocell2021-01-071-8/+20
| | | | | | | | | | | | Let the user specify a list of functions to run to get the desirable revision and fallback to the minibuffer. * git-email.el (git-email-revision-command): (git-email-get-revision-functions): (vc-dir-current-file): (git-email--get-revision): (git-email--log-get-revision): (git-email-format-patch):
* Dont' colorize revisionyoctocell2021-01-071-18/+8
| | | | | | | | Let the user specify the 'git log' command to run, this wont really play well with the current colorization regex. * git-email.el (git-email-revision-command): (git-email--get-revision):
* Get revision under point if possibleyoctocell2021-01-071-8/+11
| | | | | | | If in `log-view-mode', get the revision under point instead of asking for a revision * git-email.el (git-email-format-patch):