unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Better buffer menu?
@ 2002-09-06  7:18 Henrik Jönsson
  2002-09-06  8:12 ` Klaus Berndl
  2002-09-06 11:25 ` Kai Großjohann
  0 siblings, 2 replies; 10+ messages in thread
From: Henrik Jönsson @ 2002-09-06  7:18 UTC (permalink / raw)


I have recently switched from XEmacs to Gnu Emacs. I am very happy
with this so far. However, I don't like the buffer menu (in the GUI
menu). E.g. the buffer names is not left centered. The XEmacs is
better. It sorts the buffers according to the type.

Is it possible to this in Gnu Emacs?

/henrik

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

* Re: Better buffer menu?
  2002-09-06  7:18 Henrik Jönsson
@ 2002-09-06  8:12 ` Klaus Berndl
  2002-09-07 12:22   ` Henrik Jönsson
  2002-09-09 20:34   ` Jeff Rancier
  2002-09-06 11:25 ` Kai Großjohann
  1 sibling, 2 replies; 10+ messages in thread
From: Klaus Berndl @ 2002-09-06  8:12 UTC (permalink / raw)


On 6 Sep 2002, Henrik Jönsson wrote:



>  I have recently switched from XEmacs to Gnu Emacs. I am very happy
>  with this so far. However, I don't like the buffer menu (in the GUI
>  menu). E.g. the buffer names is not left centered. The XEmacs is
>  better. It sorts the buffers according to the type.
>  
>  Is it possible to this in Gnu Emacs?

use msb.el. For example add

,----
| (require 'msb)
| (msb-mode 1)
| (global-set-key [C-down-mouse-1] 'msb)
`----

to your .emacs or site-start.el file.

Optional: With the variable *msb-menu-cond* you can add more rules how to
split your buffers.

Ciao,
Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

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

* Re: Better buffer menu?
  2002-09-06  7:18 Henrik Jönsson
  2002-09-06  8:12 ` Klaus Berndl
@ 2002-09-06 11:25 ` Kai Großjohann
  1 sibling, 0 replies; 10+ messages in thread
From: Kai Großjohann @ 2002-09-06 11:25 UTC (permalink / raw)


henrik.jonsson@se.transport.bombardier.com (Henrik Jönsson) writes:

> I have recently switched from XEmacs to Gnu Emacs. I am very happy
> with this so far. However, I don't like the buffer menu (in the GUI
> menu). E.g. the buffer names is not left centered. The XEmacs is
> better. It sorts the buffers according to the type.

The Emacs mouse buffer menu automatically groups buffers when you
have many of them.  There is also a variable that says what "many"
means, but I forgot the name.

Maybe buffers-menu-max-size, maybe mouse-buffer-menu-maxlen?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

* RE: Better buffer menu?
@ 2002-09-06 14:14 Bingham, Jay
  2002-09-06 14:25 ` Kai Großjohann
       [not found] ` <mailman.1031322366.14099.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Bingham, Jay @ 2002-09-06 14:14 UTC (permalink / raw)


The variable that Kai is referring to is mouse-buffer-menu-mode-mult and as he stated it applies only to the mouse buffer menu i.e. the menu that you get when you do C-mouse-1.  I have mine set to 2.  I don't think that there is a similar variable for the buffer menu on the menu bar.

-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Product Assurance
.    Austin, TX
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire.          -Dr. George W. Crane-

 -----Original Message-----
From: 	Kai Großjohann [mailto:Kai.Grossjohann@CS.Uni-Dortmund.DE] 
Sent:	Friday, September 06, 2002 6:26 AM
To:	help-gnu-emacs@gnu.org
Subject:	Re: Better buffer menu?

henrik.jonsson@se.transport.bombardier.com (Henrik Jönsson) writes:

> I have recently switched from XEmacs to Gnu Emacs. I am very happy
> with this so far. However, I don't like the buffer menu (in the GUI
> menu). E.g. the buffer names is not left centered. The XEmacs is
> better. It sorts the buffers according to the type.

The Emacs mouse buffer menu automatically groups buffers when you
have many of them.  There is also a variable that says what "many"
means, but I forgot the name.

Maybe buffers-menu-max-size, maybe mouse-buffer-menu-maxlen?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: Better buffer menu?
  2002-09-06 14:14 Better buffer menu? Bingham, Jay
@ 2002-09-06 14:25 ` Kai Großjohann
       [not found] ` <mailman.1031322366.14099.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 10+ messages in thread
From: Kai Großjohann @ 2002-09-06 14:25 UTC (permalink / raw)
  Cc: help-gnu-emacs

"Bingham, Jay" <Jay.Bingham@hp.com> writes:

> The variable that Kai is referring to is mouse-buffer-menu-mode-mult
> and as he stated it applies only to the mouse buffer menu i.e. the
> menu that you get when you do C-mouse-1.  I have mine set to 2.  I
> don't think that there is a similar variable for the buffer menu on
> the menu bar.

Actually, I thought it'd also have effect on the menubar thing.
Amazing that it doesn't.

Thanks for helping out with the variable name.

After trying this out, may I suggest msb.el, like another poster
did.  That might do the trick better.  It makes the C-down-mouse-1
menu and the menubar menu look alike, and it can be configured to
just as you like.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

* Re: Better buffer menu?
       [not found] <mailman.1031321772.4898.help-gnu-emacs@gnu.org>
@ 2002-09-06 14:28 ` Klaus Berndl
  0 siblings, 0 replies; 10+ messages in thread
From: Klaus Berndl @ 2002-09-06 14:28 UTC (permalink / raw)


On Fri, 6 Sep 2002, Jay Bingham wrote:



>  The variable that Kai is referring to is mouse-buffer-menu-mode-mult and as
>  he stated it applies only to the mouse buffer menu i.e. the menu that you
>  get when you do C-mouse-1. I have mine set to 2. I don't think that there
>  is a similar variable for the buffer menu on the menu bar.

like previous mentioned, msb.el does all what you need.

Klaus

>  
>  -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software
>  Product Assurance . Austin, TX . Language is the apparel in which your
>  thoughts parade in public. . Never clothe them in vulgar and shoddy attire.
>  -Dr. George W. Crane-
>  
>   -----Original Message-----
>  From: 	Kai Großjohann [mailto:Kai.Grossjohann@CS.Uni-Dortmund.DE] 
>  Sent:	Friday, September 06, 2002 6:26 AM
>  To:	help-gnu-emacs@gnu.org
>  Subject:	Re: Better buffer menu?
>  
>  henrik.jonsson@se.transport.bombardier.com (Henrik Jönsson) writes:
>  
> > I have recently switched from XEmacs to Gnu Emacs. I am very happy
> > with this so far. However, I don't like the buffer menu (in the GUI
> > menu). E.g. the buffer names is not left centered. The XEmacs is
> > better. It sorts the buffers according to the type.
>  
>  The Emacs mouse buffer menu automatically groups buffers when you
>  have many of them.  There is also a variable that says what "many"
>  means, but I forgot the name.
>  
>  Maybe buffers-menu-max-size, maybe mouse-buffer-menu-maxlen?
>  
>  kai

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

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

* Re: Better buffer menu?
       [not found] ` <mailman.1031322366.14099.help-gnu-emacs@gnu.org>
@ 2002-09-07  1:01   ` Miles Bader
  0 siblings, 0 replies; 10+ messages in thread
From: Miles Bader @ 2002-09-07  1:01 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Actually, I thought it'd also have effect on the menubar thing.
> Amazing that it doesn't.

Yeah, the whole buffers-menu situation is kind of screwed up in emacs;
too many separate implementations of the same thing not sharing any
behavior.

It's been one of those things I've wanted to clean up, but of course,
`so little tyme'...

> After trying this out, may I suggest msb.el, like another poster
> did.  That might do the trick better.  It makes the C-down-mouse-1
> menu and the menubar menu look alike, and it can be configured to
> just as you like.

msb-mode seems to do what the original poster wanted though.

Probably the various modes ought to be merged to some degree.  For
instance, I added some control variables like `buffers-menu-show-status'
to the normal buffers-menu code which I'd like msb-mode to pay attention
to as well.  In fact, I think it would be cleaner to have the
distinction of `grouped by type' etc. an orthogonal attribute of the
normal buffers-menu, rather than a separate mode (the current
implementation is presumably because msb-mode was originall distributed
separately from emacs).

-Miles
-- 
I have seen the enemy, and he is us.  -- Pogo

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

* Re: Better buffer menu?
  2002-09-06  8:12 ` Klaus Berndl
@ 2002-09-07 12:22   ` Henrik Jönsson
  2002-09-09 20:34   ` Jeff Rancier
  1 sibling, 0 replies; 10+ messages in thread
From: Henrik Jönsson @ 2002-09-07 12:22 UTC (permalink / raw)


>
>use msb.el. For example add
>

Great! Exactly what I needed. Thanks!

/henrik

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

* Re: Better buffer menu?
  2002-09-06  8:12 ` Klaus Berndl
  2002-09-07 12:22   ` Henrik Jönsson
@ 2002-09-09 20:34   ` Jeff Rancier
  2002-09-10  9:05     ` Kai Großjohann
  1 sibling, 1 reply; 10+ messages in thread
From: Jeff Rancier @ 2002-09-09 20:34 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

Is msb.el better than bs.el?

"Klaus Berndl" <Klaus.Berndl@sdm.de> wrote in message
news:u3csnlenz.fsf@sdm.de...
> On 6 Sep 2002, Henrik Jönsson wrote:
>
>
>
> >  I have recently switched from XEmacs to Gnu Emacs. I am very happy
> >  with this so far. However, I don't like the buffer menu (in the GUI
> >  menu). E.g. the buffer names is not left centered. The XEmacs is
> >  better. It sorts the buffers according to the type.
> >
> >  Is it possible to this in Gnu Emacs?
>
> use msb.el. For example add
>
> ,----
> | (require 'msb)
> | (msb-mode 1)
> | (global-set-key [C-down-mouse-1] 'msb)
> `----
>
> to your .emacs or site-start.el file.
>
> Optional: With the variable *msb-menu-cond* you can add more rules how to
> split your buffers.
>
> Ciao,
> Klaus
>
> --
> Klaus Berndl mailto: klaus.berndl@sdm.de
> sd&m AG http://www.sdm.de
> software design & management
> Thomas-Dehler-Str. 27, 81737 München, Germany
> Tel +49 89 63812-392, Fax -220

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

* Re: Better buffer menu?
  2002-09-09 20:34   ` Jeff Rancier
@ 2002-09-10  9:05     ` Kai Großjohann
  0 siblings, 0 replies; 10+ messages in thread
From: Kai Großjohann @ 2002-09-10  9:05 UTC (permalink / raw)


"Jeff Rancier" <jeff.rancier@softechnics.com> writes:

> Is msb.el better than bs.el?

You are comparing apples with oranges.  msb.el give you a popup menu
when you hit C-mouse-1.  bs.el gives you a buffer.

Do you prefer buffers or popup menus?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

end of thread, other threads:[~2002-09-10  9:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 14:14 Better buffer menu? Bingham, Jay
2002-09-06 14:25 ` Kai Großjohann
     [not found] ` <mailman.1031322366.14099.help-gnu-emacs@gnu.org>
2002-09-07  1:01   ` Miles Bader
     [not found] <mailman.1031321772.4898.help-gnu-emacs@gnu.org>
2002-09-06 14:28 ` Klaus Berndl
  -- strict thread matches above, loose matches on Subject: below --
2002-09-06  7:18 Henrik Jönsson
2002-09-06  8:12 ` Klaus Berndl
2002-09-07 12:22   ` Henrik Jönsson
2002-09-09 20:34   ` Jeff Rancier
2002-09-10  9:05     ` Kai Großjohann
2002-09-06 11:25 ` Kai Großjohann

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