From: Juri Linkov <juri@linkov.net>
To: martin rudalics <rudalics@gmx.at>
Cc: 52491@debbugs.gnu.org
Subject: bug#52491: 28.0.90; Regression in window deletion with minibuffer
Date: Tue, 21 Dec 2021 21:13:00 +0200 [thread overview]
Message-ID: <86tuf17ow3.fsf@mail.linkov.net> (raw)
In-Reply-To: <81d1e22d-fbf2-b172-9eb8-8c938b60388c@gmx.at> (martin rudalics's message of "Tue, 21 Dec 2021 11:33:25 +0100")
close 52491 28.0.90
thanks
>> Or maybe simply:
>>
>> ((and dedicated (not (eq dedicated 'side))
>> (window--delete window 'dedicated (eq bury-or-kill 'kill)))
>> ;; If the previously selected window is still alive, select it.
>> (when (window-live-p (nth 2 quit-restore))
>> (select-window (nth 2 quit-restore))))
>
> Right. Please install that.
Thanks, now pushed to emacs-28.
BTW, could you suggest where to look to fix such problem: for example,
create a grep/occur buffer, then start visiting occurrences from it
one by one, e.g. type RET that shows the occurrence in the second window,
then select the first window again, then type RET again to visit the
next file in the second window, etc. Then invoke 'quit-window' in the
last visited buffer - it selects the first window. Then select the
previous buffer in the second window, and again invoke 'quit-window'.
Now it removes the buffer, but doesn't select the first window.
Such inconsistency causes a lot of trouble because of this
unpredictable behavior. It reselects another window only
on the first invocation of 'quit-window' in the same window.
Would it be possible either to always select another window
on every 'quit-window', or to never select another window
on 'quit-window'?
next prev parent reply other threads:[~2021-12-21 19:13 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 21:08 bug#52491: 28.0.90; Regression in window deletion with minibuffer Juri Linkov
2021-12-16 17:28 ` Juri Linkov
2021-12-16 17:50 ` Eli Zaretskii
2021-12-16 19:02 ` Juri Linkov
2021-12-16 20:05 ` Eli Zaretskii
2021-12-17 8:25 ` Juri Linkov
2021-12-17 12:04 ` Eli Zaretskii
2021-12-18 9:05 ` martin rudalics
2021-12-18 17:20 ` Juri Linkov
2021-12-19 10:14 ` martin rudalics
2021-12-19 17:14 ` Juri Linkov
2021-12-19 18:16 ` martin rudalics
2021-12-19 18:25 ` Juri Linkov
2021-12-20 9:18 ` martin rudalics
2021-12-20 17:29 ` Eli Zaretskii
2021-12-20 18:08 ` martin rudalics
2021-12-20 18:18 ` Eli Zaretskii
2021-12-21 8:05 ` Juri Linkov
2021-12-21 10:33 ` martin rudalics
2021-12-21 19:13 ` Juri Linkov [this message]
2021-12-22 9:23 ` martin rudalics
2021-12-21 8:08 ` Juri Linkov
2021-12-21 10:34 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86tuf17ow3.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=52491@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.