From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Apparent bug in `format-mode-line'. Date: Fri, 20 May 2005 17:57:16 -0400 Message-ID: References: <200505190204.j4J249h09417@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1116627502 7089 80.91.229.2 (20 May 2005 22:18:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 22:18:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 21 00:18:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZFoc-0006al-Rb for ged-emacs-devel@m.gmane.org; Sat, 21 May 2005 00:17:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZFrY-0007xo-7Q for ged-emacs-devel@m.gmane.org; Fri, 20 May 2005 18:21:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DZFjn-00058f-S5 for emacs-devel@gnu.org; Fri, 20 May 2005 18:13:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DZFjY-0004yt-3S for emacs-devel@gnu.org; Fri, 20 May 2005 18:12:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZFjW-0004ts-DM for emacs-devel@gnu.org; Fri, 20 May 2005 18:12:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DZFdz-00012I-I6 for emacs-devel@gnu.org; Fri, 20 May 2005 18:06:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DZFUa-0003xx-5O; Fri, 20 May 2005 17:57:16 -0400 Original-To: Luc Teirlinck In-reply-to: <200505190204.j4J249h09417@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 18 May 2005 21:04:09 -0500 (CDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37414 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37414 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);