From: Eli Zaretskii <eliz@gnu.org>
To: Gabriel <gabriel376@hotmail.com>
Cc: 59620@debbugs.gnu.org
Subject: bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw
Date: Sun, 27 Nov 2022 08:19:57 +0200 [thread overview]
Message-ID: <83k03grkaa.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR06MB8609D38D094D74AE7FDDDA5F8B119@SJ0PR06MB8609.namprd06.prod.outlook.com> (message from Gabriel on Sat, 26 Nov 2022 18:46:08 -0300)
> From: Gabriel <gabriel376@hotmail.com>
> Date: Sat, 26 Nov 2022 18:46:08 -0300
>
> 1) emacs -Q -nw (master "af545234314601ba3dcd8bf32e0d9b46e1917f79")
>
> 2) Eval the following to add display-time-mode right-aligned to tab-bar:
>
> (progn
> (display-time-mode 1)
> (setopt tab-bar-format '(tab-bar-format-tabs-groups
> tab-bar-separator
> tab-bar-format-align-right
> tab-bar-format-global))
> (tab-bar-mode 1))
>
> 3) Split window right: C-x 3
>
> Result: the global-mode-string will be wrongly positioned. It expected
> to be right-aligned to the current frame, but it's right-aligned to the
> left window. The position is correct while minibuffer has focus. See
> attached images.
Looks like tab-bar-format-align-right is evaluated with the wrong window
being the selected one: it should use the tab-bar pseudo-window to do what
you expect.
next prev parent reply other threads:[~2022-11-27 6:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 21:46 bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw Gabriel
2022-11-27 6:19 ` Eli Zaretskii [this message]
2022-11-27 8:05 ` Gabriel
2022-11-28 7:54 ` Juri Linkov
2022-11-28 12:58 ` Eli Zaretskii
2022-11-28 17:29 ` Juri Linkov
2022-11-28 18:34 ` Eli Zaretskii
2022-12-02 7:59 ` Juri Linkov
2022-12-02 15:01 ` Eli Zaretskii
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=83k03grkaa.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59620@debbugs.gnu.org \
--cc=gabriel376@hotmail.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.