all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Francesco Potortì" <pot@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 25411@debbugs.gnu.org
Subject: bug#25411: 25.1; rmail decryption problems
Date: Tue, 15 Dec 2020 22:31:28 +0100	[thread overview]
Message-ID: <E1kpHuq-003run-Ta@tucano.isti.cnr.it> (raw)
In-Reply-To: <878s9z3a0r.fsf@gnus.org> (larsi@gnus.org)

>>>>>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)
...





  reply	other threads:[~2020-12-15 21:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 16:10 bug#25411: 25.1; rmail decryption problems Francesco Potortì
2020-12-12 20:17 ` Lars Ingebrigtsen
2020-12-13 17:18   ` Francesco Potortì
2020-12-14 16:12     ` Lars Ingebrigtsen
     [not found]       ` <E1kor0r-002Vzd-3l@tucano.isti.cnr.it>
2020-12-15  5:37         ` Lars Ingebrigtsen
2020-12-15 21:31           ` Francesco Potortì [this message]
2020-12-17 11:45             ` Lars Ingebrigtsen
2020-12-16  5:35           ` Richard Stallman
2020-12-17 11:46             ` Lars Ingebrigtsen
2020-12-18  5:48               ` Richard Stallman
2020-12-19 15:33                 ` Lars Ingebrigtsen

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=E1kpHuq-003run-Ta@tucano.isti.cnr.it \
    --to=pot@gnu.org \
    --cc=25411@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.