From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.devel Subject: Re: gratuitous changes Date: 06 Feb 2003 17:34:03 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5bk7gd74hw.fsf@lister.roxen.com> References: <5b3cn7lgx6.fsf@lister.roxen.com> <20030202061404.GB3660@gnu.org> Reply-To: bug-cc-mode@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044549581 467 80.91.224.249 (6 Feb 2003 16:39:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 16:39:41 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gp3k-00006I-00 for ; Thu, 06 Feb 2003 17:39:32 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18gpCs-0000bh-00 for ; Thu, 06 Feb 2003 17:48:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gp3b-0006uS-01 for emacs-devel@quimby.gnus.org; Thu, 06 Feb 2003 11:39:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18gp2L-0006Jj-00 for emacs-devel@gnu.org; Thu, 06 Feb 2003 11:38:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18gp1V-0005eQ-00 for emacs-devel@gnu.org; Thu, 06 Feb 2003 11:37:14 -0500 Original-Received: from godzilla.roxen.com ([194.52.182.190] helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18goye-0003z5-00; Thu, 06 Feb 2003 11:34:16 -0500 Original-Received: by mail.roxen.com (Postfix, from userid 52) id 32CBE99C4; Thu, 6 Feb 2003 17:34:08 +0100 (MET) Original-Received: from lister.roxen.com (lister.roxen.com [194.52.182.147]) by mail.roxen.com (Postfix) with ESMTP id 1CF3399B3; Thu, 6 Feb 2003 17:34:04 +0100 (MET) Original-To: Miles Bader In-Reply-To: <20030202061404.GB3660@gnu.org> Original-Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-cc: Eli Zaretskii Original-cc: mast@lysator.liu.se Original-cc: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11421 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11421 Miles Bader wrote: > > > The trimming is done whenever the point leaves a line that has been > > > changed. Editing that affects more than one line, e.g. pasting of > > > blocks, is normally not affected. > > > > FWIW, I'm in favor. > > Me too, but I'm a bit fearful of how it's implemented -- is it > yet-another-entry in post-command-hook, or is it more clever? It uses after-change-functions, post-command-hook, first-change-hook and write-contents-hooks. What's the problem with that? Is there a more "clever" way?