From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59620: 29.0.50; Wrong global-mode-string position in tab-bar + emacs -nw Date: Mon, 28 Nov 2022 20:34:14 +0200 Message-ID: <83tu2jlyhl.fsf@gnu.org> References: <83k03grkaa.fsf@gnu.org> <86h6yjmpm6.fsf@mail.linkov.net> <83r0xnnsl0.fsf@gnu.org> <868rjv9ed9.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31176"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gabriel376@hotmail.com, 59620@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 19:34:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ozixF-0007qG-44 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 19:34:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozixA-0006Qm-8X; Mon, 28 Nov 2022 13:34:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozix8-0006PL-EJ for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 13:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozix8-0008S6-4W for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 13:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozix7-0000zp-UM for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 13:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59620 X-GNU-PR-Package: emacs Original-Received: via spool by 59620-submit@debbugs.gnu.org id=B59620.16696604313819 (code B ref 59620); Mon, 28 Nov 2022 18:34:01 +0000 Original-Received: (at 59620) by debbugs.gnu.org; 28 Nov 2022 18:33:51 +0000 Original-Received: from localhost ([127.0.0.1]:50225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oziwx-0000zX-DN for submit@debbugs.gnu.org; Mon, 28 Nov 2022 13:33:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oziww-0000zP-0K for 59620@debbugs.gnu.org; Mon, 28 Nov 2022 13:33:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oziwq-0008Pj-AP; Mon, 28 Nov 2022 13:33:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9J4gS8BrYwmPatxdQgGaX8bNUz/om0asY/k2LHF/Fpk=; b=XwzQGKH1dibl FKm1wQl9QTeqczvOnVU4Z2T8RTiT9MW2JDR2a0k9d5i24d36CnTip6LR0uu94RvIJ0C5j0J0LFWcQ BxCXtMzLiV877hBqUuZtk43+RATpC3vI7wuNhlzvLufx0GzTAgP4iaHzwadKTD5IYhzlHXQ9JG5c1 bNg1S9BUVEK85HlISn6q4c6ihpI2d81Tvr5Vvouos3D9Gega649fYKU4XUuXRA9SM8zmt4B+1ASMO z/0Rwtk0fy5EmR8/XHW8tIm8bFd7wWs+zNHLJvzKCxf4qFqI91U+clJBRFeVMiU0BZl04sgvV6rM4 kjV4QKqufrwuHNmTxF+O5w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oziwp-0000WD-IP; Mon, 28 Nov 2022 13:33:43 -0500 In-Reply-To: <868rjv9ed9.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 28 Nov 2022 19:29:38 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249337 Archived-At: > From: Juri Linkov > Cc: gabriel376@hotmail.com, 59620@debbugs.gnu.org > 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.