From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: Wed, 03 Dec 2003 08:43:16 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87he0il7uj.fsf@mail.jurta.org> References: <87smk4zuvv.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070434200 16708 80.91.224.253 (3 Dec 2003 06:50:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2003 06:50:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Dec 03 07:49:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARQph-0000O3-00 for ; Wed, 03 Dec 2003 07:49:57 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARQpg-0003d7-00 for ; Wed, 03 Dec 2003 07:49:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ARRkX-0008UM-Ae for emacs-devel@quimby.gnus.org; Wed, 03 Dec 2003 02:48:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ARRkQ-0008T8-6S for emacs-devel@gnu.org; Wed, 03 Dec 2003 02:48:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ARRjt-0008NE-6X for emacs-devel@gnu.org; Wed, 03 Dec 2003 02:48:32 -0500 Original-Received: from [64.246.52.22] (helo=ns5.tangramltd.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ARRjs-0008Mw-Fg for emacs-devel@gnu.org; Wed, 03 Dec 2003 02:48:00 -0500 Original-Received: from 80-235-33-11-dsl.mus.estpak.ee ([80.235.33.11] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1ARQmL-0007RQ-9p; Wed, 03 Dec 2003 08:46:29 +0200 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "03 Dec 2003 01:33:26 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns5.tangramltd.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18309 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18309 storm@cua.dk (Kim F. Storm) writes: > Juri Linkov writes: >> - don't insert the text "See" instead of "Note" because inserting a >> new text in Info buffer breaks the stored point positions. This bug >> can be observed by calling `Info-last', `Info-search' where point is >> moved with some offset to its correct position (the offset is the sum >> of lengths of strings "See" inserted in the buffer above the point). > > I don't see how this is "fixing a bug"... > Isn't there a way to generate the correct positions some other way? > Or you could add a suitable number of invisible space after each "see". Fixing all the problems caused by inserting new text into Info buffers will require too much work. Moreover, this will vastly complicate a simple thing while I see no sense in replacing text "Note" with "See" at all. People that want to see some leading word before references will be happy by setting the variable `Info-hide-note-references' to nil. If you still think this is needed then adding "See" could be placed under condition `Info-refill-paragraphs' because of their similar fragile behavior or under some new separate value of the `Info-hide-note-references'. -- http://www.jurta.org/emacs/