unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* comment-add
@ 2007-09-24 22:55 Stephen Berman
  2007-09-25  9:39 ` comment-add David O'Toole
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Stephen Berman @ 2007-09-24 22:55 UTC (permalink / raw)
  To: emacs-devel

Since this change:

2007-09-17  Richard Stallman  <rms@gnu.org>

	* newcomment.el (comment-add): New arg EXTRA.
	(comment-region-default): Pass EXTRA if not indenting lines.

the docstring of the variable comment-add:

  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.

In case anyone's tallying votes on this, I am in favor of making the
default comment-style 'indent.

Steve Berman

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-12-15 21:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-24 22:55 comment-add Stephen Berman
2007-09-25  9:39 ` comment-add David O'Toole
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

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).