GNU bug report logs - #43703
26.1: gpg window selection

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Tue, 29 Sep 2020 13:11:01 UTC

Severity: normal

Tags: confirmed, fixed

Found in version 26.1

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43703 in the body.
You can then email your comments to 43703 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43703; Package emacs. (Tue, 29 Sep 2020 13:11:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Sep 2020 13:11:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: 26.1: gpg window selection
Date: Tue, 29 Sep 2020 09:10:23 -0400
When saving a file with a file-name extension `gpg', emacs intelligently
and helpfully opens an encryption dialog buffer in a separate window.
However, when the interaction with that buffer completes and emacs kills
the buffer, it does not switch focus back to the original window (that
of the foo.gpg file that was being edited / saved).

To recreate: Open a frame with two windows, find a file with extension
gpg, save it, follow instructions in the gpg window.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43703; Package emacs. (Tue, 29 Sep 2020 14:41:01 GMT) Full text and rfc822 format available.

Message #8 received at 43703 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 43703 <at> debbugs.gnu.org
Subject: Re: bug#43703: 26.1: gpg window selection
Date: Tue, 29 Sep 2020 16:40:48 +0200
Boruch Baum <boruch_baum <at> gmx.com> writes:

> When saving a file with a file-name extension `gpg', emacs intelligently
> and helpfully opens an encryption dialog buffer in a separate window.
> However, when the interaction with that buffer completes and emacs kills
> the buffer, it does not switch focus back to the original window (that
> of the foo.gpg file that was being edited / saved).
>
> To recreate: Open a frame with two windows, find a file with extension
> gpg, save it, follow instructions in the gpg window.

I'm unable to reproduce this in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43703; Package emacs. (Wed, 30 Sep 2020 13:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 43703 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 43703 <at> debbugs.gnu.org
Subject: Re: bug#43703: 26.1: gpg window selection
Date: Wed, 30 Sep 2020 15:48:48 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm unable to reproduce this in Emacs 28.

Now that you have Emacs 28, are you able to reproduce this bug there?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43703; Package emacs. (Wed, 30 Sep 2020 15:19:01 GMT) Full text and rfc822 format available.

Message #14 received at 43703 <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 43703 <at> debbugs.gnu.org
Subject: Re: bug#43703: 26.1: gpg window selection
Date: Wed, 30 Sep 2020 11:18:25 -0400
On 2020-09-30 15:48, Lars Ingebrigtsen wrote:
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
> > I'm unable to reproduce this in Emacs 28.
>
> Now that you have Emacs 28, are you able to reproduce this bug there?
>

YES!
\emacs-snapshot -nw -Q
C-x 3
C-x f foo.gpg
bar
C-x C-s
TAB
TAB
RETURN
password
password
It leaves me in the scratch buffer, not the foo.gpg buffer.
Reliably repeatable three times now.

(emacs-version)
"GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+Version 3.24.5, cairo version 1.16.0)
 of 2020-09-16, unofficial emacs-snapshot build:
 http://emacs.ganneff.de/, git commit  92f342f38dd82aae4a662708dd6280fdfb2e013b"

[Hat tip to ganneff.de]

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43703; Package emacs. (Wed, 30 Sep 2020 15:27:01 GMT) Full text and rfc822 format available.

Message #17 received at 43703 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 43703 <at> debbugs.gnu.org
Subject: Re: bug#43703: 26.1: gpg window selection
Date: Wed, 30 Sep 2020 17:26:21 +0200
Boruch Baum <boruch_baum <at> gmx.com> writes:

> YES!
> \emacs-snapshot -nw -Q
> C-x 3
> C-x f foo.gpg
> bar
> C-x C-s
> TAB
> TAB
> RETURN
> password
> password
> It leaves me in the scratch buffer, not the foo.gpg buffer.
> Reliably repeatable three times now.

Thanks; I'm seeing that too now.  It's also repeatable with a C-x 2
split.  I'll poke around and see whether I can fix this...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 30 Sep 2020 15:27:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43703; Package emacs. (Wed, 30 Sep 2020 15:38:02 GMT) Full text and rfc822 format available.

Message #22 received at 43703 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 43703 <at> debbugs.gnu.org
Subject: Re: bug#43703: 26.1: gpg window selection
Date: Wed, 30 Sep 2020 17:37:14 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Thanks; I'm seeing that too now.  It's also repeatable with a C-x 2
> split.  I'll poke around and see whether I can fix this...

That was easy enough by just saving/restoring the window configuration.
Now pushed to the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 30 Sep 2020 15:38:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 43703 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 30 Sep 2020 15:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Oct 2020 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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