aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Create README fileYash Karandikar2021-01-051-0/+22
| | | | * README.md:
* Add function to apply patch in current bufferyoctocell2021-01-051-0/+8
| | | | * git-email.el (git-email-apply-patch):
* Update commentaryyoctocell2021-01-041-2/+7
| | | | | | Add description for `git-email-format-patch'. * git-email.el:
* Add wrapper for 'git-format-patch'yoctocell2021-01-041-3/+51
| | | | | | | | | This lets the user generate patches and automatically compses an email for each patch. * git-email.el (git-email-format-patch-default-args): (git-email-format-patch-extra-args): (git-email-format-patch):
* Add commentsyoctocell2021-01-041-0/+6
| | | | | | Explain some parts in more detail. * git-email.el (git-email--compose-email):
* Fix hooksyoctocell2021-01-041-8/+7
| | | | | | | | | Update docstrings for types for hooks and run them before and after every `git-email--compose-email' call. * git-email.el (git-email-pre-compose-email-hook): (git-email-post-compose-email-hook): (git-email-send-email):
* Refactor `git-email-headers'yoctocell2021-01-041-14/+7
| | | | | | | | | Use symbols instead of strings. * git-email.el (git-email-headers): (git-email-send-email): (git-email--format-headers): (git-email--compose-email):
* Fix message header formattingyoctocell2021-01-041-52/+18
| | | | | | | | | | | | | | | | The key of the alist has to be a symbol and not a string. This fixes the formatting of the 'references' header. Remove the redundant functions for setting `message-header-format-alist'. * git-email.el (git-email-pre-compose-email-hook): (git-email-post-compose-email-hook): (git-email--set-message-header-format): (git-email--reset-message-header-format): (git-email-send-email): (git-email--format-headers): (git-email--remove-subject): (git-email--compose-email):
* Add todoyoctocell2021-01-041-0/+3
| | | | * git-email.el:
* Insert diff at beginning of body instead of EOFyoctocell2021-01-041-5/+6
| | | | | | | | | Some mail clients will automatically pre-populate the message buffer with the users signature, inserting the diff at the end of the file would then mess up the formatting. This patch make it so that the diff is inserted after '--text follows this line--' or a pgp attachment. * git-email.el (git-email--compose-email):
* Remove '*** SUBJECT HERE ***' in message bufferyoctocell2021-01-041-1/+3
| | | | | | Put the cursor at the subject header if the message is a cover letter. * git-email.el (git-email--compose-email):
* Retain the cursor position after inserting diffyoctocell2021-01-041-1/+2
| | | | | | | Put the cursor at the beginning of the body of the message instead of at the end. * git-email.el (git-email--compose-email):
* Add todoyoctocell2021-01-041-0/+2
| | | | * git-email.el:
* Rename variableyoctocell2021-01-041-2/+2
| | | | | | | | Be more consistent with the other variables. git-email-compose-message-function => git-email-compose-email-function * git-email.el:
* Update docsyoctocell2021-01-041-25/+1
| | | | | | Remove redundant docs regarding message headers. * git-email.el (git-email-headers):
* Add hooks to fix formatting of message headersyoctocell2021-01-041-2/+59
| | | | | | | | | | | This is more of a hack for setting `message-header-format-alist' so that the 'References' header gets parsed correctly. * git-email.el (git-email-pre-compose-email-hook): (git-email-post-compose-email-hook): (git-email--set-message-header-format): (git-email--reset-message-header-format): (git-email-send-email):
* Require projectyoctocell2021-01-041-1/+3
| | | | | | Add project.el as a dependency * git-email.el:
* Autoload `git-email-send-email'yoctocell2021-01-041-0/+1
| | | | * git-email.el:
* Add support for ibufferyoctocell2021-01-041-0/+9
| | | | | | | | | | | | | | Users can send marked buffers as patches, but I am not able to get the filename of the buffer under point. Everytime I run `ibuffer-buffer-file-name' the cursor jumps to the beginning of the buffer and I don't any filename returned. I have tried using `execute-kbd-macro' as well, but the cursor still jumps to the beginning of the buffer and I end up marking all buffers under the section. * git-email.el (git-email--ibuffer): (git-email--get-filenames):
* Fix typoyoctocell2021-01-041-3/+2
| | | | | * git-email.el (git-email--vc-dir): (git-email--get-filenames):
* Tweak wording in docstringsyoctocell2021-01-041-3/+3
| | | | | | * git-email.el (git-email--dired): (git-email--vc-dir): (git-email--get-filenames):
* Create a message for each selected fileyoctocell2021-01-041-3/+37
| | | | | | | | | | | | Add helper functions to get a list of marked files, or the file under point. git-email-send-email => git-email--compose-email * git-email.el (git-email-send-email): (git-email--dired): (git-email--vc-dir): (git-email--get-filenames):
* Add docs for the 'references' headeryoctocell2021-01-041-1/+25
| | | | * git-email.el (git-email-headers):
* Fix typoyoctocell2021-01-041-1/+1
| | | | * git-email.el (git-email-send-email):
* Update default value of `git-email-headers'yoctocell2021-01-041-1/+1
| | | | | | | `mail-header-format' formats the 'References' header in a different way compared to other headers. * git-email.el (git-email-headers):
* Update todosyoctocell2021-01-041-3/+0
|
* Fix typoyoctocell2021-01-041-1/+1
| | | | * git-email.el (git-email--compose-message-function):
* Re-work header extractionyoctocell2021-01-041-16/+29
| | | | | | | | | Let the user be able to customize which headers to insert. * git-email.el (git-email--extract-header): (git-email-headers): (git-email--extract-headers): (git-email-send-email):
* Add licenseyoctocell2021-01-031-0/+674
|
* Add todoyoctocell2021-01-031-0/+2
| | | | * git-email.el:
* Add fail-safe for extracting headeryoctocell2021-01-031-2/+5
| | | | | | | Some patches don't have the 'in-reply-to' header. * git-email.el (git-email--extract-header): If the header is not found, return an empty string.
* Extract to address from git configyoctocell2021-01-031-10/+16
| | | | * git-email.el (git-email-send-email): Get to address from 'git config --list'.
* Add todo listyoctocell2021-01-031-0/+4
|
* Add commentaryyoctocell2021-01-031-0/+10
|
* Insert diff into message bufferyoctocell2021-01-031-3/+10
| | | | * git-email.el (git-email-send-email):
* Add function to extract diffyoctocell2021-01-031-0/+9
| | | | * git-email.el (git-email--extract-diff): Init
* Add function to send mailyoctocell2021-01-031-3/+16
| | | | * git-email.el (git-email-send-email): Init.
* Add variable for message functionyoctocell2021-01-031-0/+9
| | | | | | Let the user choose what function to use for composing a message. * git-email.el (git-email--compose-message-function): Init.
* Initial commityoctocell2021-01-031-0/+40