From: Werner LEMBERG <wl@gnu.org>
Subject: bug in comment-region
Date: Wed, 09 Jun 2004 15:36:07 +0200 (CEST) [thread overview]
Message-ID: <20040609.153607.169254418.wl@gnu.org> (raw)
[CVS 2004-05-30]
Assume this:
foo
bar
After calling comment-region I get this:
;; foo
;; bar
(the actual comment prefix doesn't matter).
The doc string of comment-region says this:
Comment or uncomment each line in the region.
^^^^^^^^^
This is not how command-region currently works. I really would like
to have this:
;; foo
;;
;; bar
In case the current behaviour is intentional, please change the
prefix arg to make the function work on all lines.
Or even better, make comment-region work as advertised:
. A normal call comments all lines of a region.
. A call prefixed with C-u comments only non-empty lines. I
strongly suggest to abandon the current behaviour of the C-u
prefix (i.e., uncommenting a region), given that we have a
separate `uncomment-region' function.
Werner
next reply other threads:[~2004-06-09 13:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 13:36 Werner LEMBERG [this message]
2004-06-09 14:01 ` bug in comment-region 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
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=20040609.153607.169254418.wl@gnu.org \
--to=wl@gnu.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.