From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#4147: 23.1.50: Info-search command strange behaviour Date: Tue, 08 Dec 2009 22:12:33 +0200 Organization: JURTA Message-ID: <87bpi9uszm.fsf@mail.jurta.org> References: <20090815034957.GA30902@shareable.org> <4A86898F.6060508@gmx.at> <877ht2ryys.fsf@mail.jurta.org> <87k4x1b7vd.fsf@mail.jurta.org> Reply-To: Juri Linkov , 4147@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260304176 25514 80.91.229.12 (8 Dec 2009 20:29:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2009 20:29:36 +0000 (UTC) To: 4147@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 08 21:29:29 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NI6gW-0005vI-Ct for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2009 21:29:24 +0100 Original-Received: from localhost ([127.0.0.1]:33698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI6gV-0002z3-VM for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2009 15:29:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NI6el-00013s-Az for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 15:27:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NI6eg-0000xt-82 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 15:27:34 -0500 Original-Received: from [199.232.76.173] (port=36456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI6ef-0000xZ-Lc for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 15:27:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34233) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NI6ef-000539-58 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 15:27:29 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB8KRQU4032070; Tue, 8 Dec 2009 12:27:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB8KP54l031764; Tue, 8 Dec 2009 12:25:05 -0800 Resent-Date: Tue, 8 Dec 2009 12:25:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 08 Dec 2009 20:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4147 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 4147-submit@emacsbugs.donarmstrong.com id=B4147.126030352431148 (code B ref 4147); Tue, 08 Dec 2009 20:25:05 +0000 Original-Received: (at 4147) by emacsbugs.donarmstrong.com; 8 Dec 2009 20:18:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB8KIfPs031141 for <4147@emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 12:18:44 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.33.167.cable.starman.ee [82.131.33.167]) by mx1.starman.ee (Postfix) with ESMTP id 122AD3F42BB for <4147@emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 22:18:35 +0200 (EET) In-Reply-To: <87k4x1b7vd.fsf@mail.jurta.org> (Juri Linkov's message of "Sat, 05 Dec 2009 21:50:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 08 Dec 2009 15:27:34 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33420 Archived-At: >>>> s blahblah RET >>>> => Says it can't find it, but moves point forward a few characters. >> >> The odd behavior when point moves forward by a few characters >> is caused by breadcrumbs inserted to the Info buffer (the distance >> point moves forward is the length of the breadcrumbs string). > > To fix this one idea is to remove the breadcrumbs line on leaving > from the node, so breadcrumbs in all nodes located above the current > node will not affect the point position. And in the case of getting > the current point position, subtract the length of breadcrumbs in > the current node. Another idea I've considered is using point positions relative to the beginning of the node. But to be able to fix this for Isearch in Info we have to change semantics of Isearch variables like `isearch-other-end', to use relative point positions. This is too much trouble too. The only sane way I see to fix this problem is: 1. not to insert breadcrumbs to the Info buffer; 2. display breadcrumbs in the header line; 3. not to hide next/prev/up navigation links in the first line of the node. `Info-use-header-line' could provide an additional value `breadcrumbs' that does this and set it by default. If this is acceptable, I can prepare a patch. -- Juri Linkov http://www.jurta.org/emacs/