From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: info invisible changes Date: 06 Nov 2002 18:51:15 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200211011623.gA1GNAL03601@rum.cs.yale.edu> <5xznsnvabl.fsf@kfs2.cua.dk> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036577480 17220 80.91.224.249 (6 Nov 2002 10:11:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 10:11:20 +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 189N9X-0004TC-00 for ; Wed, 06 Nov 2002 11:11:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189NHy-00061G-00 for ; Wed, 06 Nov 2002 11:19:58 +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 189N4j-0003Yj-00; Wed, 06 Nov 2002 05:06:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189Mqo-0004rO-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 04:51:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189Mqk-0004pW-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 04:51:52 -0500 Original-Received: from tyo201.gate.nec.co.jp ([210.143.35.51]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189Mqj-0004lo-00; Wed, 06 Nov 2002 04:51:49 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id gA69pJl11935; Wed, 6 Nov 2002 18:51:19 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id gA69pI815240; Wed, 6 Nov 2002 18:51:18 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id gA69pHd13434; Wed, 6 Nov 2002 18:51:17 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id gA69pGB06248; Wed, 6 Nov 2002 18:51:16 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id C90383701; Wed, 6 Nov 2002 18:51:15 +0900 (JST) Original-To: storm@cua.dk (Kim F. Storm) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <5xznsnvabl.fsf@kfs2.cua.dk> Original-Lines: 53 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:9174 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9174 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. 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. 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. Filling the test in the non-dir case is maybe more difficult, but luckily that also seems to be less of a problem. 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 --- Thanks, -Miles -- [|nurgle|] ddt- demonic? so quake will have an evil kinda setting? one that will make every christian in the world foamm at the mouth? [iddt] nurg, that's the goal