From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: info invisible changes Date: 06 Nov 2002 13:46:28 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5x7kfqoogr.fsf@kfs2.cua.dk> References: <200211011623.gA1GNAL03601@rum.cs.yale.edu> <5xznsnvabl.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036583997 14992 80.91.224.249 (6 Nov 2002 11:59:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 11:59:57 +0000 (UTC) Cc: "Stefan Monnier" , emacs-devel@gnu.org, emacs-pretest-bug@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189Oqf-0003tQ-00 for ; Wed, 06 Nov 2002 12:59:53 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189Oz8-0008RV-00 for ; Wed, 06 Nov 2002 13:08:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189OmD-0000xp-00; Wed, 06 Nov 2002 06:55:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189Odr-0007o7-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 06:46:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189Odl-0007m3-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 06:46:37 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189Odk-0007lI-00; Wed, 06 Nov 2002 06:46:32 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 9ED197C017; Wed, 6 Nov 2002 11:46:30 +0000 (GMT) Original-To: Miles Bader In-Reply-To: Original-Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9175 Miles Bader writes: > storm@cua.dk (Kim F. Storm) writes: > > > (1) The dir file (and presumably other info menus) I have was > > > formatted assuming that no text would be hidden, so in some cases, > > > the invisible text results in a very wierd looking display. > > > > > * CVS client/server Describes the > > > client/server protocol > > > used by CVS. > > > > I have added code to properly align (+2 spaces) the following description > > lines. Please try it out. > > Hmmm, well it looks _less_ bad: now the text is all in a properly- > indented, but absurdly narrow column. Weren't they in an absurdly narrow column already ? ;-) > > I agree with Stefan that the text should be refilled in the top-level > dir node -- it's special because it contains much more hidden text than > a normal node, and looks especially bad without refilling, and also it's > not connected with a file (it's generated), so it's safe to modify. Yes, I'll see what I can do to improve this. > > Morever, the format of the menu entries seems regular enough that > finding the bounds required to fill/reindent; something like > > (goto-char START-OF-MENU-ENTRY-TEXT) > (forward-sentence) > (while (looking-at ".*\n[ \t]+[^ \t]") > (forward-sentence)) > ;; point is now at END-OF-MENU-ENTRY-TEXT > > seems to work alright. > Maybe. If you send me some misc dir files which have particular problems, I can probably do a better job at getting this right. > > BTW, another wierd case I found is that sometimes footnotes are > followed by a newline and a then period (when obviously there should be > just a period). For instance, in `(emacs)Glossary', I see: > > --- begin quote --- > Aborting > Aborting means getting out of a recursive edit (q.v.). The > commands `C-]' and `M-x top-level' are used for this. See Quitting > . > --- end quote --- So I need to massage the *note regexp even further it seems... -- Kim F. Storm http://www.cua.dk