unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: comment-region and empty lines
Date: Fri, 08 Sep 2006 09:23:25 -0600	[thread overview]
Message-ID: <eds1ul$qdf$2@sea.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0609072100530.9536@aster>

Tim Robishaw wrote:
> I'm trying to use comment-region to turn a few paragraphs into 
> comments.  However, after marking the region and applying 
> comment-region, the blank lines are NOT commented.  I'd like to use 
> the "plain" comment-style I tried all the others and while some of 
> them produce commented blank lines [aligned/box/box-multi do, 
> plain/indent/multi-line/extra-line do not], these also produce comment 
> characters at the end of each line, which I don't want.  Any help 
> would be hugely appreciated!  Best -Tim.

,----[ C-h v comment-empty-lines RET ]
| comment-empty-lines is a variable defined in `newcomment.el'.
| Its value is nil
|
| Documentation:
| If nil, `comment-region' does not comment out empty lines.
| If t, it always comments out empty lines.
| if `eol' it only comments out empty lines if comments are
| terminated by the end of line (i.e. `comment-end' is empty).
|
| You can customize this variable.
|
| [back]
`----

-- 
Kevin

  reply	other threads:[~2006-09-08 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08  4:09 comment-region and empty lines Tim Robishaw
2006-09-08 15:23 ` Kevin Rodgers [this message]
     [not found] <mailman.6611.1157695054.9609.help-gnu-emacs@gnu.org>
2006-09-13 14:59 ` Andreas Roehler

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='eds1ul$qdf$2@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
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).