From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Date: Mon, 15 Sep 2008 11:25:46 +0200 Message-ID: <87hc8h221x.fsf@escher.local.home> References: <48CE1DF9.6020904@gmx.at> Reply-To: Stephen Berman , 886@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 1221472212 17439 80.91.229.12 (15 Sep 2008 09:50:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 09:50:12 +0000 (UTC) Cc: 886@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 11:50:59 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 1KfAjR-0005mX-Qj for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 11:50:58 +0200 Original-Received: from localhost ([127.0.0.1]:33638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfAiR-0003AP-0f for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 05:49:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfAgI-0002SY-3f for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 05:47:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfAgG-0002Rm-VN for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 05:47:41 -0400 Original-Received: from [199.232.76.173] (port=48754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfAgE-0002Re-KA for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 05:47:38 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47134) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KfAgD-0002ws-TA for bug-gnu-emacs@gnu.org; Mon, 15 Sep 2008 05:47:38 -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 m8F9lYAQ018918; Mon, 15 Sep 2008 02:47:34 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8F9Z3Ng014016; Mon, 15 Sep 2008 02:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Sep 2008 09:35: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.122147076511815 (code B ref 886); Mon, 15 Sep 2008 09:35:03 +0000 Original-Received: (at 886) by emacsbugs.donarmstrong.com; 15 Sep 2008 09:26:05 +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 m8F9Pr5s011693 for <886@emacsbugs.donarmstrong.com>; Mon, 15 Sep 2008 02:25:55 -0700 Original-Received: (qmail invoked by alias); 15 Sep 2008 09:25:47 -0000 Original-Received: from i5387D3F5.versanet.de (EHLO escher.local.home) [83.135.211.245] by mail.gmx.net (mp017) with SMTP; 15 Sep 2008 11:25:47 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/iVuNH9sDiloW/cKvaJd24ZdSsaWz+bEDk5EAIJT 1bHjXHz5Qr4xd4 Original-Received: by escher.local.home (Postfix, from userid 1000) id AB0A91D0F10; Mon, 15 Sep 2008 11:25:46 +0200 (CEST) In-Reply-To: <48CE1DF9.6020904@gmx.at> (martin rudalics's message of "Mon, 15 Sep 2008 10:34:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 15 Sep 2008 05:47:40 -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:20550 Archived-At: On Mon, 15 Sep 2008 10:34:01 +0200 martin rudalics wrote: > The fix seems to have the following side-effect: In my .emacs I bind > > (define-key Info-mode-map [mouse-1] 'Info-mouse-follow-nearest-node) > Now when I use mouse-1 to just "select" the Info-window I usually get > > Info-follow-nearest-node: Point neither on reference nor in menu item description > > which is annoying :-( > > martin 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) Steve Berman