all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jürgen Hartmann" <juergen_hartmann_@hotmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: How to bring previous-buffer to cycle through the full list of buffers
Date: Mon, 11 May 2015 09:54:08 +0200	[thread overview]
Message-ID: <DUB124-W17D6C49048780E73023ED0A8DB0@phx.gbl> (raw)
In-Reply-To: <554F45EF.7020402@easy-emacs.de>

@ Andreas Roehler: Thank you for your continuous effort in this topic:

>> Actually, the intention is not to alter the windows configuration at all,
>> but to change the buffer that one of the windows shows. The latter should be
>> done by a keystroke that cycles through the whole list of buffers.
>>
>> [...]
>> 
>> So it would be great if somebody would know of a command that does that or if
>> somebody could outline a way to configure, alter, or advice the command
>> previous-buffer to include all the buffers in its scope.
> 
> In use here is the following:
>
> (defun letztpuffer ()
>    " "
>    (interactive)
>    (switch-to-buffer (other-buffer)))
>
> (global-set-key [(meta +)] 'letztpuffer)
>
> Just replace other-buffer...
>
> Andreas

This function toggles between the current and the other buffer, so it can not
be used to reach all the buffers in the global list unless there are just two
of them.

Unfortunately I don't have a clue by what other-buffer should be replaced to
get the desired cycling behavior that includes all buffers.

Juergen

 		 	   		  


  reply	other threads:[~2015-05-11  7:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07  8:41 How to bring previous-buffer to cycle through the full list of buffers Jürgen Hartmann
2015-05-07 10:57 ` Andreas Röhler
2015-05-07 14:42   ` Jürgen Hartmann
2015-05-08  6:01     ` Andreas Röhler
2015-05-10  8:47       ` Jürgen Hartmann
2015-05-10 11:50         ` Andreas Röhler
2015-05-11  7:54           ` Jürgen Hartmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-10 12:29 martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB124-W17D6C49048780E73023ED0A8DB0@phx.gbl \
    --to=juergen_hartmann_@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.