all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: jpalaciosdev@gmail.com
Cc: hugo@heagren.com, 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 21:09:47 +0300	[thread overview]
Message-ID: <83mszt5bx0.fsf@gnu.org> (raw)
In-Reply-To: <83r0p55ey7.fsf@gnu.org> (message from Eli Zaretskii on Tue, 18 Jul 2023 20:04:16 +0300)

> Cc: 64713@debbugs.gnu.org
> Date: Tue, 18 Jul 2023 20:04:16 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > 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?

Actually, I think I just fixed this.





  reply	other threads:[~2023-07-18 18:09 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
2023-07-18 18:09   ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83mszt5bx0.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.