From d5c7b30fd17b0b927ee42214b0e5bcea5dd15e33 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sat, 24 Aug 2024 23:59:39 +0300 Subject: [PATCH] mail: don't move signature to top --- .emacs.d/mail.el | 2 +- Mail.org | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.emacs.d/mail.el b/.emacs.d/mail.el index 9acbb50..f49cfdb 100644 --- a/.emacs.d/mail.el +++ b/.emacs.d/mail.el @@ -90,7 +90,7 @@ (encrypt)))) (defun my/message-insert-signature-need-on-top () - t) + nil) (defun my/message-maybe-fix-signature (&rest _) (when (my/message-insert-signature-need-on-top) diff --git a/Mail.org b/Mail.org index 4de16fb..9bbb83e 100644 --- a/Mail.org +++ b/Mail.org @@ -521,6 +521,8 @@ The following formats the tables above to a proper syntax for =setq notmuch-save (encrypt)))) #+end_src ** Tuning signature +Edit <2024-08-19 Mon>: Apparently this was a feature, not a bug. Disabling this. + By default, =message.el= inserts the signature at the bottom of the message, like this: #+begin_example @@ -555,9 +557,11 @@ So here I modifiy the citation function to insert the signature like in the seco Edit <2022-10-27 Thu>: for consistency's sake, I'll make the signature on the top for all cases. +Edit <2024-08-19 Mon>: see above + #+begin_src emacs-lisp (defun my/message-insert-signature-need-on-top () - t) + nil) #+end_src Then advice the =notmuch-mua-reply= function: