GNU bug report logs - #45072
28.0.50; Emacs switches other buffer back uncontrollably, if other window's buffer is changed by user during minibuffer editing

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Sun, 6 Dec 2020 14:09:01 UTC

Severity: minor

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Jean Louis <bugs <at> gnu.support>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 45072 <at> debbugs.gnu.org, larsi <at> gnus.org,
 Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#45072: 28.0.50; Emacs switches other buffer back
 uncontrollably, if other window's buffer is changed by user during minibuffer
 editing
Date: Wed, 9 Dec 2020 16:16:39 +0100
>> Such windows must be removed by the mechanism that created them.  I
>> hardly ever see such windows here because I'm apparently using some
>> arcane completions mechanism that always puts them in place right away.
>> But if I'm not mistaken, several such windows may pop up during one and
>> the same minibuffer input operation and IMO all of them should pop down
>> automatically as soon as they served their purpose.
>
> I am not sure if my case was understood, let me use artist-mode:
>
>   +----------------------------+
>   |                            |
>   | I was changing this        |
>   | during minibuffer edit     |
>   +----------------------------+
>   | I was also changing this   |
>   | during minibuffer editd    |		-
>   |                    	      |
>   +----------------------------+
>   +----------------------------+
>
> If I would have larger screen I would put all necessary buffers around
> and use them to get references for minibuffer input. Instead I was
> switching buffers in upper windows during minibuffer edit. It is not
> related to shrinking or completions. My minibuffer was not completing
> rather just reading string. During editing I would go up and switch to
> one image or other. I was in the loop of minibuffer editing of
> multiple coordinates. Upon each editing the already set images in
> upper windows would switch back where minibuffer was invoked
> initially.
>
> That forces me to use outside program to keep pictures on screen when
> required and makes editing less useful.

Have you tried my latest patch?

The problem Juri raised is that Emacs itself might pop up or reuse other
windows in order to display text related to the minibuffer interaction
and I think that such windows should be deleted or get their buffer
restored by the interaction itself (using 'quit-window' probably).

martin




This bug report was last modified 3 years and 291 days ago.

Previous Next


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