From: Miles Bader <miles@gnu.org>
To: rms@gnu.org
Cc: Tassilo Horn <tassilo@member.fsf.org>, emacs-devel@gnu.org
Subject: Re: M-x comment-region
Date: Sun, 23 Dec 2007 06:57:25 +0900 [thread overview]
Message-ID: <87r6he8kai.fsf@catnip.gol.com> (raw)
In-Reply-To: <E1J6BaM-0000hM-D1@fencepost.gnu.org> (Richard Stallman's message of "Sat, 22 Dec 2007 16:08:42 -0500")
Richard Stallman <rms@gnu.org> 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
next prev parent reply other threads:[~2007-12-22 21:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-22 21:08 M-x comment-region Richard Stallman
2007-12-22 21:57 ` Miles Bader [this message]
2007-12-23 1:05 ` Stefan Monnier
2007-12-23 21:12 ` Richard Stallman
2007-12-24 3:48 ` Ævar Arnfjörð Bjarmason
2007-12-23 8:24 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r6he8kai.fsf@catnip.gol.com \
--to=miles@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).