* How to change between buffers?
@ 2005-11-14 16:53 Paminu
2005-11-14 17:00 ` Peter Dyballa
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Paminu @ 2005-11-14 16:53 UTC (permalink / raw)
I have split my emacs in two buffers. Are there some kind of keyboard
shortcut that shifts between a buffer that has been split in two?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to change between buffers?
2005-11-14 16:53 How to change between buffers? Paminu
@ 2005-11-14 17:00 ` Peter Dyballa
2005-11-14 17:08 ` Albert Reiner
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2005-11-14 17:00 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 14.11.2005 um 17:53 schrieb Paminu:
> Are there some kind of keyboard
> shortcut that shifts between a buffer that has been split in two?
C-x o.
--
Mit friedvollen Grüßen
Pete
Government is actually the worst failure of civilized man. There has
never been a really good one, and even those that are most tolerable
are arbitrary, cruel, grasping and unintelligent. -- H. L. Mencken
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to change between buffers?
2005-11-14 16:53 How to change between buffers? Paminu
2005-11-14 17:00 ` Peter Dyballa
@ 2005-11-14 17:08 ` Albert Reiner
2005-11-14 17:30 ` Paminu
2005-11-14 17:11 ` Pascal Bourguignon
2005-11-17 18:10 ` Edward Dodge
3 siblings, 1 reply; 7+ messages in thread
From: Albert Reiner @ 2005-11-14 17:08 UTC (permalink / raw)
[Paminu <jadajada@asd.com>, Mon, 14 Nov 2005 17:53:45 +0100]:
> I have split my emacs in two buffers. Are there some kind of keyboard
> shortcut that shifts between a buffer that has been split in two?
Is C-x o what you need?
,----[ C-h k C-x o ]
| C-x o runs the command other-window
| (other-window ARG &optional ALL-FRAMES)
| which is an interactive built-in function.
|
| Select the ARG'th different window on this frame.
| All windows on current frame are arranged in a cyclic order.
| This command selects the window ARG steps away in that order.
| A negative ARG moves in the opposite order. If the optional second
| argument ALL_FRAMES is non-nil, cycle through all frames.
`----
Regards,
Albert.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to change between buffers?
2005-11-14 17:08 ` Albert Reiner
@ 2005-11-14 17:30 ` Paminu
0 siblings, 0 replies; 7+ messages in thread
From: Paminu @ 2005-11-14 17:30 UTC (permalink / raw)
Albert Reiner wrote:
> [Paminu <jadajada@asd.com>, Mon, 14 Nov 2005 17:53:45 +0100]:
>> I have split my emacs in two buffers. Are there some kind of keyboard
>> shortcut that shifts between a buffer that has been split in two?
>
> Is C-x o what you need?
>
> ,----[ C-h k C-x o ]
> | C-x o runs the command other-window
> | (other-window ARG &optional ALL-FRAMES)
> | which is an interactive built-in function.
> |
> | Select the ARG'th different window on this frame.
> | All windows on current frame are arranged in a cyclic order.
> | This command selects the window ARG steps away in that order.
> | A negative ARG moves in the opposite order. If the optional second
> | argument ALL_FRAMES is non-nil, cycle through all frames.
> `----
>
> Regards,
>
> Albert.
Thanks that was just what I wanted!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to change between buffers?
2005-11-14 16:53 How to change between buffers? Paminu
2005-11-14 17:00 ` Peter Dyballa
2005-11-14 17:08 ` Albert Reiner
@ 2005-11-14 17:11 ` Pascal Bourguignon
2005-11-17 18:10 ` Edward Dodge
3 siblings, 0 replies; 7+ messages in thread
From: Pascal Bourguignon @ 2005-11-14 17:11 UTC (permalink / raw)
Paminu <jadajada@asd.com> writes:
> I have split my emacs in two buffers. Are there some kind of keyboard
> shortcut that shifts between a buffer that has been split in two?
No. But when you have two windows in an emacs frame, you can switch
from one window to the other with: C-x o
or: M-x other-window RET
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
__Pascal Bourguignon__ http://www.informatimago.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to change between buffers?
2005-11-14 16:53 How to change between buffers? Paminu
` (2 preceding siblings ...)
2005-11-14 17:11 ` Pascal Bourguignon
@ 2005-11-17 18:10 ` Edward Dodge
2005-11-19 21:39 ` martin
3 siblings, 1 reply; 7+ messages in thread
From: Edward Dodge @ 2005-11-17 18:10 UTC (permalink / raw)
Paminu <jadajada@asd.com> writes:
> I have split my emacs in two buffers. Are there some kind of keyboard
> shortcut that shifts between a buffer that has been split in two?
In EMACS-speak, a buffer cannot be split because it's not a display
element. Here's the definitions that are used in EMACsia:
buffer - any file that is open in EMACS.
window - any view of a buffer
frame - the X-window in which one or more EMACS windows reside
--
Edward Dodge
__o
_`\(,_
(_)/ (_) --- ---
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How to change between buffers?
2005-11-17 18:10 ` Edward Dodge
@ 2005-11-19 21:39 ` martin
0 siblings, 0 replies; 7+ messages in thread
From: martin @ 2005-11-19 21:39 UTC (permalink / raw)
"ED" == Edward Dodge <user@foo.bar> writes:
ED> Newsgroups: gnu.emacs.help
ED> Date: 17 Nov 2005 11:10:35 -0700
ED> Organization: Pending Review by Mr. Travis Bickle
ED>
ED> Paminu <jadajada@asd.com> writes:
ED>
>> I have split my emacs in two buffers. Are there some kind of keyboard
>> shortcut that shifts between a buffer that has been split in two?
ED>
ED> In EMACS-speak, a buffer cannot be split because it's not a display
ED> element. Here's the definitions that are used in EMACsia:
ED>
ED> buffer - any file that is open in EMACS.
ED> window - any view of a buffer
ED> frame - the X-window in which one or more EMACS windows reside
ED>
ED> --
ED> Edward Dodge
ED>
ED> __o
ED> _`\(,_
ED> (_)/ (_) --- ---
ED>
hi,
look at the result of C-h b (runs the command describe-bindings).
you will find
C-x o runs the command other-window
there is also the command
bury-buffer is an interactive built-in function.
(bury-buffer &optional BUFFER)
Put BUFFER at the end of the list of all buffers.
There it is the least likely candidate for `other-buffer' to return;
thus, the least likely buffer for M-x switch-to-buffer to select by default.
If BUFFER is nil or omitted, bury the current buffer.
Also, if BUFFER is nil or omitted, remove the current buffer from the
selected window if it is displayed there.
you may bind it to key of your choice.
have fun
martin
--
parozusa at web dot de
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-11-19 21:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 16:53 How to change between buffers? Paminu
2005-11-14 17:00 ` Peter Dyballa
2005-11-14 17:08 ` Albert Reiner
2005-11-14 17:30 ` Paminu
2005-11-14 17:11 ` Pascal Bourguignon
2005-11-17 18:10 ` Edward Dodge
2005-11-19 21:39 ` martin
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).