* PGP tag inserted below quoted message when replying @ 2016-10-27 16:43 Dave Barker 2016-10-28 10:37 ` David Bremner 0 siblings, 1 reply; 4+ messages in thread From: Dave Barker @ 2016-10-27 16:43 UTC (permalink / raw) To: notmuch [-- Attachment #1: Type: text/plain, Size: 895 bytes --] Hi there, As discussed in IRC I'm having the problem that sometimes when I reply to messages the #secure method=pgpmime mode=sign tag is inserted below the quoted message. If I then invoke mml-secure-message-sign-pgpmime manually the tag jumps to the correct place (the very start of my message). I can't share the message in question but here's the printmimestructure output for it: └┬╴multipart/alternative 9986 bytes ├─╴text/plain 1261 bytes └─╴text/html 1943 bytes My hook looks like this: (add-hook 'message-setup-hook (lambda () (gnus-alias-determine-identity) (define-key message-mode-map (kbd "C-c f") 'gnus-alias-select-identity) (flyspell-mode) (mml-secure-message-sign-pgpmime))) I'm using notmuch 0.23, notmuch emacs 20161025.1757 from melpa. Cheers, Dave. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 800 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PGP tag inserted below quoted message when replying 2016-10-27 16:43 PGP tag inserted below quoted message when replying Dave Barker @ 2016-10-28 10:37 ` David Bremner 2016-10-31 13:28 ` Dave Barker 0 siblings, 1 reply; 4+ messages in thread From: David Bremner @ 2016-10-28 10:37 UTC (permalink / raw) To: Dave Barker, notmuch Dave Barker <kzar@kzar.co.uk> writes: > > (add-hook 'message-setup-hook > (lambda () > (gnus-alias-determine-identity) > (define-key message-mode-map (kbd "C-c f") > 'gnus-alias-select-identity) > (flyspell-mode) > (mml-secure-message-sign-pgpmime))) Can you duplicate the problem without gnus-alias? d ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PGP tag inserted below quoted message when replying 2016-10-28 10:37 ` David Bremner @ 2016-10-31 13:28 ` Dave Barker 2016-11-01 16:12 ` Dave Barker 0 siblings, 1 reply; 4+ messages in thread From: Dave Barker @ 2016-10-31 13:28 UTC (permalink / raw) To: David Bremner, notmuch [-- Attachment #1: Type: text/plain, Size: 297 bytes --] David Bremner <david@tethera.net> writes: > Can you duplicate the problem without gnus-alias? Aha, no I can't. It only happens when there's the (gnus-alias-determine-identity) call there. (Weird thing is the ordering doesn't seem to matter, I've tried putting it first and last, no difference.) [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 800 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PGP tag inserted below quoted message when replying 2016-10-31 13:28 ` Dave Barker @ 2016-11-01 16:12 ` Dave Barker 0 siblings, 0 replies; 4+ messages in thread From: Dave Barker @ 2016-11-01 16:12 UTC (permalink / raw) To: David Bremner, notmuch [-- Attachment #1: Type: text/plain, Size: 435 bytes --] OK I eventually worked around this problem by adding the secure tag at the point the message is being sent. The code now looks something like this: (add-hook 'message-setup-hook (lambda () (gnus-alias-determine-identity) (define-key message-mode-map (kbd "C-c f") 'gnus-alias-select-identity) (flyspell-mode))) (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 800 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-01 16:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-10-27 16:43 PGP tag inserted below quoted message when replying Dave Barker 2016-10-28 10:37 ` David Bremner 2016-10-31 13:28 ` Dave Barker 2016-11-01 16:12 ` Dave Barker
Code repositories for project(s) associated with this public inbox https://yhetil.org/notmuch.git/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).