From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juan Palacios 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 18:15:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29306"; mail-complaints-to="usenet@ciao.gmane.io" To: 64713@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 18:19:38 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 1qLnQI-0007Qt-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 18:19:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLnPk-0004Mh-Jo; Tue, 18 Jul 2023 12:19:04 -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 1qLnPj-0004MQ-Fp for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 12:19: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 1qLnPj-00076n-7z for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 12:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLnPj-0000w8-2x for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 12:19:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juan Palacios Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2023 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64713 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16896970953530 (code B ref -1); Tue, 18 Jul 2023 16:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jul 2023 16:18:15 +0000 Original-Received: from localhost ([127.0.0.1]:54056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLnOw-0000um-Rv for submit@debbugs.gnu.org; Tue, 18 Jul 2023 12:18:15 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:47926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLnMa-0000qe-OB for submit@debbugs.gnu.org; Tue, 18 Jul 2023 12:15:50 -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 1qLnMV-0003iu-88 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 12:15:43 -0400 Original-Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLnMS-0006M2-36 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 12:15:43 -0400 Original-Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-cea6b429d05so895683276.1 for ; Tue, 18 Jul 2023 09:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689696934; x=1692288934; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=m+we3sW85CBm0OFgQY2gFdV8mhAcqI6ysoIgDFcR1/I=; b=ITeS0U/17+RoH3Z3t1fZR96REJZNWDpsU0SZLaZ6xbopcbRdhpRLwJWKzjKPHQ3q2D 4JEhnmXlSuwh/VTtXiHu2UDKDdXPNrkHJ2YRLSIi6UptPVvo5bieMWum/VvNS+T1PGAh 2RBl4zNTK6nWAOYJCoSXarR6ar07wqCY6fVJ2pzjIp4ZHCefHywwhjhaw92axCN2W6+b lhr5HjlkCxwTA59kDPr+9JUf0qi5c+3OUFZ+9yy/giFWrGKvjHzE7Qu2XYwXTST1nJ1V 5E6W+n6QO185ZcAWeOgWld6Q6hZAeWElD/OseZ7xNr+0m0SoC6ijm5DgVhTc1HiLGTBx AWDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689696934; x=1692288934; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=m+we3sW85CBm0OFgQY2gFdV8mhAcqI6ysoIgDFcR1/I=; b=ScayyJMAxmyfOnnw3M1FpssfS8soI+hvDeoZwkcXudQ6n9eEQOS2PYwBkddQ7Rsko1 Zz6Pshza2Gpb0yvpIIzJCX3TB31axKE7ckcMbNuWqdtJIqOHAWg/yFF+ZiKnfTKZJmdP G5vTNbTuLOuLeFIcTWDD6kFYSXYpWiKjuHc+xNkfc/CeqRlqXAAmv/zyjsT7NnQDVN6u +7IiEei+2hiowK4Rkn1oIGw9BRqQsF3hG6ibKetHFqWmbMaok8TaNYHHAfGFM4md3m5G UZrgh0llJ71A7YJuH5XLCI1o/cnanfLzsSSA3pwmxfz3B9bURWHiUgBKointblgisWhO 6E9A== X-Gm-Message-State: ABy/qLYf/HUvZ6hj705JReXdp92QdNiO/3bWORbWbLF8nodFdPDb+F7P mhwGfZTTWe0DzkvkdH/2pwiDjQrBp+f9Ddkuvq6wqAoP6Q== X-Google-Smtp-Source: APBJJlG5g/kRifmLSV7qz8l8nALp9lmHe85ppSKu6w5rsrVd326UorCcDKmP8nnhyBDuEOCXsg7l3dH+ljbHhDKAMD8= X-Received: by 2002:a25:d1ca:0:b0:ccd:8a80:e79d with SMTP id i193-20020a25d1ca000000b00ccd8a80e79dmr334503ybg.23.1689696934533; Tue, 18 Jul 2023 09:15:34 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::b29; envelope-from=jpalaciosdev@gmail.com; helo=mail-yb1-xb29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 18 Jul 2023 12:18:12 -0400 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:265473 Archived-At: 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. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-15 built on lilac-0 Repository revision: c5fa58cbc4a33a0a65494b9ab2e35d4f30ab849b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation=yes --with-native-compilation=aot --with-sound=no --with-xwidgets --with-tree-sitter --without-gpm '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/emacs-native-comp-git/src=/usr/src/debug/emacs-native-comp-git -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: es_ES.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr compile comint ansi-osc ansi-color ring comp comp-cstr warnings icons rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 88483 19852) (symbols 48 7834 0) (strings 32 21667 1211) (string-bytes 1 676973) (vectors 16 16914) (vector-slots 8 344602 18303) (floats 8 27 63) (intervals 56 268 0) (buffers 984 11))