From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lingyu Ma'" <pppooonnnyyy@hotmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: How to split the popup "Buffer Menu" by major mode?
Date: Mon, 18 Oct 2010 13:17:17 -0700 [thread overview]
Message-ID: <EF46F7C282D144C99211211DD8A626E1@us.oracle.com> (raw)
In-Reply-To: <COL118-W6229ED271A0EBAC216DB8EC75A0@phx.gbl>
> When press click the left button with ctrl key pressed
> (<C-down-mouse-1>), emacs will run the command "mouse-buffer-menu".
>
> If I open a lot of buffers in different modes, the popup menu will
> generate several submenus as "Buffers 1", "Buffers 2", "Buffers 3"
> and so on.
> Is there a way to make the popup menu split according to buffers'
> major modes? For example, "C++", "Java", "Org-mode"?
No doubt someone else will be able to help you more, but take a look at option
`mouse-buffer-menu-mode-mult' (whose doc string is not very good, IMHO).
Setting it to 1 or 0 should apparently do what you want.
FWIW - `mouse-buffer-menu' also uses variable `mouse-buffer-menu-mode-groups'.
According to the (nearly incomprehensible) doc string for
`mouse-buffer-menu-mode-mult' you should not need to modify
`mouse-buffer-menu-mode-groups'. But you might try doing so anyway just to see
what happens. ;-) Apparently things are meant to be magic, which is too often
just another word for user-unfriendly. ;-)
next prev parent reply other threads:[~2010-10-18 20:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 18:22 How to split the popup "Buffer Menu" by major mode? Lingyu Ma
2010-10-18 20:17 ` Drew Adams [this message]
[not found] ` <mailman.14.1287433119.15066.help-gnu-emacs@gnu.org>
2010-10-18 21:42 ` Pony
-- strict thread matches above, loose matches on Subject: below --
2010-10-18 18:57 How to split the popup "Buffer Menu" by major mode? Pony
2010-10-18 19:31 ` Andreas Politz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EF46F7C282D144C99211211DD8A626E1@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pppooonnnyyy@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).