all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How do I switch between buffers using keyboard shortcut?
@ 2007-01-01  0:20 Logan Lee
  2007-01-01  0:26 ` Logan Lee
  2007-01-01 13:21 ` Robert Thorpe
  0 siblings, 2 replies; 7+ messages in thread
From: Logan Lee @ 2007-01-01  0:20 UTC (permalink / raw)


C-left or C-right don't work for me. :?

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

* Re: How do I switch between buffers using keyboard shortcut?
  2007-01-01  0:20 How do I switch between buffers using keyboard shortcut? Logan Lee
@ 2007-01-01  0:26 ` Logan Lee
  2007-01-01  1:15   ` Matthew Flaschen
                     ` (2 more replies)
  2007-01-01 13:21 ` Robert Thorpe
  1 sibling, 3 replies; 7+ messages in thread
From: Logan Lee @ 2007-01-01  0:26 UTC (permalink / raw)


Logan Lee <10464307@uts.edu.au> writes:

> C-left or C-right don't work for me. :?
what I meant was C-x left or C-x right. they don't work.

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

* Re: How do I switch between buffers using keyboard shortcut?
  2007-01-01  0:26 ` Logan Lee
@ 2007-01-01  1:15   ` Matthew Flaschen
  2007-01-01  1:42   ` Charles philip Chan
       [not found]   ` <mailman.2600.1167614146.2155.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 7+ messages in thread
From: Matthew Flaschen @ 2007-01-01  1:15 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 655 bytes --]

Someone just asked this, but I'll give you my take.  The standard way is
C-x-b , then type the buffer name or press enter for the default.  If
you install swbuff (http://www.emacswiki.org/cgi-bin/wiki/SwBuff), then
add the below to your .emacs file, those shortcuts will work.  Tell me
if you need more help:

(require 'swbuff)
(global-set-key [?\C-x left] 'swbuff-switch-to-previous-buffer)
(global-set-key [?\C-x right] 'swbuff-switch-to-next-buffer)

Matthew Flaschen

Logan Lee wrote:
> Logan Lee <10464307@uts.edu.au> writes:
> 
>> C-left or C-right don't work for me. :?
> what I meant was C-x left or C-x right. they don't work.


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: How do I switch between buffers using keyboard shortcut?
  2007-01-01  0:26 ` Logan Lee
  2007-01-01  1:15   ` Matthew Flaschen
@ 2007-01-01  1:42   ` Charles philip Chan
  2007-01-01  1:50     ` Charles philip Chan
       [not found]   ` <mailman.2600.1167614146.2155.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 7+ messages in thread
From: Charles philip Chan @ 2007-01-01  1:42 UTC (permalink / raw)


On 31 Dec 2006, 10464307@uts.edu.au wrote:

> what I meant was C-x left or C-x right. they don't work.

What is the output of:

     C-h k C-x <left>

and

     C-h k C-x <right>

?

Charles

-- 
        if(ct<0)
                ct=2;        /* Shit happens.. */
        linux-2.6.6/drivers/net/wan/z85230.c

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

* Re: How do I switch between buffers using keyboard shortcut?
  2007-01-01  1:42   ` Charles philip Chan
@ 2007-01-01  1:50     ` Charles philip Chan
  0 siblings, 0 replies; 7+ messages in thread
From: Charles philip Chan @ 2007-01-01  1:50 UTC (permalink / raw)



Oops sorry, just realize that you are using an Emacs version <
22.0.50. These binding won't work.

Charles

-- 
panic("Damn it Jim! I'm a doctor, not a programmer! "
                "Oh, wait a sec, I am a programmer. "
                "And, who's Jim?!?!\n"
                "Arrgghh! We've done it again!\n");
        linux-2.6.6/drivers/message/fusion/mptlan.c

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

* Re: How do I switch between buffers using keyboard shortcut?
       [not found]   ` <mailman.2600.1167614146.2155.help-gnu-emacs@gnu.org>
@ 2007-01-01  7:56     ` Logan Lee
  0 siblings, 0 replies; 7+ messages in thread
From: Logan Lee @ 2007-01-01  7:56 UTC (permalink / raw)


Matthew Flaschen <matthew.flaschen@gatech.edu> writes:

> Someone just asked this, but I'll give you my take.  The standard way is
> C-x-b , then type the buffer name or press enter for the default.  If
> you install swbuff (http://www.emacswiki.org/cgi-bin/wiki/SwBuff), then
> add the below to your .emacs file, those shortcuts will work.  Tell me
> if you need more help:
>
> (require 'swbuff)
> (global-set-key [?\C-x left] 'swbuff-switch-to-previous-buffer)
> (global-set-key [?\C-x right] 'swbuff-switch-to-next-buffer)
>
> Matthew Flaschen
>
> Logan Lee wrote:
>> Logan Lee <10464307@uts.edu.au> writes:
>> 
>>> C-left or C-right don't work for me. :?
>> what I meant was C-x left or C-x right. they don't work.

Yes, it works perfectly. Thank you for your kind help. Also, thanks to others. ;)

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

* Re: How do I switch between buffers using keyboard shortcut?
  2007-01-01  0:20 How do I switch between buffers using keyboard shortcut? Logan Lee
  2007-01-01  0:26 ` Logan Lee
@ 2007-01-01 13:21 ` Robert Thorpe
  1 sibling, 0 replies; 7+ messages in thread
From: Robert Thorpe @ 2007-01-01 13:21 UTC (permalink / raw)


Logan Lee wrote:
> C-left or C-right don't work for me. :?

These keys work in Emacs version newer than 21.4 but not in those
older.
You should be able to remove the lines mentioned by the other poster
from your .emacs if you switch to Emacs 22.

Generally the keys are:-

C-x b switch-to-buffer - Prompts for a buffer name with completion
C-x 4 b switch-to-buffer-other-window
C-x 5 b switch-to-buffer-other-frame
C-x C-b list-buffer - Presents a list allows the user to select
C-x <left> previous-buffer - Previous buffer, on Emacs 22
C-x <right> next-buffer - Next buffer on Emacs 22
C-x o other-window - Switch to other window

I also bing C-<tab> so it switches to the other buffer with

(global-set-key [C-tab] (lambda (buf) (interactive "i")
						  (switch-to-buffer (other-buffer))))

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

end of thread, other threads:[~2007-01-01 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-01  0:20 How do I switch between buffers using keyboard shortcut? Logan Lee
2007-01-01  0:26 ` Logan Lee
2007-01-01  1:15   ` Matthew Flaschen
2007-01-01  1:42   ` Charles philip Chan
2007-01-01  1:50     ` Charles philip Chan
     [not found]   ` <mailman.2600.1167614146.2155.help-gnu-emacs@gnu.org>
2007-01-01  7:56     ` Logan Lee
2007-01-01 13:21 ` Robert Thorpe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.