From unknown Fri Aug 15 14:15:11 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#11672 <11672@debbugs.gnu.org> To: bug#11672 <11672@debbugs.gnu.org> Subject: Status: 23.3; info menu-bar acts on wrong window Reply-To: bug#11672 <11672@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:15:11 +0000 retitle 11672 23.3; info menu-bar acts on wrong window reassign 11672 emacs submitter 11672 Gerhard Kahl severity 11672 minor tag 11672 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 12:15:10 2012 Received: (at submit) by debbugs.gnu.org; 11 Jun 2012 16:15:10 +0000 Received: from localhost ([127.0.0.1]:38068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se7Gn-0004Sy-6C for submit@debbugs.gnu.org; Mon, 11 Jun 2012 12:15:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33683) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se0ki-0001th-7l for submit@debbugs.gnu.org; Mon, 11 Jun 2012 05:17:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se0i9-0007O9-Vn for submit@debbugs.gnu.org; Mon, 11 Jun 2012 05:15:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:35780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se0i9-0007Ny-SJ for submit@debbugs.gnu.org; Mon, 11 Jun 2012 05:14:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se0i4-0002T3-FZ for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 05:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se0hw-0007MH-J3 for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 05:14:51 -0400 Received: from mailout01.ims-firmen.de ([213.174.32.96]:58354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se0hw-0007Lp-8i for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 05:14:44 -0400 Received: from mailin03.ims-firmen.de ([192.168.1.143]) by mailout01.ims-firmen.de with esmtp (envelope-from ) id 1Se0ht-0006V3-ho for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 11:14:41 +0200 Received: from [85.180.10.34] (helo=wpc) by mailin03.ims-firmen.de with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (envelope-from ) id 1Se0fe-0000wS-8K for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 11:12:22 +0200 From: Gerhard Kahl To: bug-gnu-emacs@gnu.org Subject: 23.3; info menu-bar acts on wrong window Date: Mon, 11 Jun 2012 11:14:38 +0200 Message-ID: <877gvefbwh.fsf@abara.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 11 Jun 2012 12:15:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) --- Bug Description: ----------- The bug occurs when displaying two windows with different info buffers and navigating by clicking in the menu-bar with the mouse: when the first window is active and you click the menu bar of the second window the change of nodes takes place in the first window, not in the second. Steps to reproduce the bug: -start emacs -start info -clone-buffer -activate the 1st window (e.g by clicking in the window) -open a node in the first window (e.g by hitting '3') -activate the 2nd window (e.g. by clicking in the window) -open a node in the 2nd window (e.g. by clicking '5') -click the "Up: (dir)" link in the menu-bar of the first window without activating the window first As you see, the node changes in the second window, not in the first one. The same happens with emacs started in a text mode terminal with gpm mouse support. -------------------------------- In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-03-25 on allspice, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11103000 configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: de_DE.UTF-8 value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: de_DE.UTF-8 value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Info Minor modes in effect: show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: 1 1 Recent messages: byte-code: Beginning of buffer [13 times] uncompressing cpio.info.gz...done Info-extract-pointer: Node has no Up [2 times] uncompressing ed.info.gz...done uncompressing ed.info.gz...done uncompressing ed.info.gz...done Info-extract-pointer: Node has no Up For information about GNU Emacs and the GNU system, type C-h C-a. Mark set byte-code: End of buffer byte-code: End of buffer Load-path shadows: /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-lisp/css-mode/css-mode /usr/share/emacs/23.3/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs/23.3/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs/23.3/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs/23.3/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs/23.3/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs/23.3/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs/23.3/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs/23.3/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs/23.3/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex /usr/share/emacs/23.3/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs/23.3/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs/23.3/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs/23.3/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs/23.3/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs/23.3/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs/23.3/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs/23.3/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs/23.3/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs/23.3/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs23/site-lisp/html-helper-mode/hhm-config hides /usr/share/emacs/site-lisp/html-helper-mode/hhm-config /usr/share/emacs23/site-lisp/html-helper-mode/visual-basic-mode hides /usr/share/emacs/site-lisp/html-helper-mode/visual-basic-mode /usr/share/emacs23/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/site-lisp/html-helper-mode/tempo /usr/share/emacs23/site-lisp/html-helper-mode/html-helper-mode hides /usr/share/emacs/site-lisp/html-helper-mode/html-helper-mode /usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/23.3/lisp/tempo /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/23.3/lisp/textmodes/css-mode /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug jka-compr info help-mode view paredit easy-mmode edmacro kmacro html-mode jsp-html-helper-mode asp-html-helper-mode php-html-helper-mode html-helper-mode advice help-fns advice-preload tempo cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs paren cus-start cus-load mmm-auto mmm-vars mmm-compat regexp-opt cl cl-19 devhelp preview-latex tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 14:31:18 2012 Received: (at control) by debbugs.gnu.org; 11 Jun 2012 18:31:18 +0000 Received: from localhost ([127.0.0.1]:38174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se9OY-0007Td-81 for submit@debbugs.gnu.org; Mon, 11 Jun 2012 14:31:18 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56819) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se9OW-0007TX-Tu for control@debbugs.gnu.org; Mon, 11 Jun 2012 14:31:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Se9Ly-00087M-R9 for control@debbugs.gnu.org; Mon, 11 Jun 2012 14:28:38 -0400 Date: Mon, 11 Jun 2012 14:28:38 -0400 Message-Id: Subject: control message for bug 11672 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) found 11672 24.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 12 02:57:00 2012 Received: (at 11672) by debbugs.gnu.org; 12 Jun 2012 06:57:00 +0000 Received: from localhost ([127.0.0.1]:38760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeL2A-00066E-9A for submit@debbugs.gnu.org; Tue, 12 Jun 2012 02:57:00 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:51488) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SeL27-000666-Rz for 11672@debbugs.gnu.org; Tue, 12 Jun 2012 02:56:57 -0400 Received: (qmail invoked by alias); 12 Jun 2012 06:54:14 -0000 Received: from 62-47-49-58.adsl.highway.telekom.at (EHLO [62.47.49.58]) [62.47.49.58] by mail.gmx.net (mp004) with SMTP; 12 Jun 2012 08:54:14 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19G9ExR7QxGANz4W04L4oDJxFTy9V3K1tBOCQg71k JnC22iTKCMZg/w Message-ID: <4FD6E793.4050808@gmx.at> Date: Tue, 12 Jun 2012 08:54:11 +0200 From: martin rudalics MIME-Version: 1.0 To: Gerhard Kahl Subject: Re: bug#11672: 23.3; info menu-bar acts on wrong window References: <877gvefbwh.fsf@abara.de> In-Reply-To: <877gvefbwh.fsf@abara.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11672 Cc: 11672@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Steps to reproduce the bug: > > -start emacs > -start info > -clone-buffer > -activate the 1st window (e.g by clicking in the window) > -open a node in the first window (e.g by hitting '3') > -activate the 2nd window (e.g. by clicking in the window) > -open a node in the 2nd window (e.g. by clicking '5') > -click the "Up: (dir)" link in the menu-bar of the first window > without activating the window first > > As you see, the node changes in the second window, not in the first one. > > The same happens with emacs started in a text mode terminal with gpm > mouse support. I'd define things like (defun Info-header-up () (interactive) (let* ((mouse-position (mouse-position)) (window (ignore-errors (window-at (cadr mouse-position) (cddr mouse-position) (car mouse-position))))) (if window (with-selected-window window (Info-up)) (Info-up)))) together with (define-key keymap [header-line mouse-1] 'Info-header-up) (define-key keymap [header-line mouse-2] 'Info-header-up) martin From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 23 09:37:45 2012 Received: (at control) by debbugs.gnu.org; 23 Jun 2012 13:37:46 +0000 Received: from localhost ([127.0.0.1]:53729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiQX3-0002o2-Ju for submit@debbugs.gnu.org; Sat, 23 Jun 2012 09:37:45 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60647) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiQX0-0002nt-Cq for control@debbugs.gnu.org; Sat, 23 Jun 2012 09:37:43 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:52287 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SiQTN-0003yc-5b for control@debbugs.gnu.org; Sat, 23 Jun 2012 09:33:57 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 11672 Date: Sat, 23 Jun 2012 21:33:50 +0800 Message-ID: <87hau26tkx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 11672 thanks From unknown Fri Aug 15 14:15:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Jul 2012 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator