GNU logs - #76593, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76593: 31.0.50; mouse-buffer-menu shows two "Shell" submenus with enough *Async Shell Command* and shell-mode buffers
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 26 Feb 2025 17:18:02 +0000
Resent-Message-ID: <handler.76593.B.174059025423154 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76593
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 76593 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174059025423154
          (code B ref -1); Wed, 26 Feb 2025 17:18:02 +0000
Received: (at submit) by debbugs.gnu.org; 26 Feb 2025 17:17:34 +0000
Received: from localhost ([127.0.0.1]:55225 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnL2K-00061K-UJ
	for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 12:17:34 -0500
Received: from lists.gnu.org ([2001:470:142::17]:55546)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <visuweshm@HIDDEN>)
 id 1tnL2G-00060y-RQ
 for submit <at> debbugs.gnu.org; Wed, 26 Feb 2025 12:17:30 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1tnL1t-0008I7-3M
 for bug-gnu-emacs@HIDDEN; Wed, 26 Feb 2025 12:17:06 -0500
Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1tnL1o-0007Ta-RZ
 for bug-gnu-emacs@HIDDEN; Wed, 26 Feb 2025 12:17:04 -0500
Received: by mail-pl1-x643.google.com with SMTP id
 d9443c01a7336-220bff984a0so151585285ad.3
 for <bug-gnu-emacs@HIDDEN>; Wed, 26 Feb 2025 09:17:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740590219; x=1741195019; darn=gnu.org;
 h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc
 :subject:date:message-id:reply-to;
 bh=zxi0lH0wJ+IC/qfcTIb6ZFzPgjU7eBFDMSm2a5AhD/o=;
 b=HecXrb2dWhB6JDF6O+c8yOX0wUS+XmIKJ7J5VrZHgwHIeP4jDyhCcoJQYqMDoAuZkf
 KEkyrZWeSd6Kmzy5uZiWcayz+FLlwvbsNQcm0dQSIr2VVjvyYI+2ntHuNIfdi25Rgcdh
 cSepIJgM+e3V11bdG9qob0lXlfHx2ADFeqG6ecUasnI4fY+/tBh5JOF0+hBnouoRYFjl
 idPWCz0Z9Z3nPMntfXbILkBayD0sGYfbLqLXC+8KvSz5U/0MHdfAP5mrgzgCVFH6cL6v
 Sz/bmxqppBOYHpuiJ9/qeL9IvuUPdMR8Dy3roMW3AZ7XSYrTUJk/2MsKKocxbRp9wa20
 rQSQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740590219; x=1741195019;
 h=mime-version:user-agent:message-id:date:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=zxi0lH0wJ+IC/qfcTIb6ZFzPgjU7eBFDMSm2a5AhD/o=;
 b=aru1otBkeej7oEwzHsg3jilTtQJpH+u69tGAvDY6zn3G7KNUE+6ixYzwNdTHfsXYUG
 JBvfRgGcfQFZpqL048J95a5lmcjXkbDPyPJo8sV3CHB+79WoyH0cEUgxKAGOTxRmZCIt
 LRtP/K4eJXW7lElVk7s9FDDgU7P8NWNLa1W8aU8tPyHnaUO+8NhSkzOMawjCNem6lo+4
 DDVQiXcgL0Bob3zyIjMaqK+dEWK4aKEY54zPTN98G00D4aYnPEHksMuiDZKtFx6stRtT
 /VLDGQsr0FAOczjqr7gjM3QMTfPkoHhSmhjdCFAA3aA0UPUACLDWrtguF+WEEGOOxdrV
 rT8w==
X-Gm-Message-State: AOJu0YyLHryqdlm+dVIWoO/SwpDj5LlvSacSQ81u8YKpVzgFA0+fxJmK
 kELjB0hVz08yht4MjRRNHVsHp3bZf20/dpBRsF0U2kCpWP0T5v8CCp15q0BB
X-Gm-Gg: ASbGncvjZIgAOq7STFPtReuNdb4ByhVzpMxheMKG7oCYd3f2X0lF8Ou315KOAEKpTxt
 TKLsCp2kkW8yVLcPyHp0zm7cPF9NEIdU2UiFQ7RmEeBRy5CgyUzcj+xAhXzqWemNJpYRjEKwAMw
 AtaWJa3+/yZ8Te/rLVmvkOcWJBholZxqvnKB646QDPVtVHr9RHd/80g1HxSEfwWH24ZWLt8fuVj
 QNyyEtJ0JbqoTd44TpBTyytU83QrMJk0wCCleVri/m8TmT6/XoGt7bHg/YgZjIy32+lCb/yPPba
 10brCgef0X1NDFV2arL+6ek=
X-Google-Smtp-Source: AGHT+IHH+2ijB95B2AocqKmfenQSCqnaiZLdmHOgkxtDd4Dsv+P6bIf2E75IkxGyBqfmaSgmg1kkUw==
X-Received: by 2002:a17:902:c950:b0:21f:7a8b:d675 with SMTP id
 d9443c01a7336-22307b32c86mr137544725ad.4.1740590218103; 
 Wed, 26 Feb 2025 09:16:58 -0800 (PST)
Received: from localhost ([115.240.90.130])
 by smtp.gmail.com with UTF8SMTPSA id
 d9443c01a7336-223227fde9dsm17656305ad.227.2025.02.26.09.16.56
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 26 Feb 2025 09:16:57 -0800 (PST)
From: Visuwesh <visuweshm@HIDDEN>
Date: Wed, 26 Feb 2025 22:46:54 +0530
Message-ID: <87tt8gsk1l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::643;
 envelope-from=visuweshm@HIDDEN; helo=mail-pl1-x643.google.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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.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: -0.0 (/)

mouse-buffer-menu ends up showing two "Shell" submenus when there are
enough *Async Shell Command* (major-mode=shell-command-mode) and *shell*
(major-mode=shell-mode) buffers open.  To reproduce this,

    1. emacs -Q
    2. Spam M-& sleep 100 three or four times.
    3. Likewise for C-u M-x shell RET.
    4. Now, C-<mouse-1> and observe how there are two "Shell" menu
       items.

To bring back the old behaviour, one can do

diff --git a/lisp/mouse.el b/lisp/mouse.el
index 1f0ca6a51b6..8caa611277e 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2691,6 +2691,7 @@ mouse-buffer-menu-mode-groups
     ("\\bVM\\b\\|\\bMH\\b\\|Message\\b\\|Mail\\|Group\\|Score\\|Summary\\|Article"
      . "Mail/News")
     ("\\<C\\>" . "C")
+    ("Shell\\'" . "Shell")
     ("ObjC" . "C")
     ("Text" . "Text")
     ("Outline" . "Text")

which consolidates all mode-names that end with "Shell".  Just using
"Shell" as the regexp erroneously groups sh-script-mode buffers along
with shell-mode and shell-command-mode buffers.


In GNU Emacs 31.0.50 (build 32, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.2, Xaw scroll bars) of 2025-02-15 built on astatine
Repository revision: 167157fc210ae078e683c80dc650e6a2bb5a6050
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101015
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d
 --without-gconf --without-libsystemd --with-cairo CFLAGS=-O2'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM
XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB
Important settings:
  value of $LC_MONETARY: ta_IN.UTF-8
  value of $LC_NUMERIC: ta_IN.UTF-8
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  csv-field-index-mode: t
  TeX-PDF-mode: t
  recentf-mode: t
  bug-reference-prog-mode: t
  server-mode: t
  paredit-mode: t
  eros-mode: t
  flymake-mode: t
  pdf-occur-global-minor-mode: t
  minibuffer-depth-indicate-mode: t
  repeat-mode: t
  display-time-mode: t
  display-battery-mode: t
  delete-selection-mode: t
  xterm-mouse-mode: t
  vz/winkey-minor-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  tab-bar-history-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  undelete-frame-mode: t
  minibuffer-regexp-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/home/viz/lib/emacs/straight/build/transient/transient hides /home/viz/lib/ports/emacs/lisp/transient
/home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/ports/emacs/lisp/org/ob-awk
/home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/ports/emacs/lisp/org/org-capture
/home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/ports/emacs/lisp/org/ob-sql
/home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/ports/emacs/lisp/org/ol-doi
/home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/ports/emacs/lisp/org/org-plot
/home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/ports/emacs/lisp/org/ob-dot
/home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/ports/emacs/lisp/org/ol-eshell
/home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/ports/emacs/lisp/org/ob-C
/home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/ports/emacs/lisp/org/ob-ref
/home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/ports/emacs/lisp/org/org-list
/home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/ports/emacs/lisp/org/org-mouse
/home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/ports/emacs/lisp/org/ob-haskell
/home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/ports/emacs/lisp/org/ob-plantuml
/home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/ports/emacs/lisp/org/org-keys
/home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/ports/emacs/lisp/org/org-clock
/home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/ports/emacs/lisp/org/ox-html
/home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/ports/emacs/lisp/org/oc-biblatex
/home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/ports/emacs/lisp/org/ob-table
/home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/ports/emacs/lisp/org/ob
/home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/ports/emacs/lisp/org/ol-w3m
/home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/ports/emacs/lisp/org/ob-groovy
/home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/ports/emacs/lisp/org/org-footnote
/home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/ports/emacs/lisp/org/org-entities
/home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/ports/emacs/lisp/org/ob-org
/home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/ports/emacs/lisp/org/org-macs
/home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/ports/emacs/lisp/org/ob-shell
/home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/ports/emacs/lisp/org/ob-R
/home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-lisp
/home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/ports/emacs/lisp/org/ob-js
/home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/ports/emacs/lisp/org/ob-maxima
/home/viz/lib/emacs/straight/build/org/org-element-ast hides /home/viz/lib/ports/emacs/lisp/org/org-element-ast
/home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/ports/emacs/lisp/org/ox-ascii
/home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/ports/emacs/lisp/org/org-persist
/home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/ports/emacs/lisp/org/ox-md
/home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/ports/emacs/lisp/org/org-duration
/home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/ports/emacs/lisp/org/ob-lilypond
/home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/ports/emacs/lisp/org/ob-ruby
/home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/ports/emacs/lisp/org/ob-core
/home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/ports/emacs/lisp/org/ol-mhe
/home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/ports/emacs/lisp/org/ob-ditaa
/home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/ports/emacs/lisp/org/ol-irc
/home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/ports/emacs/lisp/org/ob-fortran
/home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/ports/emacs/lisp/org/org-feed
/home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/ports/emacs/lisp/org/ob-java
/home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/ports/emacs/lisp/org/ox
/home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/ports/emacs/lisp/org/oc-csl
/home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/ports/emacs/lisp/org/ob-exp
/home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/ports/emacs/lisp/org/org-loaddefs
/home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/ports/emacs/lisp/org/ob-scheme
/home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/ports/emacs/lisp/org/ob-tangle
/home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib/ports/emacs/lisp/org/ox-koma-letter
/home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/ports/emacs/lisp/org/ob-gnuplot
/home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/ports/emacs/lisp/org/org-crypt
/home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/ports/emacs/lisp/org/org-datetree
/home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/ports/emacs/lisp/org/org-attach
/home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/ports/emacs/lisp/org/ob-julia
/home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/ports/emacs/lisp/org/ob-sqlite
/home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/ports/emacs/lisp/org/org-cycle
/home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/ports/emacs/lisp/org/org-faces
/home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/ports/emacs/lisp/org/org-mobile
/home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/ports/emacs/lisp/org/org-ctags
/home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/ports/emacs/lisp/org/ob-latex
/home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/ports/emacs/lisp/org/ob-matlab
/home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/ports/emacs/lisp/org/ob-sed
/home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib/ports/emacs/lisp/org/org-attach-git
/home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/ports/emacs/lisp/org/ob-python
/home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/ports/emacs/lisp/org/ox-icalendar
/home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/ports/emacs/lisp/org/org-tempo
/home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/ports/emacs/lisp/org/ob-screen
/home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/ports/emacs/lisp/org/org-num
/home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/ports/emacs/lisp/org/ob-forth
/home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/ports/emacs/lisp/org/ox-odt
/home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/ports/emacs/lisp/org/ol-bbdb
/home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/ports/emacs/lisp/org/org-table
/home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/ports/emacs/lisp/org/ox-man
/home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/ports/emacs/lisp/org/ox-org
/home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/ports/emacs/lisp/org/ob-comint
/home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/ports/emacs/lisp/org/ob-clojure
/home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/ports/emacs/lisp/org/org-id
/home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/ports/emacs/lisp/org/oc-natbib
/home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/ports/emacs/lisp/org/ox-texinfo
/home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/ports/emacs/lisp/org/org-agenda
/home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/ports/emacs/lisp/org/org-src
/home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-emacs-lisp
/home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/ports/emacs/lisp/org/ob-css
/home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/ports/emacs/lisp/org/ox-latex
/home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/ports/emacs/lisp/org/oc
/home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/ports/emacs/lisp/org/ol
/home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/ports/emacs/lisp/org/org-element
/home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/ports/emacs/lisp/org/org
/home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/ports/emacs/lisp/org/org-goto
/home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/ports/emacs/lisp/org/ob-eval
/home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/ports/emacs/lisp/org/org-habit
/home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/ports/emacs/lisp/org/org-pcomplete
/home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/ports/emacs/lisp/org/ol-eww
/home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/ports/emacs/lisp/org/ob-processing
/home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/ports/emacs/lisp/org/org-timer
/home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib/ports/emacs/lisp/org/org-inlinetask
/home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/ports/emacs/lisp/org/ol-bibtex
/home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/ports/emacs/lisp/org/org-fold-core
/home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/ports/emacs/lisp/org/oc-basic
/home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/ports/emacs/lisp/org/ox-publish
/home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/ports/emacs/lisp/org/oc-bibtex
/home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/ports/emacs/lisp/org/org-macro
/home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/ports/emacs/lisp/org/ol-docview
/home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/ports/emacs/lisp/org/org-fold
/home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/ports/emacs/lisp/org/org-lint
/home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/ports/emacs/lisp/org/org-version
/home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/ports/emacs/lisp/org/ob-ocaml
/home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/ports/emacs/lisp/org/ob-sass
/home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/ports/emacs/lisp/org/ob-perl
/home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/ports/emacs/lisp/org/ol-rmail
/home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/ports/emacs/lisp/org/org-protocol
/home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/ports/emacs/lisp/org/ol-info
/home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/ports/emacs/lisp/org/ob-eshell
/home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/ports/emacs/lisp/org/org-refile
/home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/ports/emacs/lisp/org/ob-octave
/home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/ports/emacs/lisp/org/ob-lua
/home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/ports/emacs/lisp/org/ol-gnus
/home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/ports/emacs/lisp/org/ob-makefile
/home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/ports/emacs/lisp/org/org-archive
/home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/ports/emacs/lisp/org/ob-lob
/home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/ports/emacs/lisp/org/ol-man
/home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/ports/emacs/lisp/org/org-compat
/home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/ports/emacs/lisp/org/org-colview
/home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/ports/emacs/lisp/org/org-indent
/home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/ports/emacs/lisp/org/ox-beamer
/home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/ports/emacs/lisp/org/ob-calc

Features:
(mouse-copy mouse-drag bs vc-annotate vc-filewise shadow calc-poly
calc-units calcalg2 emacs-news-mode emoji-labels emoji multisession
sqlite xapian-lite xeft apropos srecode/srt-mode semantic/analyze
semantic/sort semantic/scope semantic/analyze/fcn semantic/db
semantic/format srecode/template srecode/srt-wy semantic/ctxt
srecode/ctxt semantic/tag-ls semantic/find srecode/compile
srecode/dictionary srecode/fields srecode/table srecode transmission
calc-bin sqlite-mode cal-islam holidays holiday-loaddefs cal-move tcl
proced macros modula2 calc-frac calc-math ox-org org-datetree mule-diag
calc-mode calc-stuff calc-undo calc-stat calc-map calc-vec calc-yank
help-at-pt msb rfc2104 csv-mode cc-awk gnus-search eieio-opt speedbar
ezimage dframe tar-mode arc-mode archive-mode hi-lock man
gnuplot-context gnuplot mhtml-mode css-mode-expansions css-mode
html-mode-expansions sgml-mode nov esxml-query misc gnus-cus gnus-demon
gnus-diary nndiary gnus-draft gnus-dup gnus-html gnus-kill gnus-logic
gnus-mh mh-comp mh-scan mh-gnus mh-e mh-buffers mh-loaddefs
gnus-registry registry eieio-base rmailsum rmail gnus-salt gnus-uu yenc
gnus-vm math-delimiters ind-util tabify org-capture doct f90 cus-start
net-utils image-crop nndoc gnus-topic ement-room-list taxy-magit-section
taxy persist ement-tabulated-room-list ement ement-notifications
ement-notify ement-room ement-lib ement-api ement-structs ement-macros
magit-section dns find-dired js-mode-expansions js c-ts-common
calc-arith calccomp calc-aent calc-misc calc-alg calc-menu
display-line-numbers package-recipe-mode package-build
package-build-badges package-recipe locate emacsbug pcmpl-git vc-dir
winner notifications loadhist flyspell ispell ecomplete descr-text
thai-util thai-word dictionary external-completion dictionary-connection
comint-mime view conf-mode shr-color url-cache etags fileloop info-look
tramp-androidsu tramp-adb tramp-archive tramp-container tramp-ftp
tramp-gvfs grep olivetti pdf-sync pdf-outline pdf-links pdf-history
pdf-roll icomplete wdired tramp-cmds tramp-sh tramp-cache tramp trampver
tramp-integration tramp-message time-stamp tramp-compat tramp-loaddefs
latex-mode-expansions latex latex-flymake tex-ispell tex-style tex
auctex edebug imenu-xref expand-region text-mode-expansions
cc-mode-expansions the-org-mode-expansions python-el-fgallina-expansions
er-basic-expansions expand-region-core expand-region-custom shortdoc
comp-common completion dabbrev reveal cl-print ob-ditaa ob-plantuml
org-clock org-colview org-crypt org-ctags org-mouse org-plot
org-protocol ox-md ox-texinfo org-archive help-fns radix-tree recentf
tree-widget avy whitespace gnus-dired gnus-fun smerge-mode url-http
url-auth url-gw flow-fill mm-archive sort gnus-cite mail-extr textsec
uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check
gnus-async gnus-bcklg qp gnus-ml network-stream nsm nndraft nnmh
nnmaildir nnagent nnml nnnil gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg nntp gnus-cache bug-reference dired-aux misearch
multi-isearch pulse color vc-git diff-mode track-changes make-mode xref
typo pcmpl-gnu pcmpl-unix vc-backup log-view log-edit add-log pcvs-util
vc vc-dispatcher diff latexenc face-remap org-pdftools pdf-annot
facemenu org-noter oc-bibtex image-file image-converter oc-basic
org-ql-find org-ql-completing-read org-ql-search org-ql-view transient
crm org-super-agenda org-ql peg ts org-habit org-duration ol-eww eww
vtable mule-util url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus
nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig
gnus-sum shr pixel-fill kinsoku url-file svg gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo
parse-time gnus-spec gnus-int gnus-range message sendmail yank-media
puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range
mm-util mail-prsvr ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi
org-link-doi org-tempo ol-man embark-org ob-gnuplot ox-odt rng-loc
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-icalendar org-agenda ox-html ox-mathml
org-latex-preview ox-latex table ox-ascii ox-publish ox org-element
org-persist avl-tree generator ob-fortran ob-python python ob-calc
calc-store calc-trail calc-ext calc calc-loaddefs rect calc-macs ob-C
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs ob-shell ob-racket cdlatex texmathp org-attach org-id
org-refile org-element-ast inline org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie treesit executable
ob-comint org-pcomplete org-list org-footnote org-faces org-entities
noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat
org-macs shell-command+ cursor-sensor shell pcomplete server paredit
edmacro kmacro eros checkdoc lisp-mnt flymake project wordel-autoloads
mines-autoloads sokoban-autoloads ement-autoloads
taxy-magit-section-autoloads magit-section-autoloads taxy-autoloads
persist-autoloads nov-autoloads esxml-autoloads kv-autoloads
transmission-autoloads csv-mode-autoloads lua-mode-autoloads
gnuplot-autoloads go-mode-autoloads racket-mode-autoloads eros-autoloads
comint-mime-autoloads writegood-mode-autoloads embark ffap thingatpt
compat embark-autoloads xeft-autoloads paredit-autoloads puni-autoloads
expand-region-autoloads filladapt-autoloads compose org-ql-autoloads
transient-autoloads org-super-agenda-autoloads ts-autoloads
org-pdftools-autoloads org-noter-autoloads change-env-autoloads
math-delimiters-autoloads doct-autoloads emacs-ob-racket-autoloads
valign-autoloads cdlatex-autoloads tempo bibtex iso8601 time-date
auctex-autoloads tex-site pdf-occur ibuf-ext ibuffer ibuffer-loaddefs
tablist advice tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc imenu pdf-tools package browse-url xdg url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source eieio eieio-core json url-vars compile comint ansi-osc
ansi-color ring cus-edit wid-edit pdf-view password-cache jka-compr
pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x dired
dired-loaddefs exif pdf-tools-autoloads tablist-autoloads typo-autoloads
mb-depth repeat visual-fill-autoloads olivetti-autoloads time
format-spec battery filenotify dom tamil99 quail disp-table
lacarte-autoloads shell-command-plus-autoloads delsel xt-mouse cus-load
avy-autoloads icalendar diary-lib diary-loaddefs cal-menu calendar
cal-loaddefs plz warnings icons easy-mmode dired-du-autoloads finder-inf
filecache imenu-xref-autoloads ert map byte-opt ewoc qrencode-autoloads
derived tochemfig-autoloads chemtable-autoloads molar-mass-autoloads
files-x vc-backup-autoloads skeleton saveplace-pdf-view saveplace
bookmark text-property-search pp saveplace-pdf-view-autoloads dbus xml
rx plz-autoloads inspector-autoloads xr-autoloads info debug backtrace
find-func straight-autoloads cl-seq cl-extra help-mode straight subr-x
cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile pcase vz-nh-theme
vz-options-theme rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty move-toolbar make-network-process tty-child-frames
emacs)

Memory information:
((conses 16 5146515 1769488) (symbols 48 105540 170)
 (strings 32 735486 123121) (string-bytes 1 242774287)
 (vectors 16 363729) (vector-slots 8 5321666 845012)
 (floats 8 222897 27145) (intervals 56 428384 12474) (buffers 984 370))




Message sent:


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: Visuwesh <visuweshm@HIDDEN>
Subject: bug#76593: Acknowledgement (31.0.50; mouse-buffer-menu shows two
 "Shell" submenus with enough *Async Shell Command* and shell-mode buffers)
Message-ID: <handler.76593.B.174059025423154.ack <at> debbugs.gnu.org>
References: <87tt8gsk1l.fsf@HIDDEN>
X-Gnu-PR-Message: ack 76593
X-Gnu-PR-Package: emacs
Reply-To: 76593 <at> debbugs.gnu.org
Date: Wed, 26 Feb 2025 17:18:02 +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 76593 <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
76593: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76593
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76593: 31.0.50; mouse-buffer-menu shows two "Shell" submenus with enough *Async Shell Command* and shell-mode buffers
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 27 Feb 2025 10:05:02 +0000
Resent-Message-ID: <handler.76593.B76593.174065069217687 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76593
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 76593 <at> debbugs.gnu.org
Received: via spool by 76593-submit <at> debbugs.gnu.org id=B76593.174065069217687
          (code B ref 76593); Thu, 27 Feb 2025 10:05:02 +0000
Received: (at 76593) by debbugs.gnu.org; 27 Feb 2025 10:04:52 +0000
Received: from localhost ([127.0.0.1]:58241 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnalA-0004b7-23
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 05:04:52 -0500
Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:48433)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <visuweshm@HIDDEN>)
 id 1tnal6-0004af-Oi
 for 76593 <at> debbugs.gnu.org; Thu, 27 Feb 2025 05:04:50 -0500
Received: by mail-pl1-x643.google.com with SMTP id
 d9443c01a7336-223480ea43aso16763805ad.1
 for <76593 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 02:04:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740650682; x=1741255482; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=5zkeH12BgV+kKybyqaAvs5oQjQWiDSoy8fp9T2WkrBE=;
 b=L0v4UH/91RpI4OI7VyHmvF5wkI/Tj+a1i1xYWxY9jA5s44/fWI8nRC2ddyLBbdQuyW
 z9EekW32fKPuX6lxRvH2Zqj0REeTCB1m2st0SxCTfsjo6N9QEXYPeOytMsb/ykZFFjen
 D8JLOgUQTcKqAIe9EYFC+y0cl9ACjyIco3fn5DigIKXDdS8W5DsRPZOTMGH8ixq3M5ux
 b8mwp7QYl8WfIjK6re8zwCMT+A6YH/ROOpCz7+OaJBeqyku5PZ9n1fTt7whyrsquuqYj
 vkDMiqbDpUUt1xQ0UGoAGsR1NtVxJnGXQVKfYOJSkSw+ru1YxNGPZIbjlKqpIa+u+0XZ
 XicA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740650682; x=1741255482;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=5zkeH12BgV+kKybyqaAvs5oQjQWiDSoy8fp9T2WkrBE=;
 b=AmP4cBEwRYRBKGlsq5l3RMVh1uVWPyqbWoiBl3/Cwg4lHHxdSXHN3wD9Imsy2Tdo0Z
 SEwuTbLlUTzdiGrstiJY2mbByHTtc7VVmYvsYtBtnjw5umAovpYnkMJVjNP7hFN87Hvq
 ZnI5kFp12ICqS4dVC0T2v91Lbr/hoNCP6UoquUmET0M/MHvZBric0br828/Te2mkS3Wn
 Mtfva8Z2NLM0/cpZcfIS5T2v5iUBeQQulSkjHDXsisJ31LxVhiajTt3AqojONBVmfrFm
 G4uYviJAMVNh2haRi34M21GGpJ6lPjmKWprb6EBZDt2h8MglwPnObd4a22GudLX1YikW
 mTxw==
X-Gm-Message-State: AOJu0YySr9wgTIuFpvtf5zg99ngtyBFyPkk6hYX71LZLuuKi9mtadgcE
 aQQLfP9HemyvIswJJWZPLnXyaKTmnS1V+uzJbjReN+exKrvzyPX8My0dgjfl
X-Gm-Gg: ASbGncvVgTL3aklGpcI/vimCTFcPJjraBwU/X9JsF8p+HK+lUEHtMszwIFuo8C6TBTl
 ReQcl+8h5fcg8etE/yx0eF1h+e0gfCwJ7PxMHsIHCFgfxzwlhpPOK66QK2T1cSW7+hII/MBdoZo
 JRMZnmIar7o2Mt19wxMgt7QG6Qb1B17jBINUb9p9gDKwR96CZyhfKlAAWUhD8jo5hDjLJN63h81
 4VOqoQeRkGg+0C57OUcM88odg9oxwldWWubigDFNjMRr4Yld/gxuT1Sxqdz6CaHDPspGnDsA5yH
 /NBRRHLGAv8JnzSdI6mXbVA=
X-Google-Smtp-Source: AGHT+IGeccVkjgyKu7xKG1AJW+f/I+KiEQ5hv9YrEchS5GrAqA7x79jFwuPtlJVqjh6nXgF3o7NSMA==
X-Received: by 2002:a17:902:f68f:b0:223:501c:7581 with SMTP id
 d9443c01a7336-223501c7639mr28587235ad.16.1740650682017; 
 Thu, 27 Feb 2025 02:04:42 -0800 (PST)
Received: from localhost ([115.240.90.130])
 by smtp.gmail.com with UTF8SMTPSA id
 98e67ed59e1d1-2fea696e37asm1246873a91.35.2025.02.27.02.04.40
 for <76593 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Feb 2025 02:04:41 -0800 (PST)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <87tt8gsk1l.fsf@HIDDEN>
References: <87tt8gsk1l.fsf@HIDDEN>
Date: Thu, 27 Feb 2025 15:34:36 +0530
Message-ID: <8734fzsnyj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
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 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

[=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=AA=E0=AE=BF=E0=AE=AA=
=E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF 26, 2025] Visuwesh wrote:

> mouse-buffer-menu ends up showing two "Shell" submenus when there are
> enough *Async Shell Command* (major-mode=3Dshell-command-mode) and *shell*
> (major-mode=3Dshell-mode) buffers open.  To reproduce this,
>
>     1. emacs -Q
>     2. Spam M-& sleep 100 three or four times.
>     3. Likewise for C-u M-x shell RET.
>     4. Now, C-<mouse-1> and observe how there are two "Shell" menu
>        items.
>
> To bring back the old behaviour, one can do
>
> diff --git a/lisp/mouse.el b/lisp/mouse.el
> index 1f0ca6a51b6..8caa611277e 100644
> --- a/lisp/mouse.el
> +++ b/lisp/mouse.el
> @@ -2691,6 +2691,7 @@ mouse-buffer-menu-mode-groups
>      ("\\bVM\\b\\|\\bMH\\b\\|Message\\b\\|Mail\\|Group\\|Score\\|Summary\=
\|Article"
>       . "Mail/News")
>      ("\\<C\\>" . "C")
> +    ("Shell\\'" . "Shell")
>      ("ObjC" . "C")
>      ("Text" . "Text")
>      ("Outline" . "Text")
>
> which consolidates all mode-names that end with "Shell".  Just using
> "Shell" as the regexp erroneously groups sh-script-mode buffers along
> with shell-mode and shell-command-mode buffers.

And here's a proper patch:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Group-shell-and-shell-command-buffers-under-the-same.patch

From c1c5faa60f6aed5fa3855d68c73412b8cc9d931e Mon Sep 17 00:00:00 2001
From: Visuwesh <visuweshm@HIDDEN>
Date: Thu, 27 Feb 2025 15:32:04 +0530
Subject: [PATCH] Group shell and shell-command buffers under the same submenu

* lisp/mouse.el (mouse-buffer-menu-mode-groups): Group
'shell-mode' and 'shell-command-mode' buffers under the same
"Shell" submenu item in 'mouse-buffer-menu'.  (Bug#76593)
---
 lisp/mouse.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/mouse.el b/lisp/mouse.el
index 1f0ca6a51b6..66499db3b34 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2694,6 +2694,7 @@ mouse-buffer-menu-mode-groups
     ("ObjC" . "C")
     ("Text" . "Text")
     ("Outline" . "Text")
+    ("\\`Shell\\'" . "Shell")
     ("\\(HT\\|SG\\|X\\|XHT\\)ML" . "SGML")
     ("\\blog\\b\\|diff\\|\\bvc\\b\\|cvs\\|Git\\|Annotate" . "Version Control")
     ("Threads\\|Memory\\|Disassembly\\|Breakpoints\\|Frames\\|Locals\\|Registers\\|Inferior I/O\\|Debugger"
-- 
2.47.2


--=-=-=
Content-Type: text/plain


I went with the regexp \`Shell\' to ensure only major-modes with
`mode-name' "Shell" will be matched.

--=-=-=--




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 27 Feb 2025 11:29:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 06:29:18 2025
Received: from localhost ([127.0.0.1]:58885 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnc4s-0003Gp-Iq
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 06:29:18 -0500
Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:44052)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tnc4p-0003G9-LV
 for control <at> debbugs.gnu.org; Thu, 27 Feb 2025 06:29:16 -0500
Received: by mail-ed1-x52c.google.com with SMTP id
 4fb4d7f45d1cf-5e095d47a25so1273689a12.0
 for <control <at> debbugs.gnu.org>; Thu, 27 Feb 2025 03:29:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740655749; x=1741260549; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=hMbwPNFe8p4u9XPQwVlYGlrPaAgjYlPtUHJQdzsGfJI=;
 b=GZ8CfGAjFaRjWiBOn8zoztjda/SFHuTUH9KJ1evWKpgOerjcghRzTOUvRpVgooIQYV
 68kpaQZj1fRLi1RcH3dbT+/18RNeAbP6KygI8y5/av+PMEkTqWRmjhmu5SYhgpLupvQ+
 A2ZrxV7qqJqWaSA7TGCqzmaZ6jGNShpdJHSVTsGIjbVBUIXbJlH/sWkrNARnekJCSQfI
 w2CFmuRAlwhu6kS2w7axem8xuUUGsQlJdmqDuEAyq/xzXpBgyMZhBfT3WHhjRIEPUjGU
 7CBAlTdAy4X8EUGmyajLAVa44+ZiI3hGbC6PNfMN1IlpJE28oICDDpN+FAU06pgQWtAb
 +2Vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740655749; x=1741260549;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=hMbwPNFe8p4u9XPQwVlYGlrPaAgjYlPtUHJQdzsGfJI=;
 b=FNjvptHopKlxcbYDht/Qzb0oWhfOd7o4A0tcok7z+yrAkNSlsXWmPTYvfzEQr5qmB4
 Z7tznq4DB1JsIfYChclT4OXKUwmQ93ObP6jJhIOeIMaH35tUd/lQQoJTpVNwlYBQx4mM
 fvUrmMzT64ycNuCY0rDUbeZUdPucsdDCNYDE74QssjXFRNCpS6dyCCMNkMOkr6LU34xs
 MkpG7V1r/+ubSf3GS0KKgEREMRbZ9jp1iuWcAFZIV/lZFTnVI4VrYXwS/89JEoQlJ5o2
 m3OjO8ukdv0xMgoJkhWiMul9zJLMeRA0N1odZ3XfM6DaUyzHTRXYEDLtsZUXpZRaacVU
 TQew==
X-Gm-Message-State: AOJu0YywQWec/FsjCOioU0CeejANvzdy84VNof4myTjdE32Jl5UoG7fh
 zyPHh+TY3kcRkHjmymJ2nM9DM4Xu1sylBGlEUoJkC3imqxfKlHsR+USRk2Mouk8Gaoa8X9HMBEi
 BO7nDdssHio7ckmyOZrEcQuN4+Ihiu8OpH/k=
X-Gm-Gg: ASbGnctJbY1Fm4aIsV8gUDD4p8Rtfm2cZnU49YUL4CDaabFKyISfZTeUSwusxVnkfzo
 RGVn4ZIKtSqlaUCmD4m+mMqPQraU1RqimcQslqwxn9E/6lsfUL9gYZVJbbAgi/NObC56L/TYBW+
 t0/w1d9BNO/g==
X-Google-Smtp-Source: AGHT+IEpUqtme3mDVJHtSYLJjPjGlI459LmMMm1KmJVas1MbXnBVm9Ls7bqXueqg5G1trpLA5EIJ8Xo21pHEDpO5XCY=
X-Received: by 2002:a05:6402:3508:b0:5e4:c532:d69a with SMTP id
 4fb4d7f45d1cf-5e4c532d801mr2414385a12.5.1740655748946; Thu, 27 Feb 2025
 03:29:08 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 27 Feb 2025 05:29:07 -0600
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Thu, 27 Feb 2025 05:29:07 -0600
X-Gm-Features: AQ5f1JqA_L5FGhlN-Id7SaABhOe7gxgaCw9NDAhlZXcXgbi9dTwus2fTSTvxBc8
Message-ID: <CADwFkmnPS0TT40wcF8gEQE1J325RWHmJp9qsmosoTC6UiTxHcg@HIDDEN>
Subject: control message for bug #76593
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

tags 76593 + patch
quit




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76593: 31.0.50; mouse-buffer-menu shows two "Shell" submenus with enough *Async Shell Command* and shell-mode buffers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 27 Feb 2025 17:41:03 +0000
Resent-Message-ID: <handler.76593.B76593.174067805629305 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76593
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Visuwesh <visuweshm@HIDDEN>
Cc: 76593 <at> debbugs.gnu.org
Received: via spool by 76593-submit <at> debbugs.gnu.org id=B76593.174067805629305
          (code B ref 76593); Thu, 27 Feb 2025 17:41:03 +0000
Received: (at 76593) by debbugs.gnu.org; 27 Feb 2025 17:40:56 +0000
Received: from localhost ([127.0.0.1]:37324 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnhsV-0007cb-TH
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 12:40:56 -0500
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:48791)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tnhsT-0007bb-EB
 for 76593 <at> debbugs.gnu.org; Thu, 27 Feb 2025 12:40:54 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 1599D44226;
 Thu, 27 Feb 2025 17:40:44 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <8734fzsnyj.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87tt8gsk1l.fsf@HIDDEN> <8734fzsnyj.fsf@HIDDEN>
Date: Thu, 27 Feb 2025 19:40:08 +0200
Message-ID: <87plj3wakn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: 0
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdekkedtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejieehleefseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvhhishhufigvshhhmhesghhmrghilhdrtghomh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

> I went with the regexp \`Shell\' to ensure only major-modes with
> `mode-name' "Shell" will be matched.

Are Eshell buffers grouped under the same submenu?





Last modified: Thu, 27 Feb 2025 17:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.