From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: Re: BUG: indenting lisp code marks buffer as dirty when it shouldn't Date: Mon, 25 Nov 2002 12:23:59 -0800 Sender: emacs-devel-admin@gnu.org Message-ID: <15842.34527.143746.625475@hkn.eecs.berkeley.edu> References: <15840.45513.721157.204137@quack.quarl.org> <200211251428.gAPESJ102373@rum.cs.yale.edu> Reply-To: quarl@quarl.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038255816 26350 80.91.224.249 (25 Nov 2002 20:23:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2002 20:23:36 +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 18GPlW-0006qk-00 for ; Mon, 25 Nov 2002 21:23:34 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18GPrH-0007Zk-00 for ; Mon, 25 Nov 2002 21:29:32 +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 18GPnI-0005aa-00; Mon, 25 Nov 2002 15:25:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18GPm9-0004Wi-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 15:24:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18GPm1-0004OI-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 15:24:11 -0500 Original-Received: from hkn.eecs.berkeley.edu ([128.32.47.228]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GPm1-0004Nr-00 for emacs-devel@gnu.org; Mon, 25 Nov 2002 15:24:05 -0500 Original-Received: from quarl by hkn.eecs.berkeley.edu with local id 18GPlv-0007N9-00; Mon, 25 Nov 2002 12:23:59 -0800 Original-To: "Stefan Monnier" In-Reply-To: <200211251428.gAPESJ102373@rum.cs.yale.edu> X-Mailer: VM 7.07.q1 under Emacs 21.2.1 X-Attribution: quarl X-Quack-Archive: 1 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:9671 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9671 Stefan> Does it really ? That's odd. It doesn't for me. The reason why it doesn't Stefan> is that the ;; is inside a string, so it doesn't try to reindent it Stefan> (Emacs-20.7 behaves as you describe because I doesn't pay attention to the Stefan> string quotes). Stefan> But the problem would appear if you removed the quotes, because the Stefan> reindentation would try to reindent the comment and that code is not Stefan> careful to modify the text "only if needed". I'll see how hard it Stefan> would be to fix it. sorry - that's what I meant, insert the text without the quotes. I quoted it in the bug report because the spaces typed are important. -- Karl Chen / quarl@quarl.org