[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How make comment-region NOT ignore blank lines but comment out those
From: |
Christian Seberino |
Subject: |
Re: How make comment-region NOT ignore blank lines but comment out those too? |
Date: |
27 Aug 2003 14:57:03 -0700 |
Jesper
You were right! It worked!!! Now Emacs (CVS version) comments out empty lines!
It's great! Thanks for all the help.
Can I ask you one more question about this?....
I noticed that the empty lines when they get commented have whitespace
after the comment character.....
e.g. a blank line ---> "# \n"
instead of "#\n"
Is it too much to ask to try to make comment-region change blanks to "#\n"
instead
of "# \n"????
Chris
Jesper Harder <harder@myrealbox.com> wrote in message
news:<m37k50ms5y.fsf@defun.localdomain>...
> seberino@spawar.navy.mil (Christian Seberino) writes:
>
> > I figured out how to get Emacs from CVS but when I do M-x help and
> > type in comment-empty-lines it says there is no such thing?!?!?!
>
> It's only defined after the comment code is loaded, e.g. after the
> first time you do `M-;'. Just put
>
> (setq comment-empty-lines t)
>
> in you ~/.emacs and it should work fine.
- How make comment-region NOT ignore blank lines but comment out those too?, Christian Seberino, 2003/08/14
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Jesper Harder, 2003/08/14
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Christian Seberino, 2003/08/15
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Jesper Harder, 2003/08/15
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Christian Seberino, 2003/08/25
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Christian Seberino, 2003/08/25
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Jesper Harder, 2003/08/26
- Re: How make comment-region NOT ignore blank lines but comment out those too?,
Christian Seberino <=
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Jesper Harder, 2003/08/27
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Christian Seberino, 2003/08/28
- Re: How make comment-region NOT ignore blank lines but comment out those too?, Kevin Rodgers, 2003/08/28