From: Colin Baxter <m43cap@yandex.com>
To: 44134@debbugs.gnu.org
Subject: bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’
Date: Thu, 22 Oct 2020 15:21:54 +0100 [thread overview]
Message-ID: <87zh4e9w8t.fsf@yandex.com> (raw)
In-Reply-To: <m2zh4ex3fj.fsf@mb2.local.i-did-not-set--mail-host-address--so-tickle-me>
>>>>> Stephen Berman <stephen.berman@gmx.net> writes:
> On Thu, 22 Oct 2020 12:05:31 +0100 Colin Baxter <m43cap@yandex.com> wrote:
>> Hello Stephen,
>>>>>>> Stephen Berman <stephen.berman@gmx.net> writes:
>>
>> > On Thu, 22 Oct 2020 09:23:35 +0100 Colin Baxter <m43cap@yandex.com> wrote:
>> >>>>>>> Pankaj Jangid <pankaj.jangid@codeisgreat.com> writes:
>> >>
>> >> > Steps: 1. M-x epa-list-keys RET ⇒ (lists keys) 2. q 3. M-x >
>> >> epa-list-keys RET ⇒ Wrong type argument: interger-or-marker-p,
>> >> nil
>> >>
>> >> Works for me using emacs-28.0.50 and emacs-27.1.
>>
>> > It works in emacs-27 but AFAICT it cannot work with emacs -Q
>> from > master.
>>
>> I'm afraid emacs -Q does work for me on master. However, there is
>> a subtlety in that if M-x epa-list-keys <RET> is entered first,
>> the public keys are listed, but if entered a second time (after
>> first entering 'q' to remove the keys buffer) the error message
>>
>> epa-list-keys: Wrong type argument: integer-or-marker-p, nil
>>
>> is obtained.
> That's precisely the bug, look closely at the above recipe again!
>> 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.
emacs -Q <RET>
M-x epa-list-keys <RET> --> keys listed
q
M-x epa-list-keys <RET> --> 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.
Colin Baxter.
next prev parent reply other threads:[~2020-10-22 14:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 4:58 bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’ Pankaj Jangid
2020-10-22 8:23 ` Colin Baxter
2020-10-22 8:49 ` Stephen Berman
2020-10-22 11:05 ` Colin Baxter
2020-10-22 11:35 ` Stephen Berman
2020-10-22 14:21 ` Colin Baxter [this message]
2020-10-22 16:01 ` Stephen Berman
2020-10-22 17:29 ` Colin Baxter
2020-11-22 6:38 ` bug#44134: What is the conclusion on epa-list-keys? Pankaj Jangid
2020-11-22 10:17 ` Stephen Berman
2020-11-23 19:22 ` Noam Postavsky
2020-11-24 6:29 ` Lars Ingebrigtsen
2021-01-16 7:45 ` Pankaj Jangid
2021-01-18 16:31 ` Lars Ingebrigtsen
2021-01-18 16:36 ` Lars Ingebrigtsen
2021-01-19 4:06 ` Pankaj Jangid
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zh4e9w8t.fsf@yandex.com \
--to=m43cap@yandex.com \
--cc=44134@debbugs.gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).