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#5809: 23.1.94; cross-reference by anchor yields in accurate position Date: Tue, 06 Apr 2010 01:17:45 +0300 Organization: JURTA Message-ID: <87fx397ddn.fsf@mail.jurta.org> References: <837hoszubi.fsf@gnu.org> <87hbnwy2un.fsf@mail.jurta.org> <83y6h8xz8a.fsf@gnu.org> <8739zf5bif.fsf@mail.jurta.org> <83y6h7vy6p.fsf@gnu.org> <87y6h7uitd.fsf@mail.jurta.org> <83wrwqx6r2.fsf@gnu.org> <83vdcax5hu.fsf@gnu.org> <87d3yi85sv.fsf@mail.jurta.org> <87eiix5u1a.fsf@mail.jurta.org> <878w94dxf2.fsf@mail.jurta.org> <87eiiuwz6g.fsf@mail.jurta.org> <87bpdxdes3.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270506397 6809 80.91.229.12 (5 Apr 2010 22:26:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Apr 2010 22:26:37 +0000 (UTC) Cc: 5809@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 00:26:35 2010 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.69) (envelope-from ) id 1Nyukc-00029b-Mb for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 00:26:35 +0200 Original-Received: from localhost ([127.0.0.1]:58774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nyukc-0008Kv-4n for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 18:26:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyukB-0008Cd-3J for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 18:26:07 -0400 Original-Received: from [140.186.70.92] (port=56998 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nyuk9-0008Bw-0E for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 18:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nyuk6-0005F7-2m for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 18:26:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39634) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyuk5-0005F1-MV for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 18:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NyueJ-000318-Ac; Mon, 05 Apr 2010 18:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Apr 2010 22:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5809-submit@debbugs.gnu.org id=B5809.127050596711589 (code B ref 5809); Mon, 05 Apr 2010 22:20:03 +0000 Original-Received: (at 5809) by debbugs.gnu.org; 5 Apr 2010 22:19:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyudi-00030s-Rz for submit@debbugs.gnu.org; Mon, 05 Apr 2010 18:19:27 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyudg-00030n-RP for 5809@debbugs.gnu.org; Mon, 05 Apr 2010 18:19:26 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.96.80.cable.starman.ee [82.131.96.80]) by mx1.starman.ee (Postfix) with ESMTP id 96D9B3F40B1; Tue, 6 Apr 2010 01:19:14 +0300 (EEST) In-Reply-To: (Stefan Monnier's message of "Mon, 05 Apr 2010 16:09:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Apr 2010 18:20:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:35961 Archived-At: > Or to reverse your argument: if it looks like a header-line, people will > report bugs about the fact that it doesn't stay at the top of the > display ;-) Yeah, breadcrumbs now are not normal links and not a header-line. But it's OK because when up/next/prev links are not in the header line (when `Info-use-header-line' is nil) then TAB (`Info-next-reference') doesn't go through up/next/prev links. In this regard, they are like breadcrumbs in an overlay. There is one difference: it's possible to type RET on up/next/prev in this case, but I think no one navigates this way with the keyboard because it's too slow to move point to a navigation link to type RET on it. >> The overlay doesn't correctly interact with the `invisible' >> text property. > > Interesting. That deserves a comment. Actually, nothing interesting because I meant that with the `invisible' text property any overlay inside it becomes invisible, and there is no other free place to put overlay on. >> However, we can put 'invisible on the overlay instead of the text property: >> (let ((ov (make-overlay (point-min) (1+ header-end)))) >> (overlay-put ov 'invisible t) >> (overlay-put ov 'after-string (Info-breadcrumbs)) >> (overlay-put ov 'evaporate t)) > > Yes, that's better, thank you. Installed to the emacs-23 branch (with code for grey background commented out). -- Juri Linkov http://www.jurta.org/emacs/