unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Donot want to see default buffers
@ 2007-03-11 16:58 CloudStrife
  2007-03-12 17:07 ` rgb
  2007-03-13  5:15 ` B. T. Raven
  0 siblings, 2 replies; 4+ messages in thread
From: CloudStrife @ 2007-03-11 16:58 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
I donot want to see the default buffers like scratch Messages
Completions etc in C-x C-b . Can anyone help me out. I am new to emacs
and the simpler the solution the better it is.
Regards
Cloud

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

* Re: Donot want to see default buffers
  2007-03-11 16:58 Donot want to see default buffers CloudStrife
@ 2007-03-12 17:07 ` rgb
  2007-03-13 17:44   ` Robert Thorpe
  2007-03-13  5:15 ` B. T. Raven
  1 sibling, 1 reply; 4+ messages in thread
From: rgb @ 2007-03-12 17:07 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 11, 11:58 am, "CloudStrife" <santosh.iitm2...@gmail.com> wrote:
> Hi,
> I donot want to see the default buffers like scratch Messages
> Completions etc in C-x C-b . Can anyone help me out. I am new to emacs
> and the simpler the solution the better it is.
> Regards
> Cloud

The very simplest answer is to use C-u C-x C-b

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

* Re: Donot want to see default buffers
  2007-03-11 16:58 Donot want to see default buffers CloudStrife
  2007-03-12 17:07 ` rgb
@ 2007-03-13  5:15 ` B. T. Raven
  1 sibling, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2007-03-13  5:15 UTC (permalink / raw)
  To: help-gnu-emacs

CloudStrife wrote:
> Hi,
> I donot want to see the default buffers like scratch Messages
> Completions etc in C-x C-b . Can anyone help me out. I am new to emacs
> and the simpler the solution the better it is.
> Regards
> Cloud
> 

If you enable iswitchb in Options>Customize Emacs, then you can add regexps 
to iswitchb-buffer-ignore that will cause various classes of buffer names to 
be masked out. For example if you insert ^\* into the ibi list then buffer 
names starting with * will be masked out when you type C-x b. These buffer 
names can still be seen and selected with the mouse from the menu.

Ed

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

* Re: Donot want to see default buffers
  2007-03-12 17:07 ` rgb
@ 2007-03-13 17:44   ` Robert Thorpe
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Thorpe @ 2007-03-13 17:44 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 12, 5:07 pm, "rgb" <rbiel...@i1.net> wrote:
> On Mar 11, 11:58 am, "CloudStrife" <santosh.iitm2...@gmail.com> wrote:
>
> > Hi,
> > I donot want to see the default buffers like scratch Messages
> > Completions etc in C-x C-b . Can anyone help me out. I am new to emacs
> > and the simpler the solution the better it is.
> > Regards
> > Cloud
>
> The very simplest answer is to use C-u C-x C-b

And to be extra sneaky you can do:-

(defun list-buffers (&optional files-only)
  "Display a list of names of existing buffers.
The list is displayed in a buffer named `*Buffer List*'.
Note that buffers with names starting with spaces are omitted.
Non-null optional arg FILES-ONLY means mention only file buffers.

The M column contains a * for buffers that are modified.
The R column contains a % for buffers that are read-only."
  (interactive "P")
  (display-buffer (list-buffers-noselect (not files-only))))

Which reverse the meanings, so C-x C-b shows only file buffers and C-u
C-x C-b shows all.

There are several buffer listing systems in Emacs you can choose
according to taste standard list-buffers, bs-show and iswitchb.  You
could do this using iswitchb as B.T.Raven points out.  Also the bs-
show system automatically only lists buffers associated with files.

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

end of thread, other threads:[~2007-03-13 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-11 16:58 Donot want to see default buffers CloudStrife
2007-03-12 17:07 ` rgb
2007-03-13 17:44   ` Robert Thorpe
2007-03-13  5:15 ` B. T. Raven

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