~yoctocell/git-email

git-email: Add function for matching git-email buffers.

A user might have buffers with unsent messages that were not generated
by git-email, previously, invoking ‘git-email-send-all’ would
unconditionally send all of those messages.  By using a predicate, we
make sure to only send messages generated by git-email.

* git-email.el (git-email-buffer-p-function): New defcustom.
(git-email-buffer-p): New function.
(git-email-send-all): Use it.
* doc/git-email.texi (Miscellaneous): Document it.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Generate unique buffer names.

* git-email.el (git-email-send-email): Generate unique buffer names to
avoid collision.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
README: Link to online manual.

* README.md (Introduction): Link to the online manual.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
README: Wrap lines.

* README.md (Contribution): Wrap lines.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
Remove Nix files.

I am no longer using Nix for managing user packages, and I have no
interest in actually maintaining these files.

* git-email.texi (Installation): Remove Nix installation instructions.
* default.nix, flake.lock, flake.nix: Remove files.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
doc: Formatting changes.

Use more appropriate commands instead of @samp{}.

* git-email.texi: Formatting changes.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Make it possible to customize message buffer names.

* git-email.el (git-email-generate-message-buffer): New defcustom.
(git-email-generate-message-buffer-name): New function
(git-email--send-files): Likewise.
(git-email-format-patch): Refactor to use ‘git-email--send-files’.
(git-email-send-email): Likewise.
* doc/git-email.texi (Miscellaneous): Document it.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Divide file into pages.

* git-email.el: Add page separators.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
doc: Document ‘git-email-rewrite-header’.

* doc/git-email.texi (git-email-format-patch): Add paragraphs for how
‘git-email-rewrite-header’ might be useful.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Support appending to header.

Sometimes it is useful to append something to the value of a header
instead of overwriting it.  For example, one might have already Cc’d
someone, but now wants to Cc yet another person, by appending, they
don’t have to re-write the Email address of the first person they
Cc’d.

* git-email.el (git-email--rewrite-header-in-buffer): Add ‘append’
argument.
(git-email-rewrite-header): Add optional prefix argument ‘append’.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Support re-writing if header doesn’t already exist.

* git-email.el (git-email--rewrite-header-in-buffer): Check if header
is found before re-writing.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Add ablitiy to re-write header.

* git-email.el (git-email--rewrite-header-in-buffer): New function.
(git-email-rewrite-header): Likewise.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-gnus: Fix typo.

* git-email-gnus.el: Fix typo.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-piem: Add TODO for using ‘piem-merged-inboxes’.

* git-email-piem.el: Add TODO for using ‘piem-merged-inboxes’ intead
  of ‘piem-inboxes’.  Thanks Kyle for the heads up!

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-piem: Remove superfluous ‘progn’ form.

* git-email-piem.el (git-email-piem-mode): Remove ‘progn’ form.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-gnus: Remove superfluous ‘progn’ form.

* git-email-gnus.el (git-email-gnus-mode): Remove superfluous ‘progn’
  form.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-gnus: Require ‘gnus-msg’.

* git-email-gnus.el: Require ‘gnus-msg’ library.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email: Fix typos.

* git-email-gnus.el (git-email-gnus-mode): Fix typo in docstring.
* git-email-mu4e.el (git-email-mu4e-mode): Likewise.
* git-email-notmuch.el (git-email-notmuch-mode): Likewise.
* git-email-piem.el (git-email-piem-mode): Likewise.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-notmuch: Require ‘notmuch-mua’.

* git-email-notmuch.el: Require ‘notmuch-mua’ library

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
git-email-mu4e: Capitalize ‘mu4e’.

* git-email-mu4e.el: Capitalize ‘mu4e’ in the header.

Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
Next