GNU bug report logs - #44134
28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’

Previous Next

Package: emacs;

Reported by: Pankaj Jangid <pankaj.jangid <at> codeisgreat.com>

Date: Thu, 22 Oct 2020 07:30:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Colin Baxter <m43cap <at> yandex.com>
Cc: 44134 <at> 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 13:35:23 +0200
On Thu, 22 Oct 2020 12:05:31 +0100 Colin Baxter <m43cap <at> yandex.com> wrote:

> Hello Stephen,
>>>>>> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>     > On Thu, 22 Oct 2020 09:23:35 +0100 Colin Baxter <m43cap <at> yandex.com> wrote:
>     >>>>>>> Pankaj Jangid <pankaj.jangid <at> 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.

Steve Berman




This bug report was last modified 4 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.