all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: quarl+dated+1087221580.02c4f1@nospam.quarl.org,
	quarl@nospam.quarl.org, emacs-devel@gnu.org
Subject: Re: bug in comment-region
Date: 09 Jun 2004 16:14:35 +0200	[thread overview]
Message-ID: <x5ekooyg1g.fsf@lola.goethe.zz> (raw)
In-Reply-To: <20040609.160802.116374946.wl@gnu.org>

Werner LEMBERG <wl@gnu.org> writes:

> > Try:
> >     (setq comment-empty-lines t)
> 
> Thanks.  Anyway, my suggestion w.r.t. C-u still holds -- IMHO it is
> quite inconvenient to control the behaviour of such a versatile
> function with a global variable.  For example, I might prefer to
> comment empty lines in C mode but not in TeX mode.

(add-hook 'c-mode-hook (lambda ()
        (set (make-local-variable 'comment-empty-lines) t)))

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2004-06-09 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 13:36 bug in comment-region Werner LEMBERG
2004-06-09 14:01 ` Karl Chen
2004-06-09 14:08   ` Werner LEMBERG
2004-06-09 14:14     ` David Kastrup [this message]
2004-06-09 14:42       ` Werner LEMBERG
2004-06-09 21:09     ` Miles Bader
2004-06-09 23:06       ` Werner LEMBERG
2004-06-10  1:36         ` Miles Bader
2004-06-10  9:11         ` Karl Chen

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=x5ekooyg1g.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=quarl+dated+1087221580.02c4f1@nospam.quarl.org \
    --cc=quarl@nospam.quarl.org \
    /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.