From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rsharman@pobox.com Newsgroups: gmane.emacs.devel Subject: Re: highlight-changes-mode Date: Mon, 27 Nov 2006 21:15:18 -0500 Message-ID: <17771.39862.655230.878184@cube.homenetwork> References: <17721.60660.980363.609046@kahikatea.snap.net.nz> <17725.23383.490888.442550@cube.homenetwork> <17770.17915.319182.723314@cube.homenetwork> <17770.35080.725821.391914@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164686668 21153 80.91.229.2 (28 Nov 2006 04:04:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 04:04:28 +0000 (UTC) Cc: rsharman@pobox.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 28 05:04:25 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GouCk-0000vr-E8 for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 05:04:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GouCj-00055N-Vq for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 23:04:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GosVa-0002Bw-UO for emacs-devel@gnu.org; Mon, 27 Nov 2006 21:15:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GosVX-00029d-Rr for emacs-devel@gnu.org; Mon, 27 Nov 2006 21:15:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GosVX-00029T-L4 for emacs-devel@gnu.org; Mon, 27 Nov 2006 21:15:39 -0500 Original-Received: from [209.217.78.162] (helo=mx2-3.spamtrap.magma.ca) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GosVT-0001sB-Kk; Mon, 27 Nov 2006 21:15:36 -0500 Original-Received: from mail1.magma.ca (mail1.internal.magma.ca [10.0.10.11]) by mx2-3.spamtrap.magma.ca (8.13.1/8.13.1) with ESMTP id kAS2FWrk007936; Mon, 27 Nov 2006 21:15:32 -0500 Original-Received: from cube.homenetwork (ottawa-hs-64-26-167-90.d-ip.magma.ca [64.26.167.90]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id kAS2FVTl005142; Mon, 27 Nov 2006 21:15:32 -0500 Original-Received: by cube.homenetwork (Postfix, from userid 1000) id DB3AC93CA2; Mon, 27 Nov 2006 21:15:18 -0500 (EST) Original-To: Nick Roberts In-Reply-To: <17770.35080.725821.391914@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 21.4.1 X-magma-MailScanner-Information: Magma Mailscanner Service X-magma-MailScanner: Clean X-Mailman-Approved-At: Mon, 27 Nov 2006 23:03:01 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62898 Archived-At: Nick Roberts writes: > > > Attached is the new version; please let me know what you think. > > I don't use highlight-changes-mode but the mode line indicator doesn't appear > to toggle unless you do "M-x highlight-changes-toggle-visibility" > first. Yes, originally I had the mode line displaying either "CHG" or "chg" depending if the submide was active or passive. (Those terms refer toe the old version; I've now called the visible on invisible.) But Richard Stallman said there was no point in having a modeline indicator when in "active" sub-mode because it would be obvious. So there are [in both the old and the new versions] two variables that can be customized: highlight-changes-active-string - defaults to nil, but you could set it to " CHG" for example. highlight-changes-passive-string - defaults to " Chg". > The manual just says: > > Use `M-x highlight-changes-mode' to enable (or disable) Highlight > Changes mode, a minor mode that uses faces (colors, typically) to > indicate which parts of the buffer were changed most recently. > > Perhaps that needs updating. I think that paragraph is still true. Any changed text should have been displayed differently when you turned on highlight-changes-mode (even though the mode indicator hadn't changed). Also it might be a good idea to use > define-minor-mode to define highlight-changes-mode. > OK, I'll take a look into that. Thanks for the feedback. Richard