From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: M-x comment-region Date: Sun, 23 Dec 2007 06:57:25 +0900 Message-ID: <87r6he8kai.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198360670 6416 80.91.229.12 (22 Dec 2007 21:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2007 21:57:50 +0000 (UTC) Cc: Tassilo Horn , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 22 22:58:03 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 1J6CM6-00027n-3g for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2007 22:58:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6CLm-0003xL-2D for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2007 16:57:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J6CLi-0003wt-Kj for emacs-devel@gnu.org; Sat, 22 Dec 2007 16:57:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J6CLh-0003vJ-A0 for emacs-devel@gnu.org; Sat, 22 Dec 2007 16:57:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6CLh-0003v0-07 for emacs-devel@gnu.org; Sat, 22 Dec 2007 16:57:37 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J6CLZ-0000qP-E1; Sat, 22 Dec 2007 16:57:29 -0500 Original-Received: from 203-216-96-195.dsl.gol.ne.jp ([203.216.96.195] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1J6CLW-00006d-Qo; Sun, 23 Dec 2007 06:57:26 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 8E6E12FF7; Sun, 23 Dec 2007 06:57:25 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Richard Stallman's message of "Sat, 22 Dec 2007 16:08:42 -0500") Original-Lines: 22 X-Abuse-Complaints: abuse@gol.com 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:85387 Archived-At: Richard Stallman writes: > I think I fixed the problem. M-x comment-region > for Lisp code should now use ;; if indenting a whole function > and ;;; if indenting just part of a function. Why is it ever necessary to use ";;;" for commenting out lisp code? Other modes (e.g. c-mode and c++-mode) simply add comment markers indented as if they were source code (apparently using the minimum indentation of the commented-out lines); couldn't lisp-mode do the the same thing using ";;" all cases? [It's not that I object or anything, it's just that I'm confused as to why there's so much fiddling around with comment-region in the specific case of lisp-mode. I assume there must be _some_ reason, as newcomment.el seem to go to a lot of trouble to do this...] -Miles -- Love is a snowmobile racing across the tundra. Suddenly it flips over, pinning you underneath. At night the ice weasels come. --Nietzsche