From: don@donarmstrong.com (Emacs bug Tracking System)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#1286: marked as done (comment-dwim on a comment line does not toggle comment)
Date: Fri, 31 Oct 2008 18:40:04 -0700 [thread overview]
Message-ID: <handler.1286.D1286.122550322718064.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: F5DC8BCE-3380-4798-9B5B-32D5731AA837@xahlee.org
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
Your message dated Fri, 31 Oct 2008 21:33:32 -0400
with message-id <jwvabcknsf4.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#1286: comment-dwim on a comment line does not toggle comment
has caused the Emacs bug report #1286,
regarding comment-dwim on a comment line does not toggle comment
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)
--
1286: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1286
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 2699 bytes --]
From: xah lee <xah@xahlee.org>
To: bug-gnu-emacs@gnu.org
Subject: comment-dwim on a comment line does not toggle comment
Date: Fri, 31 Oct 2008 14:25:09 -0700
Message-ID: <F5DC8BCE-3380-4798-9B5B-32D5731AA837@xahlee.org>
this appears to be like a bug.
in emacs-lisp-mode, if you have a comment like this:
;; This is a comment
and your cursor is somewhere on that line. Now, do comment-dwim, it
doesn't uncomment the line. It just moves the cursor to the “T”
in “This”.
Same behavior in cperl mode and probably all others.
I think this might be by design, but it seems counter-intuitive.
In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0)
of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp
Xah
∑ http://xahlee.org/
☄
[-- Attachment #3: Type: message/rfc822, Size: 2322 bytes --]
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: xah lee <xah@xahlee.org>
Cc: 1286-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1286: comment-dwim on a comment line does not toggle comment
Date: Fri, 31 Oct 2008 21:33:32 -0400
Message-ID: <jwvabcknsf4.fsf-monnier+emacsbugreports@gnu.org>
> this appears to be like a bug.
> in emacs-lisp-mode, if you have a comment like this:
> ;; This is a comment
> and your cursor is somewhere on that line. Now, do comment-dwim, it doesn't
> uncomment the line. It just moves the cursor to the “T” in “This”.
> Same behavior in cperl mode and probably all others.
> I think this might be by design, but it seems counter-intuitive.
This is the way M-; has worked for as long as I can remember.
It also re-indents the comment, if needed. If you want to uncomment,
then select the line via e.g. C-a C-SPC C-n and then M-; will do what
you asked for.
Stefan
next prev parent reply other threads:[~2008-11-01 1:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jwvabcknsf4.fsf-monnier+emacsbugreports@gnu.org>
2008-10-31 21:25 ` bug#1286: comment-dwim on a comment line does not toggle comment xah lee
2008-11-01 1:40 ` Emacs bug Tracking System [this message]
2008-11-03 11:25 ` Xavier Maillard
2008-11-03 21:10 ` xah lee
2008-11-04 16:34 ` Stefan Monnier
2008-11-05 7:25 ` Xavier Maillard
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=handler.1286.D1286.122550322718064.ackdone@emacsbugs.donarmstrong.com \
--to=don@donarmstrong.com \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).