From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Tfardy Newsgroups: gmane.emacs.help Subject: Link between two buffers Date: Wed, 27 Jul 2005 09:54:30 +0100 Message-ID: <3kot17Fv8d3mU1@individual.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122451319 32328 80.91.229.2 (27 Jul 2005 08:01:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2005 08:01:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 27 10:01:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dxgr3-0004RS-VF for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2005 10:01:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxgtR-0005t3-0c for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2005 04:03:57 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 24 Original-X-Trace: individual.net nVunH/0ubIYRW6ggsX6E/wskkx20Ttn3upg53ByuOLCxMP7rPD User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-Xref: shelby.stanford.edu gnu.emacs.help:132690 comp.emacs:89773 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28213 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28213 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