From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#5809: 23.1.94; cross-reference by anchor yields in accurate position Date: Mon, 5 Apr 2010 10:12:44 -0700 Message-ID: <0E46F93610574883ACE7EDAA6B791B84@us.oracle.com> 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> <83sk7ewcvz.fsf@gnu.org><422BAD8C75BE4F5BAE608BD47A355EFF@us.oracle.com><83d3yhx6jr.fsf@gnu.org><83C1972058E043DB8B80FEFB5A317A98@us.oracle.com><83eiivymf6.fsf@gnu.org><4173056BC32F4835955C1B5A781D37EE@us.oracle.com> <871veum52b.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270489840 11999 80.91.229.12 (5 Apr 2010 17:50:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Apr 2010 17:50:40 +0000 (UTC) Cc: 5809@debbugs.gnu.org To: "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 05 19:50:39 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 1NyqRa-0004s1-8r for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 19:50:38 +0200 Original-Received: from localhost ([127.0.0.1]:42177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyqRZ-0007Rl-FD for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 13:50:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nyq3w-0008OU-Kj for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 13:26:12 -0400 Original-Received: from [140.186.70.92] (port=43020 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nyq3q-0008LN-UE for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 13:26:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nyq3n-0008Tr-Rn for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 13:26:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyq3n-0008Tf-Pm for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 13:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nypt8-0001D8-5h; Mon, 05 Apr 2010 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" 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 17:15:02 +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.12704876494608 (code B ref 5809); Mon, 05 Apr 2010 17:15:02 +0000 Original-Received: (at 5809) by debbugs.gnu.org; 5 Apr 2010 17:14:09 +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 1NypsG-0001CG-Iw for submit@debbugs.gnu.org; Mon, 05 Apr 2010 13:14:09 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NypsF-0001C1-0b for 5809@debbugs.gnu.org; Mon, 05 Apr 2010 13:14:07 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o35HE0In002665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Apr 2010 17:14:01 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o35H7TxA025489; Mon, 5 Apr 2010 17:13:58 GMT Original-Received: from abhmt005.oracle.com by acsmt355.oracle.com with ESMTP id 147516381270487569; Mon, 05 Apr 2010 10:12:49 -0700 Original-Received: from dradamslap1 (/141.144.72.40) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 05 Apr 2010 10:12:49 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <871veum52b.fsf@mail.jurta.org> Thread-Index: AcrU4SSVE9SaH8teRgq53k+IpYAEiAAACccQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4BBA1A57.01D0:SCFMA4539814,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Apr 2010 13:15:02 -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:35952 Archived-At: > No need to blindly trying to click all links. You can open the file > `info/elisp' and count all strings that start with "Ref:" > (they are anchors that put the cursor to a mid-node position). > > There are 66 lines with "Ref:" (that fail to go directly to the > appropriate place) and 839 lines with "Node:" (that succeed since > they put the cursor to the beginning of the node). > > The ratio of 66 to 839 is 8%. So you guess of 10% is closer to the > actual percentage. Thanks. I wasn't aware of that. Now we know. Neither "all the time" nor "very rare". At least in terms of _numbers_ of links (see #2 below). 1. But what do you mean here by "fail to go directly to the appropriate place"? As I pointed out, failing to go to the precise location is not a problem in the vast majority of cases, since the link still takes you to the appropriate paragraph or correct 1-3 line description. Does your measure take that into account? IOW, even if 10% of the links do not behave precisely, but 99.9% of those fail-to-go-directly links still get you to the correct paragraph (or correct 1-2 line function/var description), then the 10% number is far too high as a measure of the real problem. 2. I'm still assuming, based on experience, that it is mainly the index links that target mid-node locations. So a secondary question would be how often the different kinds of links are followed in practice - e.g. index vs other links. If there is a significant difference (either way), that could be important. This is a user-practice question, which cannot be answered by counting links. I myself use the index a lot, at least via `i'. I think it's important that index links actually take you where they should. But if users generally use index links less than text-body links, then that reduces the practical problem still further.