From unknown Tue Jun 17 21:55:44 2025 X-Loop: don@donarmstrong.com Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: Stephen Berman , 886@debbugs.gnu.org Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Sep 2008 14:40:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 886 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122053870616606 (code B ref -1); Thu, 04 Sep 2008 14:40:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2008 14:31:46 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m84EVg1N016600 for ; Thu, 4 Sep 2008 07:31:43 -0700 Received: from mail.gnu.org ([199.232.76.166]:47408 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KbFqU-0004H5-1p for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 10:30:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KbFrz-0005PG-AE for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 10:31:40 -0400 Received: from mail.gmx.net ([213.165.64.20]:47153) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KbFry-0005Oc-Qd for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 10:31:35 -0400 Received: (qmail invoked by alias); 04 Sep 2008 14:31:31 -0000 Received: from i5387DE6C.versanet.de (EHLO escher.local.home) [83.135.222.108] by mail.gmx.net (mp022) with SMTP; 04 Sep 2008 16:31:31 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+deeAgPvCdWVyOSu33561y26rUSxxlK3ReQ4lXmF Y+rHeoP6EnmzVu Received: by escher.local.home (Postfix, from userid 1000) id 209411D0F56; Thu, 4 Sep 2008 16:31:05 +0200 (CEST) From: Stephen Berman To: emacs-pretest-bug@gnu.org Sender: steve@escher.local.home Date: Thu, 04 Sep 2008 16:31:06 +0200 Message-ID: <87ej400yqd.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 1. emacs -Q 2. C-h i m gnus RET 3. Click with mouse-1 (or mouse-2) on any of the links under "Other related manuals", i.e. Message, Emacs-MIME, Sieve, PGG, SASL: nothing happens. Typing 'RET' on any of these links, in contrast, DTRT, i.e. goes to the respective node. Clicking mouse-1 on any of the other links also DTRT. The following patch fixes the problem for me: *** emacs/lisp/info.el.~1.542.~ 2008-09-04 16:16:19.000000000 +0200 --- emacs/lisp/info.el 2008-09-04 16:22:24.000000000 +0200 *************** *** 3099,3105 **** At end of the node's text, moves to the next node, or up if none." (interactive "e") (mouse-set-point click) ! (and (not (Info-try-follow-nearest-node)) (save-excursion (forward-line 1) (eobp)) (Info-next-preorder))) --- 3099,3105 ---- At end of the node's text, moves to the next node, or up if none." (interactive "e") (mouse-set-point click) ! (and (not (Info-follow-nearest-node)) (save-excursion (forward-line 1) (eobp)) (Info-next-preorder))) In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-08-29 on escher Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t From unknown Tue Jun 17 21:55:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Stephen Berman Subject: bug#886 closed by Glenn Morris (Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails) Message-ID: References: <87ej400yqd.fsf@escher.local.home> X-Emacs-PR-Message: they-closed 886 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 886@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1221014404-10281-1" This is a multi-part message in MIME format... ------------=_1221014404-10281-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #886: 23.0.60; Info-mouse-follow-nearest-node fails It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 886: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D886 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1221014404-10281-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From rgm@gnu.org Tue Sep 9 19:32:44 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 886-done) by emacsbugs.donarmstrong.com; 10 Sep 2008 02:32:44 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A2WfU1008295 for <886-done@emacsbugs.donarmstrong.com>; Tue, 9 Sep 2008 19:32:43 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdFTq-0004lh-J6; Tue, 09 Sep 2008 22:30:54 -0400 From: Glenn Morris To: Stephen Berman Cc: 886-done@debbugs.gnu.org Subject: Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails References: <87ej400yqd.fsf@escher.local.home> X-Spook: ANZUS George W. Bush AIMSX Kennedy SAPO Guantanamo X-Ran: *yQ0HzRv2)lbW`V*eEd2.qaN<:9r">/~?)2$B!iM#cq X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 09 Sep 2008 22:30:54 -0400 In-Reply-To: <87ej400yqd.fsf@escher.local.home> (Stephen Berman's message of "Thu, 04 Sep 2008 16:31:06 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Many thanks; applied. 2008-09-10 Stephen Berman * info.el (Info-mouse-follow-nearest-node): Follow links to different manuals. (Bug#886) ------------=_1221014404-10281-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From stephen.berman@gmx.net Thu Sep 4 07:31:46 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2008 14:31:46 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m84EVg1N016600 for ; Thu, 4 Sep 2008 07:31:43 -0700 Received: from mail.gnu.org ([199.232.76.166]:47408 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KbFqU-0004H5-1p for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 10:30:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KbFrz-0005PG-AE for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 10:31:40 -0400 Received: from mail.gmx.net ([213.165.64.20]:47153) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KbFry-0005Oc-Qd for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 10:31:35 -0400 Received: (qmail invoked by alias); 04 Sep 2008 14:31:31 -0000 Received: from i5387DE6C.versanet.de (EHLO escher.local.home) [83.135.222.108] by mail.gmx.net (mp022) with SMTP; 04 Sep 2008 16:31:31 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+deeAgPvCdWVyOSu33561y26rUSxxlK3ReQ4lXmF Y+rHeoP6EnmzVu Received: by escher.local.home (Postfix, from userid 1000) id 209411D0F56; Thu, 4 Sep 2008 16:31:05 +0200 (CEST) From: Stephen Berman To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Info-mouse-follow-nearest-node fails Sender: steve@escher.local.home Date: Thu, 04 Sep 2008 16:31:06 +0200 Message-ID: <87ej400yqd.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 1. emacs -Q 2. C-h i m gnus RET 3. Click with mouse-1 (or mouse-2) on any of the links under "Other related manuals", i.e. Message, Emacs-MIME, Sieve, PGG, SASL: nothing happens. Typing 'RET' on any of these links, in contrast, DTRT, i.e. goes to the respective node. Clicking mouse-1 on any of the other links also DTRT. The following patch fixes the problem for me: *** emacs/lisp/info.el.~1.542.~ 2008-09-04 16:16:19.000000000 +0200 --- emacs/lisp/info.el 2008-09-04 16:22:24.000000000 +0200 *************** *** 3099,3105 **** At end of the node's text, moves to the next node, or up if none." (interactive "e") (mouse-set-point click) ! (and (not (Info-try-follow-nearest-node)) (save-excursion (forward-line 1) (eobp)) (Info-next-preorder))) --- 3099,3105 ---- At end of the node's text, moves to the next node, or up if none." (interactive "e") (mouse-set-point click) ! (and (not (Info-follow-nearest-node)) (save-excursion (forward-line 1) (eobp)) (Info-next-preorder))) In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-08-29 on escher Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t ------------=_1221014404-10281-1-- From unknown Tue Jun 17 21:55:44 2025 X-Loop: don@donarmstrong.com Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: martin rudalics , 886@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Sep 2008 08:45: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 Received: via spool by 886-submit@emacsbugs.donarmstrong.com id=B886.122146786926295 (code B ref 886); Mon, 15 Sep 2008 08:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 886) by emacsbugs.donarmstrong.com; 15 Sep 2008 08:37:49 +0000 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 m8F8bja5026171 for <886@emacsbugs.donarmstrong.com>; Mon, 15 Sep 2008 01:37:46 -0700 Received: (qmail invoked by alias); 15 Sep 2008 08:37:38 -0000 Received: from 62-47-34-46.adsl.highway.telekom.at (EHLO [62.47.34.46]) [62.47.34.46] by mail.gmx.net (mp031) with SMTP; 15 Sep 2008 10:37:38 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/sVz9ZWSrsixArljo2oA2YCTkLe21/dmpKviXuzd Jl83NYEzG02GRX Message-ID: <48CE1DF9.6020904@gmx.at> Date: Mon, 15 Sep 2008 10:34:01 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 886@debbugs.gnu.org CC: Glenn Morris , Stephen Berman Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 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 From unknown Tue Jun 17 21:55:44 2025 X-Loop: don@donarmstrong.com Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: Stephen Berman , 886@debbugs.gnu.org Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@lists.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 Received: via spool by 886-submit@emacsbugs.donarmstrong.com id=B886.122147076511815 (code B ref 886); Mon, 15 Sep 2008 09:35:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 886) by emacsbugs.donarmstrong.com; 15 Sep 2008 09:26:05 +0000 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 Received: (qmail invoked by alias); 15 Sep 2008 09:25:47 -0000 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 Received: by escher.local.home (Postfix, from userid 1000) id AB0A91D0F10; Mon, 15 Sep 2008 11:25:46 +0200 (CEST) From: Stephen Berman To: martin rudalics Cc: 886@debbugs.gnu.org References: <48CE1DF9.6020904@gmx.at> Sender: steve@escher.local.home Date: Mon, 15 Sep 2008 11:25:46 +0200 In-Reply-To: <48CE1DF9.6020904@gmx.at> (martin rudalics's message of "Mon, 15 Sep 2008 10:34:01 +0200") Message-ID: <87hc8h221x.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 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 From unknown Tue Jun 17 21:55:44 2025 X-Loop: don@donarmstrong.com Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: martin rudalics , 886@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.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 Received: via spool by 886-submit@emacsbugs.donarmstrong.com id=B886.12214808696952 (code B ref 886); Mon, 15 Sep 2008 12:20:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 886) by emacsbugs.donarmstrong.com; 15 Sep 2008 12:14:29 +0000 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 Received: (qmail invoked by alias); 15 Sep 2008 12:14:13 -0000 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 Message-ID: <48CE50FA.4030501@gmx.at> Date: Mon, 15 Sep 2008 14:11:38 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stephen Berman CC: 886@debbugs.gnu.org References: <48CE1DF9.6020904@gmx.at> <87hc8h221x.fsf@escher.local.home> In-Reply-To: <87hc8h221x.fsf@escher.local.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 > 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 From unknown Tue Jun 17 21:55:44 2025 X-Loop: don@donarmstrong.com Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: Stephen Berman , 886@debbugs.gnu.org Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Sep 2008 13:55:04 +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 Received: via spool by 886-submit@emacsbugs.donarmstrong.com id=B886.12214865178055 (code B ref 886); Mon, 15 Sep 2008 13:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 886) by emacsbugs.donarmstrong.com; 15 Sep 2008 13:48:37 +0000 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 m8FDmWLX008049 for <886@emacsbugs.donarmstrong.com>; Mon, 15 Sep 2008 06:48:34 -0700 Received: (qmail invoked by alias); 15 Sep 2008 13:48:26 -0000 Received: from i5387D3F5.versanet.de (EHLO escher.local.home) [83.135.211.245] by mail.gmx.net (mp059) with SMTP; 15 Sep 2008 15:48:26 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18W00EvEUsWU008sRRNdlHfwd0qarmWW07I94YDKx kjeHwiFkobLrhp Received: by escher.local.home (Postfix, from userid 1000) id C43F01D10AD; Mon, 15 Sep 2008 15:48:24 +0200 (CEST) From: Stephen Berman To: martin rudalics Cc: 886@debbugs.gnu.org References: <48CE1DF9.6020904@gmx.at> <87hc8h221x.fsf@escher.local.home> <48CE50FA.4030501@gmx.at> Sender: steve@escher.local.home Date: Mon, 15 Sep 2008 15:48:24 +0200 In-Reply-To: <48CE50FA.4030501@gmx.at> (martin rudalics's message of "Mon, 15 Sep 2008 14:11:38 +0200") Message-ID: <87abe91pw7.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 On Mon, 15 Sep 2008 14:11:38 +0200 martin rudalics wrote: >> 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"))) Oops, yes of course. > 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. I agree an error here is unnecessary and it would be better to remove it. I doubt any existing code depends on it. Steve Berman From unknown Tue Jun 17 21:55:44 2025 X-Loop: don@donarmstrong.com Subject: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: martin rudalics , 886@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Sep 2008 07:05:06 +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 Received: via spool by 886-submit@emacsbugs.donarmstrong.com id=B886.122163463022909 (code B ref 886); Wed, 17 Sep 2008 07:05:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, REMOVEDOT autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 886) by emacsbugs.donarmstrong.com; 17 Sep 2008 06:57:10 +0000 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 m8H6v685022902 for <886@emacsbugs.donarmstrong.com>; Tue, 16 Sep 2008 23:57:07 -0700 Received: (qmail invoked by alias); 17 Sep 2008 06:56:59 -0000 Received: from 62-47-33-206.adsl.highway.telekom.at (EHLO [62.47.33.206]) [62.47.33.206] by mail.gmx.net (mp051) with SMTP; 17 Sep 2008 08:56:59 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19evowVltde/iA9ehWjv7Si+VnIYTsWXKKw2y211s hEn0S3YDUVeRAO Message-ID: <48D0A99D.9050205@gmx.at> Date: Wed, 17 Sep 2008 08:54:21 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stephen Berman CC: 886@debbugs.gnu.org References: <48CE1DF9.6020904@gmx.at> <87hc8h221x.fsf@escher.local.home> <48CE50FA.4030501@gmx.at> <87abe91pw7.fsf@escher.local.home> In-Reply-To: <87abe91pw7.fsf@escher.local.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.8100000000000001 > I agree an error here is unnecessary and it would be better to remove > it. I doubt any existing code depends on it. I checked in a fix which doesn't raise an error when mouse-1 is involved. Thanks, martin