unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juan Palacios <jpalaciosdev@gmail.com>,  Hugo Heagren <hugo@heagren.com>
Cc: 64713@debbugs.gnu.org
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	[thread overview]
Message-ID: <83r0p55ey7.fsf@gnu.org> (raw)
In-Reply-To: <CAEPLNsc0Wnv7fznv_fSium=y2tBf=d+Bm0_SC7QxWDDF_Gztag@mail.gmail.com> (message from Juan Palacios on Tue, 18 Jul 2023 18:15:27 +0200)

> From: Juan Palacios <jpalaciosdev@gmail.com>
> 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?





  reply	other threads:[~2023-07-18 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 16:15 bug#64713: 30.0.50; Modeline position not being updated while using mode-line-format-right-align Juan Palacios
2023-07-18 17:04 ` Eli Zaretskii [this message]
2023-07-18 18:09   ` Eli Zaretskii
2023-07-26 13:49     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r0p55ey7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64713@debbugs.gnu.org \
    --cc=hugo@heagren.com \
    --cc=jpalaciosdev@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).