From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: Make EMACS Remember two Locations per Buffer
Date: Mon, 11 Oct 2010 19:46:45 +0200 [thread overview]
Message-ID: <8739scpqpm.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 79e467af-0806-4b6e-878f-b6b59a7e253f@f26g2000vbm.googlegroups.com
"Felix E. Klee" <felix.klee@inka.de> writes:
> Here is something that has annoyed me almost forever when using EMACS.
> Is there a solution?
>
> An example scenario:
>
> 1. I open a buffer.
>
> 2. I split the screen vertically: C-x 2
>
> 3. I work on the buffer, appreciating that I can compare two parts of
> it, one on the top, one on the bottom.
C-x r w a
> 4. In the bottom window, I want to temporarily switch to another
> buffer,
> and then return to the contents it was displaying before.
> Unfortunately, this is *not* possible! At least as far as I know...
>
> What is possible:
>
> a) I switch to another buffer.
>
> b) I switch back to the original buffer.
>
> c) I manually return to the location I was editing before.
C-x r j a
> Why isn't it possible for EMACS to remember that location? Or is it?
Check registers. You can put window configurations in them and that include
the cursor position.
--
__Pascal Bourguignon__ http://www.informatimago.com/
next prev parent reply other threads:[~2010-10-11 17:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 9:52 Make EMACS Remember two Locations per Buffer Felix E. Klee
2010-10-11 17:46 ` Pascal J. Bourguignon [this message]
2010-10-11 18:35 ` Felix E. Klee
2010-10-12 15:54 ` jpkotta
2010-10-12 21:14 ` Felix E. Klee
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=8739scpqpm.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.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.