unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marc Tfardy <m-t-o___CUT_IT___@web.de>
Subject: Link between two buffers
Date: Wed, 27 Jul 2005 09:54:30 +0100	[thread overview]
Message-ID: <3kot17Fv8d3mU1@individual.net> (raw)

Hi,

I have following problem:
I have two buffers in one frame, both contains the same file, but
showing diffrent parts of the file. The lines are longer than
the frame wide is, so I see always a part of the line (I set
the variable truncate-lines to t). My wish is, that when I move
the cursor horzintally in one line in one buffer the other buffer
move automaticly in the same direction by the same amount of characters,
in other words - both move parallel. How can I do it? Any ideas?

The bacground: my file contains a very wide table. The first
line of the table is the header, then follows many lines of data.
When I edit something far away from the header line, I don't see
the header and I don't know about what column I just edit.
My idea is, I open the file twice. The upper buffer show me
alway the header, the bottom buffer show me data, but both buffers
are linked, so I see alway the correct description in upper
buffer.


regards

Marc

             reply	other threads:[~2005-07-27  8:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27  8:54 Marc Tfardy [this message]
2005-07-27  8:57 ` Link between two buffers Pascal Bourguignon
2005-07-27 18:36   ` drkm
2005-07-27 20:14     ` Pascal Bourguignon
2005-07-27 21:08       ` drkm
2005-07-27 22:50         ` Tim X
2005-07-28 21:48       ` Marc Tfardy
  -- strict thread matches above, loose matches on Subject: below --
2005-07-28 22:30 b.jc-emacs

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=3kot17Fv8d3mU1@individual.net \
    --to=m-t-o___cut_it___@web.de \
    /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).