* How to switch to the recent available buffer easily
@ 2006-12-27 10:12 Ronald
2006-12-27 17:04 ` harry meyers
` (5 more replies)
0 siblings, 6 replies; 16+ messages in thread
From: Ronald @ 2006-12-27 10:12 UTC (permalink / raw)
I think ``C-x b ret" is not easy enough.
I find it is a common action for me recently.
Is there any good method?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
@ 2006-12-27 17:04 ` harry meyers
2006-12-27 17:56 ` Andreas Roehler
` (4 subsequent siblings)
5 siblings, 0 replies; 16+ messages in thread
From: harry meyers @ 2006-12-27 17:04 UTC (permalink / raw)
Ronald schrieb:
> I think ``C-x b ret" is not easy enough.
> I find it is a common action for me recently.
> Is there any good method?
I use cyclebuffer.el
When hitting f12 I switch to the previous buffer.
harry
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
2006-12-27 17:04 ` harry meyers
@ 2006-12-27 17:56 ` Andreas Roehler
2006-12-27 18:27 ` Kevin Rodgers
` (3 subsequent siblings)
5 siblings, 0 replies; 16+ messages in thread
From: Andreas Roehler @ 2006-12-27 17:56 UTC (permalink / raw)
Cc: help-gnu-emacs
Ronald schrieb:
> I think ``C-x b ret" is not easy enough.
> I find it is a common action for me recently.
> Is there any good method?
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
I use this
(global-set-key "\M-+" 'letztpuffer)
(defun letztpuffer ()
" "
(interactive)
(switch-to-buffer (other-buffer)))
__
Andreas Roehler
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
2006-12-27 17:04 ` harry meyers
2006-12-27 17:56 ` Andreas Roehler
@ 2006-12-27 18:27 ` Kevin Rodgers
2006-12-27 18:35 ` Hadron Quark
` (2 subsequent siblings)
5 siblings, 0 replies; 16+ messages in thread
From: Kevin Rodgers @ 2006-12-27 18:27 UTC (permalink / raw)
Ronald wrote:
> I think ``C-x b ret" is not easy enough.
> I find it is a common action for me recently.
> Is there any good method?
There are *many* good methods. I prefer:
(global-set-key "\C-x\C-b" 'electric-buffer-list) ; was: list-buffers
Then `C-x C-b n SPC' to select the most recent buffer, or repeat
the `n' for less recent buffers.
--
Kevin
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
` (2 preceding siblings ...)
2006-12-27 18:27 ` Kevin Rodgers
@ 2006-12-27 18:35 ` Hadron Quark
2006-12-28 14:47 ` reader
[not found] ` <mailman.2438.1167317263.2155.help-gnu-emacs@gnu.org>
2006-12-27 19:05 ` rgb
2006-12-27 23:06 ` Enno Schwass
5 siblings, 2 replies; 16+ messages in thread
From: Hadron Quark @ 2006-12-27 18:35 UTC (permalink / raw)
Ronald <followait@163.com> writes:
> I think ``C-x b ret" is not easy enough.
> I find it is a common action for me recently.
> Is there any good method?
I use this:
;; Cycle buffers #####################################
(autoload 'cyclebuffer-forward "cyclebuffer" "cycle forward" t)
(autoload 'cyclebuffer-backward "cyclebuffer" "cycle backward" t)
(global-set-key [?\C-x right] 'cyclebuffer-forward)
(global-set-key [?\C-x left] 'cyclebuffer-backward)
But tend to use iswitchb more often as I have a lot of buffers open:
http://www.emacswiki.org/cgi-bin/wiki/IswitchBuffers
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
` (3 preceding siblings ...)
2006-12-27 18:35 ` Hadron Quark
@ 2006-12-27 19:05 ` rgb
2006-12-28 14:41 ` reader
[not found] ` <mailman.2436.1167316913.2155.help-gnu-emacs@gnu.org>
2006-12-27 23:06 ` Enno Schwass
5 siblings, 2 replies; 16+ messages in thread
From: rgb @ 2006-12-27 19:05 UTC (permalink / raw)
Ronald wrote:
> I think ``C-x b ret" is not easy enough.
> I find it is a common action for me recently.
> Is there any good method?
Version 22.0.50 (and later) have next-buffer and previous-buffer
already mapped to C-x <right> and C-x <left>.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
` (4 preceding siblings ...)
2006-12-27 19:05 ` rgb
@ 2006-12-27 23:06 ` Enno Schwass
5 siblings, 0 replies; 16+ messages in thread
From: Enno Schwass @ 2006-12-27 23:06 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I bound some keys to next-buffer and previous-buffer (in cvs-emacs).
Its good enough for me, but there are some other solutions.
Look here
http://www.emacswiki.org/cgi-bin/wiki?SwitchingBuffers
Hope it helps
Enno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
iD8DBQFFkvxgRar8+mLBvIcRAlnWAJ9nLoxNvkcS538BYLtAWIvwHQpaQACfWaYA
8BhOV13THrnQ7lzzQTKXnO8=
=qmiF
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 19:05 ` rgb
@ 2006-12-28 14:41 ` reader
[not found] ` <mailman.2436.1167316913.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: reader @ 2006-12-28 14:41 UTC (permalink / raw)
"rgb" <rbielaws@i1.net> writes:
> Ronald wrote:
>> I think ``C-x b ret" is not easy enough.
>> I find it is a common action for me recently.
>> Is there any good method?
>
> Version 22.0.50 (and later) have next-buffer and previous-buffer
> already mapped to C-x <right> and C-x <left>.
I don't find that to be true with:
GNU Emacs 22.0.92.1 (i686-pc-linux-gnu, X toolkit) of 2006-12-21
Is it in some special mode?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-27 18:35 ` Hadron Quark
@ 2006-12-28 14:47 ` reader
[not found] ` <mailman.2438.1167317263.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: reader @ 2006-12-28 14:47 UTC (permalink / raw)
Hadron Quark <hadronquark@gmail.com> writes:
> ;; Cycle buffers #####################################
> (autoload 'cyclebuffer-forward "cyclebuffer" "cycle forward" t)
> (autoload 'cyclebuffer-backward "cyclebuffer" "cycle backward" t)
> (global-set-key [?\C-x right] 'cyclebuffer-forward)
> (global-set-key [?\C-x left] 'cyclebuffer-backward)
Using:
GNU Emacs 22.0.92.1 (i686-pc-linux-gnu, X toolkit) of 2006-12-21
That fails here. I get this error after M-x eval-region on the code
then: C-x <left arrow>
Loading /usr/local/share/emacs/site-lisp/cyclebuffer.el (source)...
load-with-code-conversion: Symbol's value as variable is void: From:
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
[not found] ` <mailman.2436.1167316913.2155.help-gnu-emacs@gnu.org>
@ 2006-12-28 16:01 ` Charles philip Chan
2006-12-28 18:46 ` reader
2006-12-28 16:38 ` Peter Lee
1 sibling, 1 reply; 16+ messages in thread
From: Charles philip Chan @ 2006-12-28 16:01 UTC (permalink / raw)
On 28 Dec 2006, reader@newsguy.com wrote:
> I don't find that to be true with:
> GNU Emacs 22.0.92.1 (i686-pc-linux-gnu, X toolkit) of 2006-12-21
Strange it works fine for me (I am also using 22.0.92.1), C-x <left> is
bound to:
,----
| C-x <left> runs the command previous-buffer
| which is an interactive compiled Lisp function in `simple.el'.
| It is bound to C-x <C-left>, C-x <left>, <menu-bar> <buffer>
| <previous-buffer>. (previous-buffer)
|
| Switch to the previous buffer in cyclic order.
`----
and C-x <right> is bound to:
,----
| C-x <right> runs the command next-buffer
| which is an interactive compiled Lisp function in `simple.el'.
| It is bound to C-x <C-right>, C-x <right>, <menu-bar> <buffer>
| <next-buffer>. (next-buffer)
|
| Switch to the next buffer in cyclic order.
`----
Charles
--
"sic transit discus mundi"
(From the System Administrator's Guide, by Lars Wirzenius)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
[not found] ` <mailman.2438.1167317263.2155.help-gnu-emacs@gnu.org>
@ 2006-12-28 16:03 ` Charles philip Chan
2006-12-28 18:42 ` reader
2006-12-28 20:21 ` David Kastrup
1 sibling, 1 reply; 16+ messages in thread
From: Charles philip Chan @ 2006-12-28 16:03 UTC (permalink / raw)
On 28 Dec 2006, reader@newsguy.com wrote:
> That fails here. I get this error after M-x eval-region on the code
> then: C-x <left arrow>
> Loading /usr/local/share/emacs/site-lisp/cyclebuffer.el (source)...
> load-with-code-conversion: Symbol's value as variable is void: From:
It looks like cyclebuffer.el is interferring here.
Charles
--
/* Host controller interrupts must not be running while calling this
* function or the penguins will get angry. */
linux-2.2.16/drivers/usb/ohci.c
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
[not found] ` <mailman.2436.1167316913.2155.help-gnu-emacs@gnu.org>
2006-12-28 16:01 ` Charles philip Chan
@ 2006-12-28 16:38 ` Peter Lee
1 sibling, 0 replies; 16+ messages in thread
From: Peter Lee @ 2006-12-28 16:38 UTC (permalink / raw)
>>>> reader writes:
> "rgb" <rbielaws@i1.net> writes:
>> Ronald wrote:
>> Version 22.0.50 (and later) have next-buffer and previous-buffer
>> already mapped to C-x <right> and C-x <left>.
> I don't find that to be true with:
> GNU Emacs 22.0.92.1 (i686-pc-linux-gnu, X toolkit) of 2006-12-21
It's true with:
GNU Emacs 22.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-12-01
C-x <right> runs the command next-buffer
C-x <left> runs the command previous-buffer
> Is it in some special mode?
Don't think so...
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-28 16:03 ` Charles philip Chan
@ 2006-12-28 18:42 ` reader
0 siblings, 0 replies; 16+ messages in thread
From: reader @ 2006-12-28 18:42 UTC (permalink / raw)
"Charles philip Chan" <cpchan@sympatico.ca> writes:
> On 28 Dec 2006, reader@newsguy.com wrote:
>
>> That fails here. I get this error after M-x eval-region on the code
>> then: C-x <left arrow>
>> Loading /usr/local/share/emacs/site-lisp/cyclebuffer.el (source)...
>> load-with-code-conversion: Symbol's value as variable is void: From:
>
> It looks like cyclebuffer.el is interferring here.
Ahh yes... thanks
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-28 16:01 ` Charles philip Chan
@ 2006-12-28 18:46 ` reader
0 siblings, 0 replies; 16+ messages in thread
From: reader @ 2006-12-28 18:46 UTC (permalink / raw)
"Charles philip Chan" <cpchan@sympatico.ca> writes:
> Strange it works fine for me (I am also using 22.0.92.1), C-x <left> is
> bound to:
>
> ,----
> | C-x <left> runs the command previous-buffer
> | which is an interactive compiled Lisp function in `simple.el'.
> | It is bound to C-x <C-left>, C-x <left>, <menu-bar> <buffer>
> | <previous-buffer>. (previous-buffer)
> |
> | Switch to the previous buffer in cyclic order.
> `----
[...]
Yuck, I've apparently bound it to append-to-buffer at some point.
emacs -q --no-site-file
and I see it works as advertised.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
[not found] ` <mailman.2438.1167317263.2155.help-gnu-emacs@gnu.org>
2006-12-28 16:03 ` Charles philip Chan
@ 2006-12-28 20:21 ` David Kastrup
2006-12-29 11:04 ` reader
1 sibling, 1 reply; 16+ messages in thread
From: David Kastrup @ 2006-12-28 20:21 UTC (permalink / raw)
reader@newsguy.com writes:
> Hadron Quark <hadronquark@gmail.com> writes:
>
>> ;; Cycle buffers #####################################
>> (autoload 'cyclebuffer-forward "cyclebuffer" "cycle forward" t)
>> (autoload 'cyclebuffer-backward "cyclebuffer" "cycle backward" t)
>> (global-set-key [?\C-x right] 'cyclebuffer-forward)
>> (global-set-key [?\C-x left] 'cyclebuffer-backward)
>
> Using:
> GNU Emacs 22.0.92.1 (i686-pc-linux-gnu, X toolkit) of 2006-12-21
>
> That fails here. I get this error after M-x eval-region on the code
> then: C-x <left arrow>
> Loading /usr/local/share/emacs/site-lisp/cyclebuffer.el (source)...
> load-with-code-conversion: Symbol's value as variable is void: From:
Looks like your region is the whole mail, starting with "From: ". You
should probably eval a smaller region.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to switch to the recent available buffer easily
2006-12-28 20:21 ` David Kastrup
@ 2006-12-29 11:04 ` reader
0 siblings, 0 replies; 16+ messages in thread
From: reader @ 2006-12-29 11:04 UTC (permalink / raw)
David Kastrup <dak@gnu.org> writes:
>> That fails here. I get this error after M-x eval-region on the code
>> then: C-x <left arrow>
>> Loading /usr/local/share/emacs/site-lisp/cyclebuffer.el (source)...
>> load-with-code-conversion: Symbol's value as variable is void: From:
>
> Looks like your region is the whole mail, starting with "From: ". You
> should probably eval a smaller region.
Good lord... I don't believe I did that... and more than once too.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2006-12-29 11:04 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-27 10:12 How to switch to the recent available buffer easily Ronald
2006-12-27 17:04 ` harry meyers
2006-12-27 17:56 ` Andreas Roehler
2006-12-27 18:27 ` Kevin Rodgers
2006-12-27 18:35 ` Hadron Quark
2006-12-28 14:47 ` reader
[not found] ` <mailman.2438.1167317263.2155.help-gnu-emacs@gnu.org>
2006-12-28 16:03 ` Charles philip Chan
2006-12-28 18:42 ` reader
2006-12-28 20:21 ` David Kastrup
2006-12-29 11:04 ` reader
2006-12-27 19:05 ` rgb
2006-12-28 14:41 ` reader
[not found] ` <mailman.2436.1167316913.2155.help-gnu-emacs@gnu.org>
2006-12-28 16:01 ` Charles philip Chan
2006-12-28 18:46 ` reader
2006-12-28 16:38 ` Peter Lee
2006-12-27 23:06 ` Enno Schwass
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.