unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@johnsons-web.com>
Subject: Same file/two windows
Date: Mon, 16 Jan 2006 10:01:25 -0900	[thread overview]
Message-ID: <20060116190125.GA17476@johnsons-web.com> (raw)

Using ver 21.2.1 on linux.

Example: I have a file foo.py open in 2 windows (same frame)
In the lower window, I have the cursor on line 1 of foo.py and
in the upper window, I have the cursor on line 100 of foo.py.

Now, in the lower window, I switch to foobar.py and do some
coding there and I then switch back to foo.py.
Egads! The cursor is now at line 100 (or whatever line the
cursor is on in the upper window).

Is there a configuration that will enable the original position
to the buffer in the lower window to be perserved?
I.E.: in this example - line 1

Vim does this very well.
thanks
tim

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

             reply	other threads:[~2006-01-16 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 19:01 Tim Johnson [this message]
     [not found] <mailman.1329.1137438066.26925.help-gnu-emacs@gnu.org>
2006-01-16 19:05 ` Same file/two windows Albert Reiner

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20060116190125.GA17476@johnsons-web.com \
    --to=tim@johnsons-web.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).