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 00:57:50 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5xznsnvabl.fsf@kfs2.cua.dk> References: <200211011623.gA1GNAL03601@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036538132 4812 80.91.224.249 (5 Nov 2002 23:15:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 23:15:32 +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 189Cuu-0001F3-00 for ; Wed, 06 Nov 2002 00:15:28 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189D37-0008TB-00 for ; Wed, 06 Nov 2002 00:23:57 +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 189CmZ-0004TN-00; Tue, 05 Nov 2002 18:06:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189Ce1-000258-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 17:58:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189Cdw-00023T-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 17:57:59 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189Cdv-00021G-00; Tue, 05 Nov 2002 17:57:55 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id D3DB67C017; Tue, 5 Nov 2002 22:57:52 +0000 (GMT) Original-To: Miles Bader In-Reply-To: Original-Lines: 98 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:9151 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9151 Miles Bader writes: > It does look nicer (cleaner), but there are some problems: Thanks for reporting those problems; I have tried to fix some of them as described below. > > When I do `Memacs' from the top-level dir (with point at the beginning > of the buffer), I get the following error: I cannot reproduce this with the lastest CVS. I think Stefan fixed it. > > There are some other, more minor problems with this: > > (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. > > (2) Cursor movement is `wierd' around the invisible text region. For > instance, taking one of the menu lines from above: Indeed. However, I'm definitely not going to hack on the display engine to improve this [minor] issue. BTW, try turning on M-x line-number-mode and M-x column-number-mode and what what happens as you move through invisible text with embedded newlines :-( > > (3) In the gcc-2.95 info doc, there's a node (`(gcc-295)G++ and GCC') > that contains the following text: > > and C++: (gdb.info)C.). > and C++.info)C.). I've fixed that. > (4) The wrapping problem happens with *note tags too; often it's fairly > benign (a line that's unusually short because of invisible'd text), Yes, but as you'd see by turning on column-number-mode, there is no easy way to decide what column a given character is displayed at [of if there is, please enlighten me]. So it is really difficult to try to improve this "locally". As Stefan suggested we could refill the text, but then we start modifying the text in the info buffer - and I'm not sure what the implications of doing that are. Also, how do we know what part of the text is safe to refill. So for the moment, I don't see how we can easily get rid of those short lines. > but sometimes it gets a bit uglier; e.g. the original: > target's thread library if you want thread support. *Note > Cross-Compilers and Header Files: Cross Headers, for discussion > target's thread library if you want thread support. See Cross-Compilers and Header Files, for discussion I've fixed that (inserting a newline if the hidden text contains one), but unfortunately this means that you'll see more short lines in some places. > (5) Cursor movement around the `See' is wierd, but I guess that's > something you can do much about. No, I don't think so... > (6) Ah, I just saw another misformatted menu entry; the original: > > * gcc-3.2: (gcc-3.2). The GNU Compiler > * gcc-3.2 2). The GNU Compiler I've fixed that too. > Anyway, I basically like it, it's noticably easier to read than the old > style. Thanks! I think so too, but not everyone was pleased with the change, so I had to make it customizable... -- Kim F. Storm http://www.cua.dk