From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#44134: 28.0.50; epa-list-keys failing with =?UTF-8?Q?=E2=80=98wrong?= type argument: interger-or-marker-p, =?UTF-8?Q?nil=E2=80=99?= Date: Thu, 22 Oct 2020 18:01:31 +0200 Message-ID: <87wnzidzc4.fsf@gmx.net> References: <878sbybreg.fsf@yandex.com> <875z72fxwo.fsf@gmx.net> <874kmmbjwk.fsf@yandex.com> <871rhqfq84.fsf@gmx.net> <87zh4e9w8t.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36823"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44134@debbugs.gnu.org To: Colin Baxter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 22 18:05:24 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 1kVd5g-0009Re-O2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 18:05:24 +0200 Original-Received: from localhost ([::1]:54134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVd5f-0006sd-OD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 12:05:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVd2V-0003tL-Hh for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 12:02:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVd2P-0001Da-UQ for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 12:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVd2P-00064a-SY for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 12:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2020 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44134 X-GNU-PR-Package: emacs Original-Received: via spool by 44134-submit@debbugs.gnu.org id=B44134.160338250223308 (code B ref 44134); Thu, 22 Oct 2020 16:02:01 +0000 Original-Received: (at 44134) by debbugs.gnu.org; 22 Oct 2020 16:01:42 +0000 Original-Received: from localhost ([127.0.0.1]:53635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVd26-00063s-HG for submit@debbugs.gnu.org; Thu, 22 Oct 2020 12:01:42 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVd24-00063e-88 for 44134@debbugs.gnu.org; Thu, 22 Oct 2020 12:01:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603382494; bh=ZawnIQ8RpFif3PZTvikhrlsT3W/lB+AK7aiwRzCWKho=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=eMGAg124IwU4sySW6EHJCk6a7vbDrI+C0jjxsPPy1SzSGnuTOOtQlaIYv6XU8Hc6w CiKkPSnw5MGSVZtZ8j45lZB77a2mii21E7IBI/DkxNj/94Jb8cTl6slzJdo5dTC6yG qpyybvjTmiRppQn5dbpKIjz2Vw+Z7oYnZJ9uZ/OQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([178.9.97.57]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWRRZ-1ku9EU3QPT-00Xqv7; Thu, 22 Oct 2020 18:01:33 +0200 In-Reply-To: <87zh4e9w8t.fsf@yandex.com> (Colin Baxter's message of "Thu, 22 Oct 2020 15:21:54 +0100") X-Provags-ID: V03:K1:o0oAFijRc2wC8848GNhv1RrYr6X0CaC4OyTpnWdtdG2jxcjv8+6 xT7eczxw2uumaLOREddgbWKk1EeSNMaVRR2w5uS6y6s4w0sFYlFQxZfibESMLsL5Jj+xMjT iHlGqolC8ZrjaFixYDo9qFUD6o5Q/TPGi2bOyDUIlaZOgc4Q9teUZSAfmi4oGUZiOFPG5RF duw1ziscDssdW7OxVqnZw== X-UI-Out-Filterresults: notjunk:1;V03:K0:d7jL1+++YhU=:oKHP0i154T2UBKCye4+1dN KstxA0AiaVNZ/MVajmV29erfbuvOGR474Fl2LDuL04IdaZJf5yNy8y/0daF9go5g//bW09mPd y8EVvXvXUBCn9+Yhzd8nZi1RZq7uXfwxGcVNBhKupJnUTOcj12eb8YsNF+C2ARshOR/W/1Ws/ /V2K6qXiFgabWGduoc8p8ThTEdAqRD0p3ePa83d7QTDaMFrRFiwwvnG4UinZ+OpTx+Fbt/MM1 GIiJwIXTMFYKA5P3AG6/n18N7oHP56eAcpZTdvUKBbED9HyBSNR4b1S2n/hU1AihfWb2YqW+G 0uOpWdkknTVLgrTXHAEhNFW4782D0d7Un+ZtV3vklCist2pV7p3OfQ/6GAc1qpLj1ue4Z/iLL 1EHF31I09bnAT8PzoETYoeFe+Ky+V9E4HyducDDFAXHOXjefdaY8bCr9hwHWF7OQ1q1P0X0Hz O0CQQMiJue8nnqAAFfyW3qw++p/9mwV4kH4VUuh5/sXEHBvLWuyp4t41AfXuzxRn9KVvRK6qt Ad9a2ORRE2mbxTlokUL3i+BNYzCCdos4DfFnx7VHio0SXZmiZUE918q7AmgIjwACO+f6Z8h9R TyvS/cptzpDUnm/GQHEiOfxDnvE3yNl9lm9MG2fwmlUNkfI8kplZhDUVD7Qc6N5F+k8OvaFAi v+2/CB1oAyyu0hyPc9CndgwyiyPvC1LKnQLJ0eb7fNLe4VgUYyMUNFtSwxmJF2q3cSIaL7Yi7 3IARNViCnss4wMrm6uf2uUkAme90aVZWc12rQi1xs2BJl/bFkMseJLY5v5Zi83zxdKxCANqF 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:191294 Archived-At: On Thu, 22 Oct 2020 15:21:54 +0100 Colin Baxter wrote: >>>>>> Stephen Berman writes: [...] > >> Do you want me to apply your patch to see if it makes any > >> difference? > > > Yes, please do. > > Ok, patch applied to my setup and it appears to work. Thanks for testing. > emacs -Q > M-x epa-list-keys --> keys listed > q > M-x epa-list-keys --> keys listed > repeated 2 more times> --> same outcome > repeated 2 more times using epa-list-secret-keys --> keys listed > > Would it be possible to use 'q' to kill the keys-buffer rather than hide > it? That way, the buffer will not display an old duplicate listing. Well, since `q' in epa-key-list-mode is bound to epa-exit-buffer, which funcalls epa-exit-buffer-function, which is set by default to quit-window, and the latter kills the buffer if called with a prefix argument, you could just type `C-u q' instead of `q'. Or if you want `q' by itself to kill the buffer, putting either of the following sexps into your init file should do the trick. (with-eval-after-load "epa" (setq epa-exit-buffer-function (lambda () (interactive) (quit-window t)))) (with-eval-after-load "epa" (define-key epa-key-list-mode-map "q" (lambda () (interactive) (quit-window t)))) The latter affects only epa-key-list-mode, while the former has wider scope, since epa-exit-buffer-function is used in several places in epa.el. Steve Berman