all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Apparent bug in `format-mode-line'.
Date: Fri, 20 May 2005 17:57:16 -0400	[thread overview]
Message-ID: <E1DZFUa-0003xx-5O@fencepost.gnu.org> (raw)
In-Reply-To: <200505190204.j4J249h09417@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 18 May 2005 21:04:09 -0500 (CDT))

Does this fix it?

*** xdisp.c	17 May 2005 17:21:44 -0400	1.1009
--- xdisp.c	20 May 2005 16:37:42 -0400	
***************
*** 16033,16039 ****
  		   && --limit > 0
  		   && (precision <= 0 || n < precision))
  	      {
! 		n += display_mode_element (it, depth, field_width - n,
  					   precision - n, XCAR (elt),
  					   props, risky);
  		elt = XCDR (elt);
--- 16033,16044 ----
  		   && --limit > 0
  		   && (precision <= 0 || n < precision))
  	      {
! 		n += display_mode_element (it, depth,
! 					   /* Do padding only after the last
! 					      elements in the list.  */
! 					   (! CONSP (XCDR (elt))
! 					    ? field_width - n
! 					    : 0),
  					   precision - n, XCAR (elt),
  					   props, risky);
  		elt = XCDR (elt);

  reply	other threads:[~2005-05-20 21:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  2:04 Apparent bug in `format-mode-line' Luc Teirlinck
2005-05-20 21:57 ` Richard Stallman [this message]
2005-05-21  0:24   ` Luc Teirlinck

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=E1DZFUa-0003xx-5O@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.