all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Capey <tom@edina.co.uk>
Subject: Re: Switching between buffers in split windows
Date: 17 Oct 2002 14:31:02 +0100	[thread overview]
Message-ID: <uit01p4yx.fsf@edina.co.uk> (raw)
In-Reply-To: aom7n4$jmg$1@sapa.inka.de

* Felix E. Klee <felix.klee@inka.de> writes:

> Often, I split an EMACS window horizontally into two windows to edit two 
> different portions of the same buffer *A*. Sometimes, I need to temporarily 
> switch to another buffer *B* via "C-x b" in one of the windows. This works 
> fine and quick. However, hitting "C-x b" again doesn't return me to where I 
> came from, but instead displays another buffer *C* because *A* is already 
> displayed. Of course, this is how it's supposed to work, but I want to 
> change that behavior:

> How do I make "C-x b" redisplay the portion of *A* that I was editing 
> previously?


  you could try saving the window configuration before you go off
  to look at the other buffer `window-configuration-to-register'

(where-is 'window-configuration-to-register)

-| window-configuration-to-register is on C-x r w


(describe-function 'window-configuration-to-register)

-| window-configuration-to-register is an interactive compiled
-| Lisp function in `register'.
-| (window-configuration-to-register REGISTER &optional ARG)
-|
-| Store the window configuration of the selected frame in
-| register REGISTER.  Use C-x r j to restore the configuration.
-| Argument is a character, naming the register.


/Tom
-- 
"...and so, as I notice the eternal flame of hope has just been put
out by the fire officer of destiny with the sand bucket of fate..."
                                                           -- Humph

  reply	other threads:[~2002-10-17 13:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17 11:44 Switching between buffers in split windows Felix E. Klee
2002-10-17 13:31 ` Tom Capey [this message]
2002-10-18  2:23 ` Galen Boyer
2002-10-18 10:06 ` Oliver Scholz
2002-10-18 10:58 ` Mac

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=uit01p4yx.fsf@edina.co.uk \
    --to=tom@edina.co.uk \
    /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.