* Re: comment-region and empty lines
[not found] <mailman.6611.1157695054.9609.help-gnu-emacs@gnu.org>
@ 2006-09-13 14:59 ` Andreas Roehler
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Roehler @ 2006-09-13 14:59 UTC (permalink / raw)
Tim Robishaw wrote:
>
> Hi there,
>
> 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.
What happens with `comment-dwim' - M-;
?
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* comment-region and empty lines
@ 2006-09-08 4:09 Tim Robishaw
2006-09-08 15:23 ` Kevin Rodgers
0 siblings, 1 reply; 3+ messages in thread
From: Tim Robishaw @ 2006-09-08 4:09 UTC (permalink / raw)
Hi there,
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: comment-region and empty lines
2006-09-08 4:09 Tim Robishaw
@ 2006-09-08 15:23 ` Kevin Rodgers
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2006-09-08 15:23 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-13 14:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6611.1157695054.9609.help-gnu-emacs@gnu.org>
2006-09-13 14:59 ` comment-region and empty lines Andreas Roehler
2006-09-08 4:09 Tim Robishaw
2006-09-08 15:23 ` Kevin Rodgers
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).