[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: int
From: |
Colin Baxter |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
>>>>> 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.
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Pankaj Jangid, 2020/10/22
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Colin Baxter, 2020/10/22
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Stephen Berman, 2020/10/22
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Colin Baxter, 2020/10/22
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Stephen Berman, 2020/10/22
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’,
Colin Baxter <=
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Stephen Berman, 2020/10/22
- bug#44134: 28.0.50; epa-list-keys failing with ‘wrong type argument: interger-or-marker-p, nil’, Colin Baxter, 2020/10/22