[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comment-dwim and uncommenting
From: |
Stefan Monnier |
Subject: |
Re: comment-dwim and uncommenting |
Date: |
Wed, 28 May 2003 09:49:26 -0400 |
> When I use comment-dwim to comment and uncomment a region, the
> uncomment leaves one space that I don't want.
> For example the file hello.cpp:
>
> Initial content
>
> void main() {
> int a=3;
> printf("hello world");
> a=a*2;
> }
>
> Called comment-dwim on the line printf...
>
>
> void main() {
> int a=3;
> // printf("hello world");
> a=a*2;
> }
>
> Called comment-dwim on the line // printf...
>
> void main() {
> int a=3;
> printf("hello world");
> a=a*2;
> }
>
> Now the printf... line has an extra space at the beginning.
> I would like to get the original (correctly indented) content.
I can't reproduce it with `emacs -q --no-site-file ~/tmnp/foo.cc'.
Can you give us some more information ?
Stefan