unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Fixed static window set-up while opening another buffer
@ 2004-01-08 13:21 Edward Wijaya
  2004-01-08 17:16 ` lawrence mitchell
  2004-01-17 20:08 ` Kai Grossjohann
  0 siblings, 2 replies; 5+ messages in thread
From: Edward Wijaya @ 2004-01-08 13:21 UTC (permalink / raw)


Hi,

Sometime when we are in a certain window, we want to open a buffer-list 
(C-x C-b)
or any other buffer.

However this buffer-list tend to be open in another windows instead
of the current windows (where the active-cursor rest).

Is there away to fix the opening of new buffer in the active window?

Thanks for your time.

Regards
Edward Wijaya
SINGAPORE


-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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

* Re: Fixed static window set-up while opening another buffer
  2004-01-08 13:21 Fixed static window set-up while opening another buffer Edward Wijaya
@ 2004-01-08 17:16 ` lawrence mitchell
  2004-01-08 22:41   ` leo
  2004-01-17 20:08 ` Kai Grossjohann
  1 sibling, 1 reply; 5+ messages in thread
From: lawrence mitchell @ 2004-01-08 17:16 UTC (permalink / raw)


Edward Wijaya wrote:

> Sometime when we are in a certain window, we want to open a
> buffer-list (C-x C-b) or any other buffer.

> However this buffer-list tend to be open in another windows
> instead of the current windows (where the active-cursor rest).

> Is there away to fix the opening of new buffer in the active
> window?

Does modifying the variable `same-window-regexps' help?

>From the docstring:

| List of regexps saying which buffers should appear in the
| selected window.  If a buffer name matches one of these
| regexps, then displaying it using `display-buffer' or
| `pop-to-buffer' switches to it in the selected window, rather
| than making it appear in some other window.

-- 
lawrence mitchell <wence@gmx.li>

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

* Re: Fixed static window set-up while opening another buffer
  2004-01-08 17:16 ` lawrence mitchell
@ 2004-01-08 22:41   ` leo
  0 siblings, 0 replies; 5+ messages in thread
From: leo @ 2004-01-08 22:41 UTC (permalink / raw)



"lawrence mitchell" <wence@gmx.li> wrote in message
news:?fnord?87wu82uzrs.fsf@ID-97657.usr.dfncis.de...
> Edward Wijaya wrote:
>
> > Is there away to fix the opening of new buffer in the active
> > window?
>
> Does modifying the variable `same-window-regexps' help?
>

or easier to handle but not as flexible is the var
`same-window-buffer-names'.

leo

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

* Re: Fixed static window set-up while opening another buffer
  2004-01-08 13:21 Fixed static window set-up while opening another buffer Edward Wijaya
  2004-01-08 17:16 ` lawrence mitchell
@ 2004-01-17 20:08 ` Kai Grossjohann
  2004-01-19 19:30   ` Kevin Rodgers
  1 sibling, 1 reply; 5+ messages in thread
From: Kai Grossjohann @ 2004-01-17 20:08 UTC (permalink / raw)


Edward Wijaya <ewijaya@singnet.com.sg> writes:

> Sometime when we are in a certain window, we want to open a
> buffer-list (C-x C-b)
> or any other buffer.
>
> However this buffer-list tend to be open in another windows instead
> of the current windows (where the active-cursor rest).

I will never understand why C-x C-b is bound to buffer-list by
default.  I prefer buffer-menu myself.  Try it!

(It is like buffer-list except that the list pops up in the same
window.)

Kai

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

* Re: Fixed static window set-up while opening another buffer
  2004-01-17 20:08 ` Kai Grossjohann
@ 2004-01-19 19:30   ` Kevin Rodgers
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2004-01-19 19:30 UTC (permalink / raw)


Kai Grossjohann wrote:

> I will never understand why C-x C-b is bound to buffer-list by
> default.  I prefer buffer-menu myself.  Try it!

Indeed, but I like electric-buffer-list even more than buffer-menu.


-- 
Kevin Rodgers

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

end of thread, other threads:[~2004-01-19 19:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-08 13:21 Fixed static window set-up while opening another buffer Edward Wijaya
2004-01-08 17:16 ` lawrence mitchell
2004-01-08 22:41   ` leo
2004-01-17 20:08 ` Kai Grossjohann
2004-01-19 19:30   ` Kevin Rodgers

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