* Re: opening new buffer in active buffer
@ 2013-07-05 7:51 martin rudalics
2013-07-05 11:51 ` Bernardo
0 siblings, 1 reply; 8+ messages in thread
From: martin rudalics @ 2013-07-05 7:51 UTC (permalink / raw)
To: bernardo.bacic; +Cc: help-gnu-emacs
> (add-to-list 'same-window-buffer-names "*Buffer List*")
The recommended way to do this with Emacs 24 is to customize
`display-buffer-alist'. Try, for example,
(setq display-buffer-alist '(("*Buffer List*" display-buffer-same-window (nil))))
martin
^ permalink raw reply [flat|nested] 8+ messages in thread
* opening new buffer in active buffer
@ 2013-07-04 14:48 Jannis
2013-07-04 14:59 ` Peter Dyballa
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Jannis @ 2013-07-04 14:48 UTC (permalink / raw)
To: help-gnu-emacs
Dear emacs users,
if i have several buffers open in emacs in splitted windows and I hit
Ctr-X Ctr-B to switch to another buffer, the list of buffers and, hence,
the new buffer always opens in another buffer window than the one that
is currently my window. Is there any way to change this so that I always
stay in the same window? I have figured out a way to first always click
once in all teh windows where I want the buffer not to open but this
seems very tedious to me.
Thanks
Jannis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: opening new buffer in active buffer
2013-07-04 14:48 Jannis
@ 2013-07-04 14:59 ` Peter Dyballa
2013-07-04 23:22 ` Bernardo
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2013-07-04 14:59 UTC (permalink / raw)
To: Jannis; +Cc: help-gnu-emacs
Am 04.07.2013 um 16:48 schrieb Jannis:
> Is there any way to change this so that I always stay in the same window?
Input "o" on the selected buffer's line in the *Buffer List* buffer. This will open the selected buffer in the "o"ther window – I most often do not have so many buffers open…
Another option is to C-x o (i.e. other-window) and then make a choice in the mini-buffer. Typing at least the buffer's first character(s) should enable you to complete the buffer's name and this buffer will take over the window from you started to switch to another buffer. Of course you leave out the first character(s) and press TAB that you can pick an entry from the *completions* list – which will disappear after.
--
Greetings
Pete
One cannot live by television, video games, top ten CDs, and dumb movies alone.
– Amiri Baraka, 1999
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: opening new buffer in active buffer
2013-07-04 14:48 Jannis
2013-07-04 14:59 ` Peter Dyballa
@ 2013-07-04 23:22 ` Bernardo
[not found] ` <mailman.287.1372980412.12400.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Bernardo @ 2013-07-04 23:22 UTC (permalink / raw)
To: help-gnu-emacs
> if i have several buffers open in emacs in splitted windows and I hit
> Ctr-X Ctr-B to switch to another buffer, the list of buffers and, hence,
> the new buffer always opens in another buffer window than the one that
> is currently my window. Is there any way to change this so that I always
> stay in the same window?
not sure if i interpret this correctly but maybe adding this to your
.emacs would help
(add-to-list 'same-window-buffer-names "*Buffer List*")
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.287.1372980412.12400.help-gnu-emacs@gnu.org>]
* Re: opening new buffer in active buffer
2013-07-04 14:48 Jannis
` (2 preceding siblings ...)
[not found] ` <mailman.287.1372980412.12400.help-gnu-emacs@gnu.org>
@ 2013-07-05 11:28 ` Andreas Röhler
2013-07-05 16:41 ` Bob Proulx
4 siblings, 0 replies; 8+ messages in thread
From: Andreas Röhler @ 2013-07-05 11:28 UTC (permalink / raw)
To: help-gnu-emacs
Am 04.07.2013 16:48, schrieb Jannis:
> Dear emacs users,
>
>
> if i have several buffers open in emacs in splitted windows and I hit Ctr-X Ctr-B to
Just C-x b
should provide it
switch to another buffer, the list of buffers and, hence, the new buffer always opens
> in another buffer window than the one that is currently my window. Is there any way to change this so that I always stay in the same window? I have figured out a way to
> first always click once in all teh windows where I want the buffer not to open but this seems very tedious to me.
>
>
> Thanks
> Jannis
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: opening new buffer in active buffer
2013-07-04 14:48 Jannis
` (3 preceding siblings ...)
2013-07-05 11:28 ` Andreas Röhler
@ 2013-07-05 16:41 ` Bob Proulx
4 siblings, 0 replies; 8+ messages in thread
From: Bob Proulx @ 2013-07-05 16:41 UTC (permalink / raw)
To: help-gnu-emacs
Jannis wrote:
> if i have several buffers open in emacs in splitted windows and I
> hit Ctr-X Ctr-B to switch to another buffer, the list of buffers
> and, hence, the new buffer always opens in another buffer window
> than the one that is currently my window. Is there any way to change
> this so that I always stay in the same window? I have figured out a
> way to first always click once in all teh windows where I want the
> buffer not to open but this seems very tedious to me.
Have you ever tried electric-buffer-list? Try it. You will like it!
(global-set-key "\C-x\C-b" 'electric-buffer-list) ; originally list-buffers
I love it and wouldn't think of returning to the original list-buffers
routine.
Bob
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-07-05 16:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-05 7:51 opening new buffer in active buffer martin rudalics
2013-07-05 11:51 ` Bernardo
-- strict thread matches above, loose matches on Subject: below --
2013-07-04 14:48 Jannis
2013-07-04 14:59 ` Peter Dyballa
2013-07-04 23:22 ` Bernardo
[not found] ` <mailman.287.1372980412.12400.help-gnu-emacs@gnu.org>
2013-07-05 1:09 ` Emanuel Berg
2013-07-05 11:28 ` Andreas Röhler
2013-07-05 16:41 ` Bob Proulx
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).