all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David O'Toole <dto@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: comment-add
Date: Tue, 25 Sep 2007 05:39:31 -0400	[thread overview]
Message-ID: <m3zlzbkrsc.fsf@gnu.org> (raw)
In-Reply-To: 87ir5zwu4j.fsf@escher.local.home



Stephen Berman <Stephen.Berman@gmx.net> writes:

>   How many more comment chars should be inserted by
>   `comment-region'.  This determines the default value of the
>   numeric argument of `comment-region'.  This should generally stay
>   0, except for a few modes like Lisp where it can be convenient to
>   set it to 1 so that regions are commented with two semi-colons.
>   
> doesn't reflect the default behavior in Lisp mode, which is now to
> comment regions with three semi-colons, given the default
> comment-style 'plain.  If the default comment-style were changed to
> 'indent, then the doctring would (once again) be accurate.  If the
> default comment-style is kept 'plain, the change in behavior should
> be mentioned in NEWS.

I noticed the new default behavior and didn't like it---it turns every
line of the commented region into a headline matching outline-regexp
(and gets font-locked due to some snippets in my .emacs). Is this
really what was intended?

-- 
David O'Toole 
dto@gnu.org
http://dto.freeshell.org/notebook/

  reply	other threads:[~2007-09-25  9:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-24 22:55 comment-add Stephen Berman
2007-09-25  9:39 ` David O'Toole [this message]
2007-09-25 23:35   ` comment-add Richard Stallman
2007-11-06 20:59     ` comment-add Tassilo Horn
2007-12-10 15:19       ` comment-add Richard Stallman
2007-12-10 19:41         ` comment-add Tassilo Horn
2007-12-11 19:00           ` comment-add Richard Stallman
2007-12-11 20:34             ` comment-add Tassilo Horn
2007-12-15 21:36               ` comment-add Richard Stallman
2007-09-25 16:07 ` comment-add Stefan Monnier
2007-09-25 21:48   ` comment-add Eli Zaretskii
2007-09-25 17:57 ` comment-add Richard Stallman
2007-09-25 22:27   ` comment-add Leo

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zlzbkrsc.fsf@gnu.org \
    --to=dto@gnu.org \
    --cc=emacs-devel@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.