all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: seberino@spawar.navy.mil (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	[thread overview]
Message-ID: <bf23f78f.0308271357.3fbc085a@posting.google.com> (raw)
In-Reply-To: m37k50ms5y.fsf@defun.localdomain

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.

  reply	other threads:[~2003-08-27 21:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14 17:12 How make comment-region NOT ignore blank lines but comment out those too? Christian Seberino
2003-08-14 22:06 ` Jesper Harder
2003-08-15 20:39   ` Christian Seberino
2003-08-15 23:36     ` Jesper Harder
2003-08-26  0:04       ` Christian Seberino
2003-08-26  0:37       ` Christian Seberino
2003-08-26 14:04         ` Jesper Harder
2003-08-27 21:57           ` Christian Seberino [this message]
2003-08-28  1:38             ` Jesper Harder
2003-08-28  7:37               ` Christian Seberino
2003-08-28 16:49                 ` Kevin Rodgers

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=bf23f78f.0308271357.3fbc085a@posting.google.com \
    --to=seberino@spawar.navy.mil \
    /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.