From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#25411: 25.1; rmail decryption problems Date: Tue, 15 Dec 2020 22:31:28 +0100 Message-ID: References: <871rfu93ul.fsf@gnus.org> <87h7oo1i5l.fsf@gnus.org> <878s9z3a0r.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22856"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 25411@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 15 22:32:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kpHvW-0005qZ-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Dec 2020 22:32:10 +0100 Original-Received: from localhost ([::1]:40540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpHvV-0002Do-0P for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Dec 2020 16:32:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpHvO-0002DX-8Z for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2020 16:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpHvO-0005rQ-0n for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2020 16:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpHvN-00018o-ST for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2020 16:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Dec 2020 21:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25411 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 25411-submit@debbugs.gnu.org id=B25411.16080678924322 (code B ref 25411); Tue, 15 Dec 2020 21:32:01 +0000 Original-Received: (at 25411) by debbugs.gnu.org; 15 Dec 2020 21:31:32 +0000 Original-Received: from localhost ([127.0.0.1]:59358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpHuu-00017e-7C for submit@debbugs.gnu.org; Tue, 15 Dec 2020 16:31:32 -0500 Original-Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:40138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpHut-00017V-41 for 25411@debbugs.gnu.org; Tue, 15 Dec 2020 16:31:31 -0500 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 37A39AF4C0; Tue, 15 Dec 2020 22:31:29 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kpHuq-003run-Ta; Tue, 15 Dec 2020 22:31:28 +0100 In-Reply-To: <878s9z3a0r.fsf@gnus.org> (larsi@gnus.org) X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196191 Archived-At: >>>>>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) ...