From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Why does texinfo-make-menu append trailing whitespace? Date: Wed, 14 May 2003 08:02:35 +0000 Organization: muc.de e.V. -- private internet access Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052899988 6538 80.91.224.249 (14 May 2003 08:13:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 May 2003 08:13:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 14 10:13:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19FrN7-0001e2-00 for ; Wed, 14 May 2003 10:12:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19FrMN-0006dJ-03 for gnu-help-gnu-emacs@m.gmane.org; Wed, 14 May 2003 04:11:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!news-nue1.dfn.de!uni-erlangen.de!lmu.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1052899235 16310 193.149.49.134 (14 May 2003 08:00:35 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 14 May 2003 08:00:35 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:113219 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9715 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9715 Eli Zaretskii wrote on Wed, 14 May 2003 05:30:38 +0300: >> From: Alan Mackenzie >> Newsgroups: gnu.emacs.help >> Date: Mon, 12 May 2003 12:56:54 +0000 >> I'm updating a file.texi using Texinfo-mode. When I do C-c C-u to >> update a menu, the resulting menu has trailing spaces after each item. >> There wasn't any such trailing spaces beforehand. > Define ``beforehand''. Are you saying that a previous version of > Emacs (which one?) didn't insert those spaces? Sorry. I meant the menu didn't have the trailing spaces before I did C-c C-u . >> I don't like this. Is it a bug, or is there some reason for this >> trailing space? > It's a kind of a feature: Emacs assumes that you will wish to add > some text to each menu item, and inserts those spaces to align the > beginning of that text. Ah! Right! I understand now. Perhaps Texinfo mode should put the spaces in when it appends the text, rather than when it creates the menu item. > You can use delete-trailing-whitespace to remove easily it if you > don't want it. Indeed. That is what I will do. Many thanks, Eli. -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").