Subject: Re: bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw

From: Eli Zaretskii <[email-masked]>
Date: Mon, 28 Nov 2022 20:34:14 +0200

> From: Juri Linkov <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Mon, 28 Nov 2022 19:29:38 +0200
> 
> Avoiding the 'right' part in align-to has such a drawback that while
> resizing the frame the position of the aligned element is not updated
> immediately.  It's updated only when display-time refreshes the time on
> the tab bar.  The position relative to the right edge has no such problem.
> So better to leave the 'right' part on GUI frames, and switch to counting
> from the left only on TTY frames where frames are resized less often:

That would require you to make sure this code always runs in the context of
the tab-bar (pseudo)window.  If that can be ensured, fine.