From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Bennee Newsgroups: gmane.emacs.help Subject: Re: Keeping the point at the same position in multiple buffers Date: Thu, 21 Aug 2008 17:04:16 +0100 Message-ID: <1219334656.30257.27.camel@pitcairn.cambridgebroadband.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219334893 30039 80.91.229.12 (21 Aug 2008 16:08:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 16:08:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Corey Foote Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 21 18:09:04 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWCi2-0001mU-FS for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 18:08:26 +0200 Original-Received: from localhost ([127.0.0.1]:45221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWCh4-0007y2-VD for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 12:07:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWCcr-0005Uu-0m for help-gnu-emacs@gnu.org; Thu, 21 Aug 2008 12:03:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWCcm-0005Sr-7h for help-gnu-emacs@gnu.org; Thu, 21 Aug 2008 12:03:04 -0400 Original-Received: from [199.232.76.173] (port=39484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWCcl-0005Sj-Nx for help-gnu-emacs@gnu.org; Thu, 21 Aug 2008 12:02:59 -0400 Original-Received: from mailhost.cambridgebroadband.com ([212.44.17.77]:50144 helo=cambridgebroadband.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWCcl-0007YJ-66 for help-gnu-emacs@gnu.org; Thu, 21 Aug 2008 12:02:59 -0400 Original-Received: from exchange.cbl.local (exchange.cambridgebroadband.com [212.44.17.76]) by cambridgebroadband.com (8.14.1/8.14.1) with ESMTP id m7LG2mvK008694; Thu, 21 Aug 2008 17:02:48 +0100 Original-Received: from [10.0.0.166] ([10.0.0.166]) by exchange.cbl.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Aug 2008 17:02:11 +0100 In-Reply-To: X-Mailer: Evolution 2.22.3.1 X-OriginalArrivalTime: 21 Aug 2008 16:02:11.0515 (UTC) FILETIME=[456098B0:01C903A7] X-Scanned-By: MIMEDefang 2.62 on 212.44.17.77 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:56856 Archived-At: On Thu, 2008-08-21 at 10:39 -0400, Corey Foote wrote: > Hi everybody, > > When editing several files in Emacs, each in its own buffer, each > buffer has its own point location. I have Emacs displaying two > buffers, each in it's own window. I was wondering if there's an easy > way to make it so that each of these buffers will keep the point at > the same place in both buffers (or at least on the same line) even > though this is not the default behavior. > > So, for example, when I press C-n in the current buffer, the other > buffer will also move it's point to the next line. ediff-mode does roughly that when comparing 2 or 3 files. However I suspect that's not quite what you want. > > Any suggestions? > > Thanks! > > Corey Foote > > > ______________________________________________________________________ > See what people are saying about Windows Live. Check out featured > posts. Check It Out! -- Alex Bennee, Software Engineer [End of diatribe. We now return you to your regularly scheduled programming...] -- Larry Wall in Configure from the perl distribution