* bug#43703: 26.1: gpg window selection
@ 2020-09-29 13:10 Boruch Baum
2020-09-29 14:40 ` Lars Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Boruch Baum @ 2020-09-29 13:10 UTC (permalink / raw)
To: 43703
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#43703: 26.1: gpg window selection
2020-09-29 13:10 bug#43703: 26.1: gpg window selection Boruch Baum
@ 2020-09-29 14:40 ` Lars Ingebrigtsen
2020-09-30 13:48 ` Lars Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-29 14:40 UTC (permalink / raw)
To: Boruch Baum; +Cc: 43703
Boruch Baum <boruch_baum@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#43703: 26.1: gpg window selection
2020-09-29 14:40 ` Lars Ingebrigtsen
@ 2020-09-30 13:48 ` Lars Ingebrigtsen
2020-09-30 15:18 ` Boruch Baum
0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-30 13:48 UTC (permalink / raw)
To: Boruch Baum; +Cc: 43703
Lars Ingebrigtsen <larsi@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#43703: 26.1: gpg window selection
2020-09-30 13:48 ` Lars Ingebrigtsen
@ 2020-09-30 15:18 ` Boruch Baum
2020-09-30 15:26 ` Lars Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Boruch Baum @ 2020-09-30 15:18 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 43703
On 2020-09-30 15:48, Lars Ingebrigtsen wrote:
> Lars Ingebrigtsen <larsi@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#43703: 26.1: gpg window selection
2020-09-30 15:18 ` Boruch Baum
@ 2020-09-30 15:26 ` Lars Ingebrigtsen
2020-09-30 15:37 ` Lars Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-30 15:26 UTC (permalink / raw)
To: Boruch Baum; +Cc: 43703
Boruch Baum <boruch_baum@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#43703: 26.1: gpg window selection
2020-09-30 15:26 ` Lars Ingebrigtsen
@ 2020-09-30 15:37 ` Lars Ingebrigtsen
0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-30 15:37 UTC (permalink / raw)
To: Boruch Baum; +Cc: 43703
Lars Ingebrigtsen <larsi@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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-09-30 15:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 13:10 bug#43703: 26.1: gpg window selection Boruch Baum
2020-09-29 14:40 ` Lars Ingebrigtsen
2020-09-30 13:48 ` Lars Ingebrigtsen
2020-09-30 15:18 ` Boruch Baum
2020-09-30 15:26 ` Lars Ingebrigtsen
2020-09-30 15:37 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.