From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@stupidchicken.com>
Cc: 3370@emacsbugs.donarmstrong.com
Subject: bug#3370: 23.0.94; `comment-region' indents comment chars inappropriately
Date: Sun, 24 May 2009 16:57:02 -0700 [thread overview]
Message-ID: <F27269A50BEA48E9B7349FA8BB6E0999@us.oracle.com> (raw)
In-Reply-To: <87prdynkm5.fsf@cyd.mit.edu>
> From: Chong Yidong Sent: Sunday, May 24, 2009 4:32 PM
> > In buffer *scratch*, type this: SPC SPC ` a b c d e f ' RET
> >
> > Select the line, including the newline at its end: `M-< C-SPC C-n'.
> > M-x comment-region
> >
> > In Emacs 23, this is the result:
> >
> > ;; `abcdef'
> >
> > In all previous versions of Emacs, the comment chars are inserted at
> > the start of the line - they are not indented two spaces
>
> Wrong. The behavior is identical in Emacs 22.
You are absolutely incorrect.
I just did it again, in `emacs -Q' in 22.3:
GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
The result is, exactly as I stated:
;; `abcdef'
Please do not reply that way, without even trying the recipe. It doesn't help.
Let me repeat the instructions differently, just so you are clear. Insert this
text at the beginning of *scratch*: " `abcdef'". Follow that by hitting RET to
insert a newline.
Put point at bob and hit C-SPC to set mark. Use C-n to move past the inserted
line.
Do M-x comment-region
You will *NOT* see this in Emacs 22 (or 21 or 20 or ...):
;; `abcdef'
You WILL see this in Emacs 22:
;; `abcdef'
next prev parent reply other threads:[~2009-05-24 23:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-24 23:31 bug#3370: 23.0.94; `comment-region' indents comment chars inappropriately Chong Yidong
2009-05-24 23:57 ` Drew Adams [this message]
2009-05-25 0:04 ` Lennart Borgman
2009-05-25 0:54 ` Chong Yidong
2009-05-25 1:28 ` Jason Rumney
2009-05-25 2:09 ` Drew Adams
2009-05-25 4:47 ` Chong Yidong
2009-05-25 7:01 ` Drew Adams
2009-05-25 13:27 ` Chong Yidong
2009-05-25 17:42 ` Drew Adams
2009-05-25 13:38 ` Stefan Monnier
2009-05-25 17:42 ` Drew Adams
2009-05-25 21:22 ` Stefan Monnier
2009-05-25 21:56 ` Drew Adams
2009-05-25 22:46 ` Jason Rumney
2009-05-26 1:16 ` Stefan Monnier
2012-02-22 2:46 ` Glenn Morris
2009-05-25 5:26 ` Dan Nicolaescu
2009-05-25 7:02 ` Drew Adams
2009-05-25 13:30 ` Chong Yidong
2009-05-25 13:39 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2009-05-24 22:31 Drew Adams
2009-05-25 13:41 ` Stefan Monnier
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=F27269A50BEA48E9B7349FA8BB6E0999@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=3370@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
/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.