From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to mark new text in a buffer ? Date: Fri, 4 Dec 2009 07:48:08 -0800 Message-ID: References: <5a2e5fdd-e009-4bc0-86a7-7f26b516d944@r24g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259941847 13505 80.91.229.12 (4 Dec 2009 15:50:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 15:50:47 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 04 16:50:40 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 1NGaPY-0005aA-Rx for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 16:49:37 +0100 Original-Received: from localhost ([127.0.0.1]:59420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGaPY-0002U6-CM for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 10:49:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGaOR-0001h8-8C for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 10:48:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGaOL-0001bw-Jc for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 10:48:26 -0500 Original-Received: from [199.232.76.173] (port=35749 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGaOL-0001bj-EL for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 10:48:21 -0500 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:44884 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGaOL-0006s6-1O for help-gnu-emacs@gnu.org; Fri, 04 Dec 2009 10:48:21 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nB4FmR8C013239 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 4 Dec 2009 15:48:29 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nB4FmOu9025776 for ; Fri, 4 Dec 2009 15:48:24 GMT Original-Received: from abhmt014.oracle.com by acsmt354.oracle.com with ESMTP id 806845101259941690; Fri, 04 Dec 2009 07:48:10 -0800 Original-Received: from dradamslap1 (/24.5.185.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 04 Dec 2009 07:48:10 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <5a2e5fdd-e009-4bc0-86a7-7f26b516d944@r24g2000yqd.googlegroups.com> Thread-Index: Acp051jTQ5I6G295SOitK1nsmhKjnAADvN9A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4B192F3C.0136:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:70396 Archived-At: > I am looking for the best way to identify new entered text into a > buffer and show that information. In addition to what has already been mentioned (`highlight-changes-mode' and `diff-buffer-with-file'), and depending on what you need, you also have `M-o o' and the other `M-o' keys (use `C-u'). These are also available from menu Edit > Text Properties > Face (without `C-u'). But be aware that this does not work with font-lock-mode. See `(emacs)Format Faces'.