* Emacs buffer position per window
@ 2010-02-02 4:38 Nathaniel Flath
0 siblings, 0 replies; 2+ messages in thread
From: Nathaniel Flath @ 2010-02-02 4:38 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
Is there a way to save the current buffer position on a per-window basis,
instead of just a per-buffer basis? For example, the following will move
point in both windows to the same location
Split-window
Navigate to same file in both windows
In one window, move to a different location. Then, call describe-function,
which uses the other window.
Switch to the *help* window and go back to the original location. The old
point is lost and replaced with the point in the other buffer.
Is there a way to have the old point location be saved, even if it is not
displayed at the moment?
[-- Attachment #2: Type: text/html, Size: 615 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <mailman.579.1265085530.14305.help-gnu-emacs@gnu.org>]
* Re: Emacs buffer position per window
[not found] <mailman.579.1265085530.14305.help-gnu-emacs@gnu.org>
@ 2010-02-02 8:41 ` mortenee
0 siblings, 0 replies; 2+ messages in thread
From: mortenee @ 2010-02-02 8:41 UTC (permalink / raw)
To: help-gnu-emacs
On Feb 2, 5:38 am, Nathaniel Flath <flat0...@gmail.com> wrote:
> Is there a way to save the current buffer position on a per-window basis,
> instead of just a per-buffer basis? For example, the following will move
> point in both windows to the same location
>
> Split-window
> Navigate to same file in both windows
> In one window, move to a different location. Then, call describe-function,
> which uses the other window.
> Switch to the *help* window and go back to the original location. The old
> point is lost and replaced with the point in the other buffer.
>
> Is there a way to have the old point location be saved, even if it is not
> displayed at the moment?
If I understand you correctly winpoint should do what you want. At
least it does for my use-cases.
http://www.emacswiki.org/emacs/winpoint.el
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-02 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 4:38 Emacs buffer position per window Nathaniel Flath
[not found] <mailman.579.1265085530.14305.help-gnu-emacs@gnu.org>
2010-02-02 8:41 ` mortenee
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.