GNU bug report logs -
#25411
25.1; rmail decryption problems
Previous Next
Reported by: Francesco Potortì <pot <at> gnu.org>
Date: Tue, 10 Jan 2017 16:11:02 UTC
Severity: minor
Tags: fixed
Found in version 25.1
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #24 received at 25411 <at> debbugs.gnu.org (full text, mbox):
>>>>>I've now bound `C-c C-d' to `rmail-epa-decrypt'.
>>>>
>>>> Note that C-c C-e is the prefix for the epa-mail functions. I think
>>>> it's natural to use the same prefix for rmail.
>>>
>>>Oh, I wasn't aware of that... there doesn't seem to be a `C-c C-e'
>>>binding in rmail by default, though?
>>
>> No, in fact. But being used to epa it is natural for me that C-c C-e is
>> the prefix
>
>The complication here is that `C-c C-e' is a submap (presumably), and if
>rmail binds `C-c C-e d' without that submap, there'll be a keymap
>collision.
I ma not proficient enough about submaps. However, this is what i have
in my .emacs, and ift has worked for a long time:
(add-hook 'rmail-mode-hook
(lambda ()
(require 'rmailsum)
(define-key rmail-mode-map "\C-c\C-ed" 'epa-mail-decrypt)
...
This bug report was last modified 4 years and 152 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.