| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* git-email-mu4e.el: Add ‘mu4e’ to ‘Package-Requires’ header. I don’t
know what version is needed, maybe I will try to to find it later.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
‘git-format-patch’ adds a newline in the subject if it is too long, if
we just use ‘git-email--extract-header’, part of the subject is going
to be cut off.
Subject: [PATCH] services: configuration: Show default value when it is a
package.
* git-email.el (git-email-subject-regexp): New variable.
(git-email--extract-subject): New function.
(git-email--extract-header): Use it.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* guix.scm (git-email-dev): Add ‘emacs-mu4e’ to ‘propagated-inputs’.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email-mu4e.el: New file.
* doc/git-email.texi (Miscellaneous): Mention integration with Mu4e.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
* git-email.texi (Contributing): Add paragraph about formatting commit
messages in the ChangeLog format.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* doc/git-email.texi (Acknowledgements): Use ‘---’ for em dash.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* git-email.scm: Rename to ...
* guix.scm: ... this, and remove the package for the stable release.
I will hopefully get around to package it in Guix proper someday...
* doc/git-email.texi (Installation): Add node for installing with
Guix.
(Contributing): Add instructions for creating a development
environment with Guix.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email.el (git-email-format-patch-default-args): Fix indentation.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
* git-email.el (git-email--check-file): Use ‘user-error’ instead of
‘error’ since this is an error caused by the user not picking a
proper patch.
|
|
|
|
|
| |
* git-email.el (git-email--compose-email): Remove unnecessary ‘print’
statement.
|
|
|
|
|
| |
* git-email.el (git-email-format-patch-extra-args): Use the correct
CLI options, see git-format-patch(1) for more details.
|
|
|
|
|
|
| |
Oops, wrong order.
* git-email.el (git-email-message-buffer-greaterp): Use ‘>’ instead of ‘<’.
|
|
|
|
|
|
|
|
| |
This will fix the compiler warning.
git-email.el:327:54: Warning: Unused lexical variable `body'
* git-email.el (git-email--compose-email): rename ‘body’ to ‘_’.
|
|
|
|
|
|
|
|
|
|
| |
‘string-greaterp’ would mess up the order if the buffer names
container more-than-one digit numbers.
‘git-email-message-buffer-greaterp’ just compares the numbers in the
buffer names.
* git-email.el (git-email-message-buffer-greaterp): New function.
(git-email-send-all): Use it.
|
|
|
|
|
|
|
|
| |
Without this strings with whitespaces would cause ‘git format-patch’
to fail.
* git-email-magit.el (git-email--escape-string): New function.
(git-email-magit-patch-send): Use it.
|
|
|
|
|
|
|
|
|
| |
Spaces >> tabs.
* git-email.el: Untabify.
* git-email-gnus.el: Likewise.
* git-email-magit.el: Likewise.
* git-email-notmuch.el: Likewise.
|
|
|
|
|
|
| |
* git-email.el (git-email--compose-email): Don't insert a 'to' address
if one is already found in the patch. This makes it possible to
override the result of 'git-email-get-to-address-functions'.
|
|
|
|
|
|
| |
* git-email.el (git-email--extract-headers): Return an association
list.
(git-email--compose-email): Adapt to alists.
|
|
|
|
|
|
| |
The same thing can be found in the Texinfo manual.
* README.md: Remove Installation section.
|
|
|
|
| |
This reverts commit 49571ab4c2ddd07db68aac300bdbc9c6bfd31b0b.
|
|
|
|
| |
* git-email.scm: New file.
|
| |
|
| |
|
|
|
|
|
| |
* git-email.el (git-email--compose-email): Remove redundant let
binding.
|
|
|
|
|
| |
* git-email-piem.el (git-email-piem): Provide `git-email-piem'
library.
|
|
|
|
|
|
|
|
|
|
| |
This should fix the problem seen in <87sg5wxo0q.fsf@protesilaos.com>
* git-email.el (git-email--compose-email): Match the beginning and end
of line.
Reported-by: Protesilaos Stavrou <info@protesilaos.com>
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
| |
Applied manually from
<https://lists.sr.ht/~yoctocell/git-email-devel/%3Ce281e4b3513b5629de0108176c660aa1714b5604.1613471364.git.info%40protesilaos.com%3E>
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
There is now a `git-email-get-to-address-functions` variable that
determines the "to" address.
* git-email.el (git-email-headers): Refer to users to the relevant
variable.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When inserting the diff into the message body a newline is already
included. Previously it would insert an additional newline at the
beginning of the body. This removes the extra newline
Before:
--text follows this line--
body starts here
After:
--text follows this line--
body starts here
* git-email.el (git-email--compose-email): Don't go forward a character.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
| |
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
| |
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
| |
Use "all contributors" rather than a name.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
| |
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
|
|
|
|
| |
Previously `substring` would give an error if the "to" address from
"git config --list" was empty. This meant that no message would be
created. This patch fixes this and instead returns an empty string if
to "to" address was found.
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
| |
* git-email.el (git-email-headers):
|
|
|
|
|
| |
* git-email.el (git-email-format-patch-extra-args): Add more arguments
for conveience.
|
|
|
|
|
|
|
|
|
|
|
| |
This adds integration with piem [1]. It will make git-email read the
`piem-inboxes` variable to determine the “to” address.
* git-email-piem.el (git-email-piem-get-to-address): Add function.
(git-email-piem-inbox-by-coderepo): Add function.
(git-email-piem-mode): Add minor mode
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
|
|
|
|
|
| |
* git-email.el (git-email-send-all): Sort the message buffers so they
get sent in the correct order.
|
|
|
|
| |
* git-email-magit.el: Add transient to "Package-Requires" field.
|
|
|
|
| |
* flake.nix: Fix name of defaultPackage.
|
|
|
|
|
| |
* doc/git-email.org (Miscellaneous): Add docs for
`git-email-get-current-project-functions`.
|
|
|
|
|
|
|
|
|
|
| |
This will try to get the root of the project using `projectile`,
`project.el`, and `vc`, in that order. If all of the above fail, fall
back to `default-directory`.
* git-email.el (git-email-get-current-project-functions): Add variable.
(git-email--get-current-project): Add function.
(git-email--minibuffer-get-revision): Utilize the aforementioned functionality.
|
|
|
|
| |
Add installation instructions for nix flakes.
|
|
|
|
|
|
|
| |
Make the version "master" instead of "git", this will turn the name
from "git-email-git-git” to "git-email-git-master”.
* default.nix:
|
|
|
|
|
|
|
| |
This version did not have integration with external packages, so no
"-full" version is needed.
* default.nix: Add package for version 0.1.0.
|
|
|
|
| |
* .gitignore: Ignore ./result folder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make git-email.el a nix flake for an easier installation process for
Nix users. It currently exposes two packages:
- git-email-full -- This includes all the optional libraries
- git-email -- This only includes the core `git-email.el` library
They both get the source from directory from the git repository,
meaning they will get updates as soon as a commit is made.
* default.nix: Add file.
* flake.lock: Add file.
* flake.nix: Add file.
|