all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@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: Thu, 10 Jun 2004 01:06:21 +0200 (CEST)	[thread overview]
Message-ID: <20040610.010621.18288090.wl@gnu.org> (raw)
In-Reply-To: <20040609210920.GA12578@fencepost>

> > 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.
> 
> `comment-region' and `comment-dwim' already have a (much more
> useful) meaning for C-u (in fact, comment-region has several).

I haven't yet used comment-dwim, so I won't say something about this
function.  But IMHO it is a strange idea to have `C-u something' do
exactly the opposite of `something'.  Until now I've considered the
C-u prefix as a means to get an extended or slightly modified
functionality of a function.

Are there other commands which do the opposite if prefixed with C-u?

And I don't agree with your conclusion that the several meanings of
C-u for `comment-region' are `much more useful'.  For me, they are
useful for `uncomment-region' only.


    Werner

  reply	other threads:[~2004-06-09 23:06 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
2004-06-09 14:42       ` Werner LEMBERG
2004-06-09 21:09     ` Miles Bader
2004-06-09 23:06       ` Werner LEMBERG [this message]
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=20040610.010621.18288090.wl@gnu.org \
    --to=wl@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.