From: Stefan Merten <smerten@oekonux.de>
To: ding@gnus.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>, Shenghuo Zhu <zsh@cs.rochester.edu>
Subject: Fwd: Problem with global `message-options`
Date: Mon, 07 Feb 2011 13:21:09 +0100 [thread overview]
Message-ID: <5211.1297081269@theowa.merten-home.homelinux.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]
Hi!
Lars Ingebrigtsen asked me to reroute the following question to this
mail address.
------- Forwarded Message
Date: Sun, 06 Feb 2011 21:06:50 +0100
From: Stefan Merten <smerten@oekonux.de>
Subject: Problem with global `message-options`
To: Lars Magne Ingebrigtsen <larsi@gnus.org>,
Shenghuo Zhu <zsh@cs.rochester.edu>
Message-Id: <15028.1297022810@rosalu.merten-home.homelinux.org>
Hi Lars, Shenghuo!
I discovered your email adresses in the header of `message.el` or
`mml2015.el`, respectively, in the Emacs distribution (V23.1.1).
That's why I'm writing you.
I found the following problem. When I GPG-encrypt multiple mails with
the Emacs machinery for different recipients the key used for the
first encryption is used for all mails - regardless of their
respective recipients. As you can imagine this is very annoying
because all but the first recipients get mails they can't decrypt :-( .
I tracked the problem down to the function `mml2015-epg-encrypt`.
There is a
(let
...
(recipients (message-options-get 'mml2015-epg-recipients))
which via `message-options-get` fetches recipients from
`message-options`. Since `message-options` is global and seemingly the
`mml2015-epg-recipients` field is never cleared I get the results from
a previous encryption. This is probably the reason why only the first
key is used as described above.
I solved the problem for me by making `message-options` buffer local -
which seems the right thing to do anyway.
Grüße
Stefan
------- End of Forwarded Message
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
next reply other threads:[~2011-02-07 12:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 12:21 Stefan Merten [this message]
2011-02-08 9:57 ` Julien Danjou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5211.1297081269@theowa.merten-home.homelinux.org \
--to=smerten@oekonux.de \
--cc=ding@gnus.org \
--cc=larsi@gnus.org \
--cc=zsh@cs.rochester.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).