From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Date: Mon, 15 Sep 2008 14:11:38 +0200 Message-ID: <48CE50FA.4030501@gmx.at> References: <48CE1DF9.6020904@gmx.at> <87hc8h221x.fsf@escher.local.home> Reply-To: martin rudalics , 886@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221481684 16229 80.91.229.12 (15 Sep 2008 12:28:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 12:28:04 +0000 (UTC) Cc: 886@emacsbugs.donarmstrong.com To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 14:29:00 2008 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 1KfDCL-00040h-FQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 14:28:57 +0200 Original-Received: from localhost ([127.0.0.1]:39185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfDBK-00039O-HM for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 08:27:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfDB5-00030l-Pw for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 08:27:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfDB3-0002xt-4y for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 08:27:39 -0400 Original-Received: from [199.232.76.173] (port=34235 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfDB2-0002xj-Vx for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 08:27:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53810) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KfDB2-00077q-LQ for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 08:27:36 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8FCRYiV011862; Mon, 15 Sep 2008 05:27:34 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8FCK3nF008763; Mon, 15 Sep 2008 05:20:03 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Sep 2008 12:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 886 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 886-submit@emacsbugs.donarmstrong.com id=B886.12214808696952 (code B ref 886); Mon, 15 Sep 2008 12:20:03 +0000 Original-Received: (at 886) by emacsbugs.donarmstrong.com; 15 Sep 2008 12:14:29 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8FCEK2n006945 for <886@emacsbugs.donarmstrong.com>; Mon, 15 Sep 2008 05:14:22 -0700 Original-Received: (qmail invoked by alias); 15 Sep 2008 12:14:13 -0000 Original-Received: from 62-47-38-57.adsl.highway.telekom.at (EHLO [62.47.38.57]) [62.47.38.57] by mail.gmx.net (mp025) with SMTP; 15 Sep 2008 14:14:13 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+OZi8vOEKO+qQjUgYKALczzvzljf+nq2jFhP29/R bW1Gttoboc1SzF User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87hc8h221x.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 15 Sep 2008 08:27:39 -0400 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:20552 Archived-At: > Does the following patch fix it? > > *** emacs/lisp/info.el.~1.544.~ 2008-09-11 11:49:36.000000000 +0200 > --- emacs/lisp/info.el 2008-09-15 11:22:53.000000000 +0200 > *************** > *** 3123,3129 **** > (Info-goto-node > (Info-extract-menu-item (match-string-no-properties 1)) fork) > t))) > ! (error "Point neither on reference nor in menu item description"))) > > ;; Common subroutine. > (defun Info-try-follow-nearest-node (&optional fork) > --- 3123,3130 ---- > (Info-goto-node > (Info-extract-menu-item (match-string-no-properties 1)) fork) > t))) > ! (unless (eq this-command 'Info-mouse-follow-nearest-node) > ! (error "Point neither on reference nor in menu item description")))) > > ;; Common subroutine. > (defun Info-try-follow-nearest-node (&optional fork) Yes - the following seems simpler: ! (eq this-command 'Info-mouse-follow-nearest-node) ! (error "Point neither on reference nor in menu item description"))) I'm not sure though whether we should raise an error for mouse-2 clicks. But I also fail to understand why we should raise an error at all. martin