From: Juri Linkov <juri@linkov.net>
To: Visuwesh <visuweshm@gmail.com>
Cc: 58728@debbugs.gnu.org
Subject: bug#58728: 29.0.50; Minibuffer does not follow tabs
Date: Fri, 28 Oct 2022 10:20:12 +0300 [thread overview]
Message-ID: <86wn8kz9tf.fsf@mail.linkov.net> (raw)
In-Reply-To: <86fsf81mdt.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 28 Oct 2022 09:40:46 +0300")
> OTOH, window-state handles it correctly, because it just doesn't mess
> with minibuffers:
Actually, it's possible not to mess with minibiffers
with window-configurations as well:
1. emacs -Q
2. M-: (setq wc (current-window-configuration))
3. C-x C-f
4. M-x
5. M-: (set-window-configuration wc nil 'DONT-SET-MINIWINDOW)
6. C-g
Please try such a patch:
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index da1edf3084e..31009e8a7ec 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1136,7 +1144,7 @@ tab-bar-select-tab
(wc-history-back (alist-get 'wc-history-back to-tab))
(wc-history-forward (alist-get 'wc-history-forward to-tab)))
- (set-window-configuration wc)
+ (set-window-configuration wc nil 'DONT-SET-MINIWINDOW)
;; set-window-configuration does not restore the value of
;; point in the current buffer, so restore it separately.
@@ -1900,7 +1908,7 @@ tab-bar-history-back
(cons tab-bar-history-old
(gethash (selected-frame) tab-bar-history-forward))
tab-bar-history-forward)
- (set-window-configuration wc)
+ (set-window-configuration wc nil 'DONT-SET-MINIWINDOW)
(when (and (markerp wc-point) (marker-buffer wc-point))
(goto-char wc-point)))
(message "No more tab back history"))))
@@ -1919,7 +1927,7 @@ tab-bar-history-forward
(cons tab-bar-history-old
(gethash (selected-frame) tab-bar-history-back))
tab-bar-history-back)
- (set-window-configuration wc)
+ (set-window-configuration wc nil 'DONT-SET-MINIWINDOW)
(when (and (markerp wc-point) (marker-buffer wc-point))
(goto-char wc-point)))
(message "No more tab forward history"))))
next prev parent reply other threads:[~2022-10-28 7:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-23 3:36 bug#58728: 29.0.50; Minibuffer does not follow tabs Visuwesh
2022-10-24 18:54 ` Sean Whitton
2022-10-25 19:17 ` Juri Linkov
2022-10-25 19:14 ` Juri Linkov
2022-10-26 1:38 ` Visuwesh
2022-10-27 7:52 ` Juri Linkov
2022-10-27 14:22 ` Visuwesh
2022-10-28 6:40 ` Juri Linkov
2022-10-28 7:20 ` Juri Linkov [this message]
2022-10-29 16:17 ` Visuwesh
2022-10-30 7:34 ` Juri Linkov
2022-10-30 13:50 ` Visuwesh
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=86wn8kz9tf.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=58728@debbugs.gnu.org \
--cc=visuweshm@gmail.com \
/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.