help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make EMACS Remember two Locations per Buffer


From: Pascal J. Bourguignon
Subject: Re: Make EMACS Remember two Locations per Buffer
Date: Wed, 08 Dec 2010 15:31:29 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"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/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]