From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: How to mark new text in a buffer ? Date: Fri, 4 Dec 2009 14:09:59 +0100 Organization: GNU's Not UNIX! Message-ID: <200912041309.nB4D9xfO028198@fed.local> References: <87vdgnj583.fsf@galatea.local> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1259932235 12307 80.91.229.12 (4 Dec 2009 13:10:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 13:10:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: pjb@informatimago.com (Pascal J. Bourguignon) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 04 14:10:28 2009 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 1NGXvY-0004aS-JG for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 14:10:28 +0100 Original-Received: from localhost ([127.0.0.1]:56295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGXvY-0008OC-1p for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 08:10:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGXuS-000860-ME for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 08:09:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGXuM-00082m-SH for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 08:09:19 -0500 Original-Received: from [199.232.76.173] (port=52915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGXuM-00082O-0z for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 08:09:14 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:42910) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGXuL-0006us-QO for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 08:09:13 -0500 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 1B05AC5A6A; Fri, 4 Dec 2009 08:09:07 -0500 (EST) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 04 Dec 2009 08:09:08 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:message-id:from:to:cc:in-reply-to:subject:reply-to:references; s=smtpout; bh=OCjRG+AeO7UejyrM9T0p0esTaT0=; b=kfWDXMwCUSUQXQP/aO87HcnYEhrfYaTQiZYvQ6ucOm9cOu4Zpw8uSz32J9E+/RoNZDtjt6NmWlfdooDIJ09OE3lFwqecqykv+Lbbsk6GbwVJdHzZ8mK8AbZYZz45v0UQC0stNnUL0mQ22Gs/WKRn9uXeBHoztNGQigZmnnmGbzQ= X-Sasl-enc: InqU1N+c5FiLF0JnTLOcW52DeI6LLOtpiPTzB2NqS+Fo 1259932147 Original-Received: from fed.local (cha51-2-82-244-211-40.fbx.proxad.net [82.244.211.40]) by mail.messagingengine.com (Postfix) with ESMTPSA id 53C3F4A5214; Fri, 4 Dec 2009 08:09:07 -0500 (EST) Original-Received: from fed.local (fed.local [127.0.0.1]) by fed.local (8.14.3/8.14.3) with ESMTP id nB4D9xuW028202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Dec 2009 14:09:59 +0100 Original-Received: (from xavier@localhost) by fed.local (8.14.3/8.14.3/Submit) id nB4D9xfO028198; Fri, 4 Dec 2009 14:09:59 +0100 X-Authentication-Warning: fed.local: xavier set sender to xma@gnu.org using -f In-reply-to: <87vdgnj583.fsf@galatea.local> (pjb@informatimago.com) User-Agent: Rmail/23.1.1 Emacs/23.1.1 (gnu/linux) Jabber-ID: xavier@maillard.im X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:70390 Archived-At: Xavier Maillard writes: > Hi, > > I am looking for the best way to identify new entered text into a > buffer and show that information. > > For example, I am visiting a file-based buffer -i.e. a buffer > visiting a file. It has already content and I am typing something > like "foo bar". I want to display "foo bar" in such a way that we > get direct information on what is new and what is old. > > Any idea ? M-x diff-buffer-with-file RET RET Rhaa exactly ! Thank you very much. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org