From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: comment-add Date: Sat, 15 Dec 2007 16:36:58 -0500 Message-ID: References: <87ir5zwu4j.fsf@escher.local.home> <87prynum2x.fsf@baldur.tsdh.de> <87sl2agwwz.fsf@member.fsf.org> <87lk816kcx.fsf@member.fsf.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1197766299 15996 80.91.229.12 (16 Dec 2007 00:51:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 00:51:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 16 01:51:49 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 1J3hjM-0002nY-Ua for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 01:51:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3hjC-0001Yt-Br for ged-emacs-devel@m.gmane.org; Sat, 15 Dec 2007 19:51:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J3hiY-0001A5-AL for emacs-devel@gnu.org; Sat, 15 Dec 2007 19:50:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J3hiW-00018y-P6 for emacs-devel@gnu.org; Sat, 15 Dec 2007 19:50:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3hiW-00018v-LZ for emacs-devel@gnu.org; Sat, 15 Dec 2007 19:50:52 -0500 Original-Received: from [140.186.70.10] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J3hiQ-0000h5-58 for emacs-devel@gnu.org; Sat, 15 Dec 2007 19:50:46 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1J3egs-00056D-LQ; Sat, 15 Dec 2007 16:36:58 -0500 In-reply-to: <87lk816kcx.fsf@member.fsf.org> (message from Tassilo Horn on Tue, 11 Dec 2007 21:34:54 +0100) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85156 Archived-At: Would someone please look at this bug, and ack? From: Tassilo Horn To: rms@gnu.org Cc: dto@gnu.org, emacs-devel@gnu.org Subject: Re: comment-add Mail-Followup-To: rms@gnu.org, dto@gnu.org, emacs-devel@gnu.org Date: Tue, 11 Dec 2007 21:34:54 +0100 In-Reply-To: (Richard Stallman's message of "Tue, 11 Dec 2007 14:00:41 -0500") Message-ID: <87lk816kcx.fsf@member.fsf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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