From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: BUG: indenting lisp code marks buffer as dirty when it shouldn't Date: Mon, 25 Nov 2002 07:36:46 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: References: <15840.45513.721157.204137@quack.quarl.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038228529 8341 80.91.224.249 (25 Nov 2002 12:48:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2002 12:48:49 +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 18GIfP-0002AO-00 for ; Mon, 25 Nov 2002 13:48:47 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18GIl2-0003In-00 for ; Mon, 25 Nov 2002 13:54:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GIUw-0003Su-00; Mon, 25 Nov 2002 07:37:58 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18GITo-0002vD-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 07:36:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18GITn-0002u4-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 07:36:48 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GITm-0002ty-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 07:36:46 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18GITm-0004ST-00; Mon, 25 Nov 2002 07:36:46 -0500 Original-To: quarl@quarl.org In-reply-to: <15840.45513.721157.204137@quack.quarl.org> (message from Karl Chen on Sun, 24 Nov 2002 03:02:33 -0800) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9667 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9667 The buffer is not modified. Thus the two `buffer-modified-tick's should report the same value, but they don't. another way to test this is to save the buffer before `indent-region', and see that `indent-region' makes the buffer dirty, even though it ahsn't actually changed. It is not a bug to mark the buffer modified in this case. However, it would be a nice touch to avoid doing so. If someone wants to work on it, please go ahead.