X-Loop: help-debbugs@HIDDEN Subject: bug#45848: 27.1; Buffers menu opens wrong buffer Resent-From: "Joseph Coffland" <joseph@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 13 Jan 2021 23:20:01 +0000 Resent-Message-ID: <handler.45848.B.161057994916713 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 45848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45848 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Reply-To: joseph@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.161057994916713 (code B ref -1); Wed, 13 Jan 2021 23:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2021 23:19:09 +0000 Received: from localhost ([127.0.0.1]:36783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kzpPw-0004LU-Dk for submit <at> debbugs.gnu.org; Wed, 13 Jan 2021 18:19:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:48742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joseph@HIDDEN>) id 1kzpKT-0004CV-Bv for submit <at> debbugs.gnu.org; Wed, 13 Jan 2021 18:13:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <joseph@HIDDEN>) id 1kzpKS-0001F3-3I for bug-gnu-emacs@HIDDEN; Wed, 13 Jan 2021 18:13:28 -0500 Received: from mail.cauldrondevelopment.com ([45.33.27.98]:41223 helo=cauldrondevelopment.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <joseph@HIDDEN>) id 1kzpKM-0006e1-5D for bug-gnu-emacs@HIDDEN; Wed, 13 Jan 2021 18:13:27 -0500 Received: by cauldrondevelopment.com (Postfix, from userid 999) id 0CAB46DB7; Wed, 13 Jan 2021 23:13:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on cauldrondevelopment.com X-Spam-Level: X-Spam-Status: No, score=-102.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.1 Received: from coffland.com (localhost.localdomain [127.0.0.1]) by cauldrondevelopment.com (Postfix) with ESMTP id D1AFF4916 for <bug-gnu-emacs@HIDDEN>; Wed, 13 Jan 2021 23:13:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cauldrondevelopment.com; s=default; t=1610579597; bh=6eiux0zpr1EVBW4GKb0ZXe21CypIu6/1Z5SMRdb1qTY=; h=Date:Subject:From:To:Reply-To:From; b=gYiGR510VLqGGtKE5RCCWHjeV/NZEX5juln79F0pHY0FjI96ogdBgXsoqwu3jRvDQ ShjrM0CWhZEh9/1wKBYc2KihlVI2O2w4KQhCPCyUoVt0B4w8FlXtEupNvOoVNojdxB QeMxDRUhan+hZXT11ZTjvGyoaJ+uAcIsdFTUYXsA= Received: from 2600:3c00:e000:2bf::1 (SquirrelMail authenticated user jcoffland@HIDDEN) by coffland.com with HTTP; Wed, 13 Jan 2021 15:13:17 -0800 Message-ID: <5118f4c07ec3d18a4012ba6d1f383b28.squirrel@HIDDEN> Date: Wed, 13 Jan 2021 15:13:17 -0800 From: "Joseph Coffland" <joseph@HIDDEN> User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Received-SPF: pass client-ip=45.33.27.98; envelope-from=joseph@HIDDEN; helo=cauldrondevelopment.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Wed, 13 Jan 2021 18:19:07 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) In recent versions of GTK Emacs with multiple frames open, selecting the top buffer from the Buffers menu often opens the wrong buffer. Upon returning to the Buffers menu, the top item has changed to the one that actually opened. Selecting the desired file from the menu again opens the correct file as expected. The Buffers menu on each frame appears to be the same but in reality the order is different. When one frame is in focus but you click on the Buffers menu of an unfocused frame it will show the Buffers for the focused menu. If you close the menu and reclick, the focus will have changed and it will show the correct Buffers menu. I belive the problem is that the Buffers menu opens before the frame focus changes causing the wrong Buffers list to display for the frame. Thanks, Joseph Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C++// Minor modes in effect: shell-dirtrack-mode: t fci-mode: t modern-c++-font-lock-global-mode: t modern-c++-font-lock-mode: t global-flycheck-mode: t flycheck-mode: t global-whitespace-mode: t save-place-mode: t global-auto-revert-mode: t tooltip-mode: t global-eldoc-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t abbrev-mode: t Load-path shadows: ~/.emacs.d/site-lisp/markdown-mode hides /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash hides /usr/share/emacs/site-lisp/elpa-src/dash-2.17.0/dash /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-autoloads hides /usr/share/emacs/site-lisp/elpa-src/dash-2.17.0/dash-autoloads /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash-pkg hides /usr/share/emacs/site-lisp/elpa-src/dash-2.17.0/dash-pkg /usr/share/emacs/site-lisp/elpa/epl-0.9/epl-autoloads hides /usr/share/emacs/site-lisp/elpa-src/epl-0.9/epl-autoloads /usr/share/emacs/site-lisp/elpa/epl-0.9/epl hides /usr/share/emacs/site-lisp/elpa-src/epl-0.9/epl /usr/share/emacs/site-lisp/elpa/epl-0.9/epl-pkg hides /usr/share/emacs/site-lisp/elpa-src/epl-0.9/epl-pkg /usr/share/emacs/site-lisp/elpa/fill-column-indicator-1.90/fill-column-indicator-pkg hides /usr/share/emacs/site-lisp/elpa-src/fill-column-indicator-1.90/fill-column-indicator-pkg /usr/share/emacs/site-lisp/elpa/fill-column-indicator-1.90/fill-column-indicator-autoloads hides /usr/share/emacs/site-lisp/elpa-src/fill-column-indicator-1.90/fill-column-indicator-autoloads /usr/share/emacs/site-lisp/elpa/fill-column-indicator-1.90/fill-column-indicator hides /usr/share/emacs/site-lisp/elpa-src/fill-column-indicator-1.90/fill-column-indicator /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-autoloads hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-autoloads /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-pkg hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-pkg /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-ert hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-ert /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck /usr/share/emacs/site-lisp/elpa/flycheck-32snapshot/flycheck-buttercup hides /usr/share/emacs/site-lisp/elpa-src/flycheck-32snapshot/flycheck-buttercup /usr/share/emacs/site-lisp/elpa/js2-mode-20180301/js2-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/js2-mode-20180301/js2-mode-pkg /usr/share/emacs/site-lisp/elpa/js2-mode-20180301/js2-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/js2-mode-20180301/js2-mode-autoloads /usr/share/emacs/site-lisp/elpa/js2-mode-20180301/js2-imenu-extras hides /usr/share/emacs/site-lisp/elpa-src/js2-mode-20180301/js2-imenu-extras /usr/share/emacs/site-lisp/elpa/js2-mode-20180301/js2-old-indent hides /usr/share/emacs/site-lisp/elpa-src/js2-mode-20180301/js2-old-indent /usr/share/emacs/site-lisp/elpa/js2-mode-20180301/js2-mode hides /usr/share/emacs/site-lisp/elpa-src/js2-mode-20180301/js2-mode /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist-pkg hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist-pkg /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist-autoloads hides /usr/share/emacs/site-lisp/elpa-src/let-alist-1.0.6/let-alist-autoloads ~/.emacs.d/site-lisp/markdown-mode hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode-pkg /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode-autoloads /usr/share/emacs/site-lisp/elpa/pkg-info-0.6/pkg-info-autoloads hides /usr/share/emacs/site-lisp/elpa-src/pkg-info-0.6/pkg-info-autoloads /usr/share/emacs/site-lisp/elpa/pkg-info-0.6/pkg-info-pkg hides /usr/share/emacs/site-lisp/elpa-src/pkg-info-0.6/pkg-info-pkg /usr/share/emacs/site-lisp/elpa/pkg-info-0.6/pkg-info hides /usr/share/emacs/site-lisp/elpa-src/pkg-info-0.6/pkg-info /usr/share/emacs/site-lisp/elpa/seq-2.22/seq-25 hides /usr/share/emacs/site-lisp/elpa-src/seq-2.22/seq-25 /usr/share/emacs/site-lisp/elpa/seq-2.22/seq-pkg hides /usr/share/emacs/site-lisp/elpa-src/seq-2.22/seq-pkg /usr/share/emacs/site-lisp/elpa/seq-2.22/seq-24 hides /usr/share/emacs/site-lisp/elpa-src/seq-2.22/seq-24 /usr/share/emacs/site-lisp/elpa/seq-2.22/seq hides /usr/share/emacs/site-lisp/elpa-src/seq-2.22/seq /usr/share/emacs/site-lisp/elpa/seq-2.22/seq-autoloads hides /usr/share/emacs/site-lisp/elpa-src/seq-2.22/seq-autoloads /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized-theme-pkg hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized-theme-pkg /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized-light-theme hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized-light-theme /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized-dark-theme hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized-dark-theme /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized-theme-utils hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized-theme-utils /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized-theme-autoloads hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized-theme-autoloads /usr/share/emacs/site-lisp/elpa/solarized-theme-1.3.1/solarized-theme hides /usr/share/emacs/site-lisp/elpa-src/solarized-theme-1.3.1/solarized-theme /usr/share/emacs/site-lisp/elpa/ws-butler-0.6/ws-butler-autoloads hides /usr/share/emacs/site-lisp/elpa-src/ws-butler-0.6/ws-butler-autoloads /usr/share/emacs/site-lisp/elpa/ws-butler-0.6/ws-butler hides /usr/share/emacs/site-lisp/elpa-src/ws-butler-0.6/ws-butler /usr/share/emacs/site-lisp/elpa/ws-butler-0.6/ws-butler-pkg hides /usr/share/emacs/site-lisp/elpa-src/ws-butler-0.6/ws-butler-pkg /usr/share/emacs/site-lisp/elpa/yaml-mode-0.0.14/yaml-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/yaml-mode-0.0.14/yaml-mode-pkg /usr/share/emacs/site-lisp/elpa/yaml-mode-0.0.14/yaml-mode hides /usr/share/emacs/site-lisp/elpa-src/yaml-mode-0.0.14/yaml-mode /usr/share/emacs/site-lisp/elpa/yaml-mode-0.0.14/yaml-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/yaml-mode-0.0.14/yaml-mode-autoloads /usr/share/emacs/site-lisp/elpa/zenburn-theme-2.6/zenburn-theme-autoloads hides /usr/share/emacs/site-lisp/elpa-src/zenburn-theme-2.6/zenburn-theme-autoloads /usr/share/emacs/site-lisp/elpa/zenburn-theme-2.6/zenburn-theme hides /usr/share/emacs/site-lisp/elpa-src/zenburn-theme-2.6/zenburn-theme /usr/share/emacs/site-lisp/elpa/zenburn-theme-2.6/zenburn-theme-pkg hides /usr/share/emacs/site-lisp/elpa-src/zenburn-theme-2.6/zenburn-theme-pkg /usr/share/emacs/site-lisp/elpa/seq-2.22/seq hides /usr/share/emacs/27.1/lisp/emacs-lisp/seq /usr/share/emacs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/27.1/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug sendmail find-dired ffap grep network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit pylint compile python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 ls-lisp format-spec misearch multi-isearch thingatpt time-date pcase vc-git diff-mode disp-table fill-column-indicator modern-cpp-font-lock flycheck find-func help-mode dash whitespace coffee-mode easy-mmode comint ansi-color php-mode cc-langs speedbar sb-image ezimage dframe ws-trim stylus-mode sws-mode pug-mode jade-mode nsis-mode hideshow saveplace autorevert filenotify cus-start cus-load json-mode edmacro kmacro derived json-reformat cl json-snatcher rx js2-mode etags fileloop generator xref project ring js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs imenu finder-inf tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap xml-parse doxymacs devhelp package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq seq-25 byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 341729 22207) (symbols 48 29654 3) (strings 32 88700 3401) (string-bytes 1 3119566) (vectors 16 47059) (vector-slots 8 596070 47936) (floats 8 259 37) (intervals 56 7741 122) (buffers 1000 27)) -- Cauldron Development LLC http://www.cauldrondevelopment.com/ Cell: 208-409-9128
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: joseph@HIDDEN Subject: bug#45848: Acknowledgement (27.1; Buffers menu opens wrong buffer) Message-ID: <handler.45848.B.161057994916713.ack <at> debbugs.gnu.org> References: <5118f4c07ec3d18a4012ba6d1f383b28.squirrel@HIDDEN> X-Gnu-PR-Message: ack 45848 X-Gnu-PR-Package: emacs Reply-To: 45848 <at> debbugs.gnu.org Date: Wed, 13 Jan 2021 23:20:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 45848 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 45848: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45848 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#45848: 27.1; Buffers menu opens wrong buffer Resent-From: martin rudalics <rudalics@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 14 Jan 2021 07:42:02 +0000 Resent-Message-ID: <handler.45848.B45848.161061007211479 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: joseph@HIDDEN, 45848 <at> debbugs.gnu.org Received: via spool by 45848-submit <at> debbugs.gnu.org id=B45848.161061007211479 (code B ref 45848); Thu, 14 Jan 2021 07:42:02 +0000 Received: (at 45848) by debbugs.gnu.org; 14 Jan 2021 07:41:12 +0000 Received: from localhost ([127.0.0.1]:37077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kzxFn-0002z5-Ry for submit <at> debbugs.gnu.org; Thu, 14 Jan 2021 02:41:12 -0500 Received: from mout.gmx.net ([212.227.15.18]:51439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1kzxFm-0002ys-4V for 45848 <at> debbugs.gnu.org; Thu, 14 Jan 2021 02:41:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610610060; bh=RTaUz5y3AMtKDvR5pV6XTUZ1H0e0dmZV4rhGWVHg40A=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=b8ixEyiFUHrOCN0NWSyLkGuc+h63Qwmr5FNFy1FhAKzrEIhCHHJJf301Cl1QBekP3 6GWnwOBKaiVrjngpI8AUuiopCDe4fR+FkTzXmEvwU5OtpiSlYxGfxP25Q1gv6u2ao+ kluT3LXN+k6v4vinvJTdWIRRrgPIALKLqNaU5JPI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.23]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTzf6-1kYuDu0ouA-00R1tV; Thu, 14 Jan 2021 08:41:00 +0100 References: <5118f4c07ec3d18a4012ba6d1f383b28.squirrel@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <51227849-be44-5475-b903-c5029f7c576e@HIDDEN> Date: Thu, 14 Jan 2021 08:40:59 +0100 MIME-Version: 1.0 In-Reply-To: <5118f4c07ec3d18a4012ba6d1f383b28.squirrel@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:CGKpcxvpB8NB+8f38clguRIrdWVF6Y+NRTcwND/7nHMjDcGBl3U QgWdwLcZ8g/OHRHjjSKL9uqMEML9CnAgeHB2B6akNETNhLvEtbxFyD3204o5+jl1eRRH0Q9 g9I7dEU5n9czjwxG69HQ9TGqF5ugY+OH/RNmzZTG7Fzkx6f9bqB3NQ48tjGYkxZlTbUATNg CkQ7NC8fAs9QOYfkQudVg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rizJwNg6NbE=:gBPH34a/V2pj/uiIsNN7fk QVekFok54pC7atHLs6iga7qGFDGcCgR6wMlEMG7GzsjxowrS5KRohZn/35lVQhidwMavPk9m+ Kh5goL/VWmTRKnCcG7Dy6P0Zh9xidCtnBPDIF++CbRBUeZBN/BbYvn5zb9kZiKekacmCgrSSR NQY+EqTu+cLl/Rl8IkYfB8WQzyIBAa5i2RbpNuEvaqmVfQPWujd9yIo+jbgGgkQ0FflepZ1vg FduDy1NuVDnCSTBwG2GqR/UsbbgQEjW0SUz9bQaF7FrhehIubvkfoGMHCMMnXRFPNktVpqnko X4CKpRzfTjIaekd4UnKo6yyD6vxH+WCpHKap1JzAvwL9jMB0RvfzbRDi6apbuQsUaVhQ1f9Pu kRB1FGAaay1tNzvqS8u5wOQ3P865TV7W0D4DDBU5ioF8uwzjwns4BLIpefMvyNBpZ+Vfx46Pe O5Wxsi3EKVPg4usgqYAePSXbDJwuWR49g1x02o9S6zM5id/AvXhrhNQh9KUsvzwlcwW18etfk qAiC7WZ4dWrU/4wTap71eUzGi8yP8kF2sQQQ+Tb7eBUv+curktRpCnREPzcyXKrtOmwAkVNwI 51rGBZEvUFcOJJ+oC1CWBU/SvxDh9XFsgKtXVfnGTjLqWyZCR4W+XeOc4OxHaLzXLV1voas+/ p0gNHpB/TNLth224c6eVh+JfxaiojWsDhbydah3AfcGxenzISWax7IrWglobvvVwUe6DsoqmY KcsVCV11jASp0RtFGu+Frzy5MWwy7ainH21MtkItEQy4wiMUUIObhwjT9k1JEqCBc/HfCbVap 7LWd6r2he73/Y4J/O2foWLHaJPk5XP2JB8k4TJp4rCGFHnBuGvBtPREkwvFPnKqS2nRdtl6Yx EliG+znLsXq8q/IXoLAw== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > In recent versions of GTK Emacs with multiple frames open, selecting the > top buffer from the Buffers menu often opens the wrong buffer. Upon > returning to the Buffers menu, the top item has changed to the one that > actually opened. Selecting the desired file from the menu again opens the > correct file as expected. > > The Buffers menu on each frame appears to be the same but in reality the > order is different. When one frame is in focus but you click on the > Buffers menu of an unfocused frame it will show the Buffers for the > focused menu. If you close the menu and reclick, the focus will have > changed and it will show the correct Buffers menu. > > I belive the problem is that the Buffers menu opens before the frame focus > changes causing the wrong Buffers list to display for the frame. I always disable the Buffers menu here so I can't tell whether there was a noticeable change recently. The function responsible for providing that menu ('menu-bar-update-buffers') uses the global buffer list - not the one specific for that menu bar's frame. This means that conceptually the menu will show the same list regardless from where you invoke it unless that invoking step itself changes the global buffer list beforehand. Now selecting a frame is one way to change it, popping up a menu from the menu bar should not change it. So the first issue we'd have to resolve is what the "correct Buffers menu" is. The second issue, and that is one that should never happen, is that apparently Emacs switches to another buffer than the one whose name you clicked on. Maybe someone else has an idea how such a thing could occur in practice. martin
X-Loop: help-debbugs@HIDDEN Subject: bug#45848: 27.1; Buffers menu opens wrong buffer Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 09 May 2022 14:18:02 +0000 Resent-Message-ID: <handler.45848.B45848.165210586122432 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics <rudalics@HIDDEN> Cc: 45848 <at> debbugs.gnu.org, joseph@HIDDEN Received: via spool by 45848-submit <at> debbugs.gnu.org id=B45848.165210586122432 (code B ref 45848); Mon, 09 May 2022 14:18:02 +0000 Received: (at 45848) by debbugs.gnu.org; 9 May 2022 14:17:41 +0000 Received: from localhost ([127.0.0.1]:58999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no4Cj-0005pk-9l for submit <at> debbugs.gnu.org; Mon, 09 May 2022 10:17:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1no4Ch-0005pV-DC for 45848 <at> debbugs.gnu.org; Mon, 09 May 2022 10:17:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oRHVHttE8OLUxKc8k1+Mtcsp4V/dLYWITjfsEOf2LeM=; b=fCivCLC9hFfe0f71DehGUK4KCI 7tpj+xJMHp1DoLVtQO6SGcZ9/tHIgS/nZ7gpWZXoLvrqfbw3PLF29n/4cmBQJ2K4++l34ejUQJ03L V367MLqMb6POMUv3recliBF9D7AQTQ3h1BS5wir617FaYuQ+X+J8/BK1L8nLGIE7A9Cw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1no4CW-0006iQ-Of; Mon, 09 May 2022 16:17:31 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <5118f4c07ec3d18a4012ba6d1f383b28.squirrel@HIDDEN> <51227849-be44-5475-b903-c5029f7c576e@HIDDEN> X-Now-Playing: Joni Mitchell's _Wild Things Run Fast_: "Underneath The Streetlight" Date: Mon, 09 May 2022 16:17:28 +0200 In-Reply-To: <51227849-be44-5475-b903-c5029f7c576e@HIDDEN> (martin rudalics's message of "Thu, 14 Jan 2021 08:40:59 +0100") Message-ID: <87fsli6b9j.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: martin rudalics <rudalics@HIDDEN> writes: >> In recent versions of GTK Emacs with multiple frames open, selecting the >> top buffer from the Buffers menu often opens the wrong buffer. Upon >> returning to the Buffers menu, the top item has ch [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) martin rudalics <rudalics@HIDDEN> writes: >> In recent versions of GTK Emacs with multiple frames open, selecting the >> top buffer from the Buffers menu often opens the wrong buffer. Upon >> returning to the Buffers menu, the top item has changed to the one that >> actually opened. Selecting the desired file from the menu again opens the >> correct file as expected. I'm unable to reproduce this, but: >> I belive the problem is that the Buffers menu opens before the frame focus >> changes causing the wrong Buffers list to display for the frame. When clicking on the Buffers menu without selecting the frame first, the menu first displays the buffers in one order, and then menu-bar-update-buffers is triggered, and then the order rearranges itself, which is disturbing. So menu-bar-update-hook is called too late -- after opening the menu instead of before. (Or perhaps called at the right time, but before the frame is selected...) > This means that > conceptually the menu will show the same list regardless from where you > invoke it unless that invoking step itself changes the global buffer > list beforehand. Now selecting a frame is one way to change it, popping > up a menu from the menu bar should not change it. > > So the first issue we'd have to resolve is what the "correct Buffers > menu" is. I'm not sure, either. It just lists things in `buffer-list' order, and selecting a different frame will select a new window, and therefor a new buffer, so switching frames will alter the order... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.