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#64713: 30.0.50; Modeline position not being updated while using mode-line-format-right-align Date: Tue, 18 Jul 2023 20:04:16 +0300 Message-ID: <83r0p55ey7.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24100"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64713@debbugs.gnu.org To: Juan Palacios , Hugo Heagren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 19:05:17 2023 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 1qLo8T-00063e-0C for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 19:05:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLo8H-0005bl-AX; Tue, 18 Jul 2023 13:05:05 -0400 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 1qLo8F-0005bY-0L for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:05:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLo8E-0000u3-ND for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLo8E-0004j6-23 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 13:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2023 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64713 X-GNU-PR-Package: emacs Original-Received: via spool by 64713-submit@debbugs.gnu.org id=B64713.168969984118078 (code B ref 64713); Tue, 18 Jul 2023 17:05:02 +0000 Original-Received: (at 64713) by debbugs.gnu.org; 18 Jul 2023 17:04:01 +0000 Original-Received: from localhost ([127.0.0.1]:54113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLo7F-0004hP-Ar for submit@debbugs.gnu.org; Tue, 18 Jul 2023 13:04:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLo7C-0004hC-P9 for 64713@debbugs.gnu.org; Tue, 18 Jul 2023 13:03:59 -0400 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 1qLo75-0000kt-8r; Tue, 18 Jul 2023 13:03:51 -0400 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=wfd6NQcdG7Ts0G2f1L+hyawQBSUcCIeWw7pgny07cSg=; b=MbrrvuFlFJVY xdGmDnMxzi4iNeuc1UokQ1xVE/GbzUsyzrEypbVDChvs5atHcahj/nk0l1F5ya95ATRUrDdn+PFpi X+7YZkg4s6UuHtFW69h+anwdBwQTRMDuiICO2e4Pbf9F+5Abu8Pr4w9oqJ+P+kyKDB/Z51kOykqBv 0WH8jrGHfMJ25bB362MW/j7DNAqzJNmz8+wqRrK1ONlzWcVfqEkC+gNmxOOfri7ppzCGf1iWpUK6N 7kk38MGMcHucMcy2ksVwmHd/eu/ydqt3IN93hRP+hng2ouCXvZ01+dLJNSUgSHwb00x3fpwrCK5ZG DGm69aDcC9ZiDbYn1whRjQ==; 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 1qLo72-0007Sj-74; Tue, 18 Jul 2023 13:03:49 -0400 In-Reply-To: (message from Juan Palacios on Tue, 18 Jul 2023 18:15:27 +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:265479 Archived-At: > From: Juan Palacios > Date: Tue, 18 Jul 2023 18:15:27 +0200 > > mode-line-position does not get updated consistently when used in > combination with mode-line-format-right-align in mode-line-format. > > Evaluate the following code in the *scratch* buffer, then C-n and C-p > and observe how the line counter on the mode line is not updated most > of the time: > > (setq mode-line-format '("%e" mode-line-front-space > (:propertize > ("" mode-line-mule-info mode-line-client mode-line-modified > mode-line-remote) > display (min-width (5.0))) > mode-line-frame-identification mode-line-buffer-identification " " > mode-line-position > mode-line-format-right-align > (vc-mode vc-mode) " " mode-line-modes > mode-line-misc-info mode-line-end-spaces)) > > Notice that mode-line-format-right-align was added just after > mode-line-position. Hugo, can you please look into this?