From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: comment-add Date: Tue, 11 Dec 2007 21:34:54 +0100 Message-ID: <87lk816kcx.fsf@member.fsf.org> References: <87ir5zwu4j.fsf@escher.local.home> <87prynum2x.fsf@baldur.tsdh.de> <87sl2agwwz.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197405379 13144 80.91.229.12 (11 Dec 2007 20:36:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2007 20:36:19 +0000 (UTC) Cc: dto@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 11 21:36:30 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J2Bq4-00013P-0h for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2007 21:36:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2Bpm-0007Rc-7V for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2007 15:36:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2Bor-0006Gd-GM for emacs-devel@gnu.org; Tue, 11 Dec 2007 15:35:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2Bop-0006DR-Si for emacs-devel@gnu.org; Tue, 11 Dec 2007 15:35:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2Bop-0006Cw-Eb for emacs-devel@gnu.org; Tue, 11 Dec 2007 15:35:07 -0500 Original-Received: from out3.smtp.messagingengine.com ([66.111.4.27]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2Bog-0001TI-K2; Tue, 11 Dec 2007 15:34:58 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 85062777F3; Tue, 11 Dec 2007 15:34:57 -0500 (EST) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 11 Dec 2007 15:34:57 -0500 X-Sasl-enc: sYGDNVzH8RTMAcCGG7qu9PCZFun8xCenENtaw1hLqjMB 1197405297 Original-Received: from baldur (dslb-084-063-016-052.pools.arcor-ip.net [84.63.16.52]) by mail.messagingengine.com (Postfix) with ESMTP id 4AE90CF8E; Tue, 11 Dec 2007 15:34:56 -0500 (EST) Mail-Followup-To: rms@gnu.org, dto@gnu.org, emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 11 Dec 2007 14:00:41 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:85065 Archived-At: Richard Stallman writes: > To help me reproduce the problem, could you please post a *precise* > test case for this bug? 1. emacs -Q 2. Goto buffer *scratch* 3. M-x outline-minor-mode 4. Insert: (defun foo () (do-this) (do-that) (do-another-thing)) The "(defun foo ()" is matched by outline-regexp. 5. Mark the whole function foo and do M-x comment-region. This results in: ;;; (defun foo () ;;; (do-this) ;;; (do-that) ;;; (do-another-thing)) Now the ";;; (defun foo ()" is still matched by outline-regexp. That's the difference between the new default comment-style `indent-or-triple' and the old default `indent'. > Also please say exactly what incorrect results you get. I don't know if having differences in what commented text is matched by outline-regexp qualifies as a bug, but ideally switching comment-style shouldn't change that. So the comment-style `indent-or-triple' should ensure that ;;; is followed by more than one space if it starts at column 0. Bye, Tassilo