From unknown Tue Jun 17 20:14:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#886 <886@debbugs.gnu.org> To: bug#886 <886@debbugs.gnu.org> Subject: Status: 23.0.60; Info-mouse-follow-nearest-node fails Reply-To: bug#886 <886@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:14:04 +0000 retitle 886 23.0.60; Info-mouse-follow-nearest-node fails reassign 886 emacs submitter 886 Stephen Berman severity 886 normal tag 886 patch thanks 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 From rgm@gnu.org Thu Sep 4 09:52:27 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=-7.8 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, MURPHY_DRUGS_REL8,NOSUBJECT,RCVD_IN_DNSWL_MED,UNRESOLVED_TEMPLATE, VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 4 Sep 2008 16:52:28 +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 m84GqPdq000819 for ; Thu, 4 Sep 2008 09:52:26 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KbI2e-0001lv-Us; Thu, 04 Sep 2008 12:50:44 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18624.4580.886982.305071@fencepost.gnu.org> Date: Thu, 4 Sep 2008 12:50:44 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: m^&1Y4=;QtC#c'iZ{8!?\\5_yBAwO2Fq%DQ_7(43du,)]%w"Z$9|]'0; 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) From rudalics@gmx.at Mon Sep 15 01:37:49 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.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 Subject: Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails 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 stephen.berman@gmx.net Mon Sep 15 02:26:05 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.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 Subject: Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails 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 rudalics@gmx.at Mon Sep 15 05:14:29 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.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 Subject: Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails 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 stephen.berman@gmx.net Mon Sep 15 06:48:37 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.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 Subject: Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails 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 rudalics@gmx.at Tue Sep 16 23:57:10 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=-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 Subject: Re: bug#886: 23.0.60; Info-mouse-follow-nearest-node fails 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 From unknown Tue Jun 17 20:14:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 15 Oct 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator