unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* buffer menu categorisation
@ 2002-11-12 13:05 Noel Yap
  0 siblings, 0 replies; 8+ messages in thread
From: Noel Yap @ 2002-11-12 13:05 UTC (permalink / raw)


I'm using emacs-21.2.1.

At one time, when I hit C-mouse-1, I got a menu of
buffers categorised by type (eg C, SQL, shell, ...). 
It no longer does that.  How can I get that behaviour
back?

Thanks,
Noel

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
       [not found] <mailman.1037107243.24272.help-gnu-emacs@gnu.org>
@ 2002-11-12 13:53 ` Phillip Lord
  2002-11-12 14:47   ` Noel Yap
  2002-11-12 15:36   ` Noel Yap
  0 siblings, 2 replies; 8+ messages in thread
From: Phillip Lord @ 2002-11-12 13:53 UTC (permalink / raw)


>>>>> "Noel" == Noel Yap <yap_noel@yahoo.com> writes:

  Noel> I'm using emacs-21.2.1.

  Noel> At one time, when I hit C-mouse-1, I got a menu of buffers
  Noel> categorised by type (eg C, SQL, shell, ...).  It no longer
  Noel> does that.  How can I get that behaviour back?

 
Sounds like the "msb" package to me. If effects both C-mouse-1, and
the buffers menu. 

Phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
  2002-11-12 13:53 ` Phillip Lord
@ 2002-11-12 14:47   ` Noel Yap
  2002-11-12 15:36   ` Noel Yap
  1 sibling, 0 replies; 8+ messages in thread
From: Noel Yap @ 2002-11-12 14:47 UTC (permalink / raw)


--- Phillip Lord <p.lord@russet.org.uk> wrote:
> Sounds like the "msb" package to me. If effects both
> C-mouse-1, and
> the buffers menu. 

msb-mode is much better than what I have now.  OTOH,
it's not exactly what I had seen before.  I'll use it
for now unless I find something better.

Thanks,
Noel

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
  2002-11-12 13:53 ` Phillip Lord
  2002-11-12 14:47   ` Noel Yap
@ 2002-11-12 15:36   ` Noel Yap
  2002-11-12 16:15     ` Noel Yap
  1 sibling, 1 reply; 8+ messages in thread
From: Noel Yap @ 2002-11-12 15:36 UTC (permalink / raw)


--- Phillip Lord <p.lord@russet.org.uk> wrote:
> Sounds like the "msb" package to me. If effects both
> C-mouse-1, and
> the buffers menu. 

Looking at the code for mouse-buffer-menu, it looks
like it has the capabilities to do what I want (ie
categorise by major mode) which explains why I see it
happening sometimes.  If anyone can help me figure out
how to get this to work all the time, I'd be very
grateful.

Thanks,
Noel

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
       [not found] <mailman.1037116489.7487.help-gnu-emacs@gnu.org>
  2002-11-12 16:10 ` buffer menu categorisation Phillip Lord
@ 2002-11-12 16:10 ` Glenn Morris
  1 sibling, 0 replies; 8+ messages in thread
From: Glenn Morris @ 2002-11-12 16:10 UTC (permalink / raw)


Noel Yap wrote:

> Looking at the code for mouse-buffer-menu, it looks like it has the
> capabilities to do what I want (ie categorise by major mode) which
> explains why I see it happening sometimes.

Have you tried

(setq mouse-buffer-menu-mode-mult 1)

The subdivision into modes is only done when there are "a lot" of buffers,
so this would explain why you only see it sometimes.

"a lot" = some function I can't be bothered to figure out at the moment. :)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
       [not found] <mailman.1037116489.7487.help-gnu-emacs@gnu.org>
@ 2002-11-12 16:10 ` Phillip Lord
  2002-11-12 16:10 ` Glenn Morris
  1 sibling, 0 replies; 8+ messages in thread
From: Phillip Lord @ 2002-11-12 16:10 UTC (permalink / raw)


>>>>> "Noel" == Noel Yap <yap_noel@yahoo.com> writes:

  Noel> --- Phillip Lord <p.lord@russet.org.uk> wrote:
  >> Sounds like the "msb" package to me. If effects both C-mouse-1,
  >> and the buffers menu.

  Noel> Looking at the code for mouse-buffer-menu, it looks like it
  Noel> has the capabilities to do what I want (ie categorise by major
  Noel> mode) which explains why I see it happening sometimes.  If
  Noel> anyone can help me figure out how to get this to work all the
  Noel> time, I'd be very grateful.


(require 'msb)
(msb-mode 1)


seems to work for me. 

Phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
  2002-11-12 15:36   ` Noel Yap
@ 2002-11-12 16:15     ` Noel Yap
  0 siblings, 0 replies; 8+ messages in thread
From: Noel Yap @ 2002-11-12 16:15 UTC (permalink / raw)


--- Noel Yap <yap_noel@yahoo.com> wrote:
> Looking at the code for mouse-buffer-menu, it looks
> like it has the capabilities to do what I want (ie
> categorise by major mode) which explains why I see
> it
> happening sometimes.  If anyone can help me figure
> out
> how to get this to work all the time, I'd be very
> grateful.

Hah!  I finally found it!

The following needs to be set:
    (setq mouse-buffer-menu-mode-mult 0)

IMHO, I shouldn't have had to go through the source to
find out about this; it should be mentioned in the
description for mouse-buffer-menu.

Noel

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: buffer menu categorisation
       [not found] <mailman.1037118815.16107.help-gnu-emacs@gnu.org>
@ 2002-11-13  7:49 ` Kai Großjohann
  0 siblings, 0 replies; 8+ messages in thread
From: Kai Großjohann @ 2002-11-13  7:49 UTC (permalink / raw)


Noel Yap <yap_noel@yahoo.com> writes:

> IMHO, I shouldn't have had to go through the source to
> find out about this; it should be mentioned in the
> description for mouse-buffer-menu.

Indeed.  Please make a (doc) bug report.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-11-13  7:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1037116489.7487.help-gnu-emacs@gnu.org>
2002-11-12 16:10 ` buffer menu categorisation Phillip Lord
2002-11-12 16:10 ` Glenn Morris
     [not found] <mailman.1037118815.16107.help-gnu-emacs@gnu.org>
2002-11-13  7:49 ` Kai Großjohann
     [not found] <mailman.1037107243.24272.help-gnu-emacs@gnu.org>
2002-11-12 13:53 ` Phillip Lord
2002-11-12 14:47   ` Noel Yap
2002-11-12 15:36   ` Noel Yap
2002-11-12 16:15     ` Noel Yap
2002-11-12 13:05 Noel Yap

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).