help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comment/Uncomment in C files?


From: David Hansen
Subject: Re: Comment/Uncomment in C files?
Date: Sat, 19 Apr 2008 19:10:04 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

On Sat, 19 Apr 2008 11:06:38 +0200 saneman wrote:

> I use emacs22 and have enabled CUA mode. I have assigned
> Comment/Uncomment to:
>
>
> ;; Toogle comment/uncomment
> (global-set-key "\C-d" 'comment-dwim)
>
> But nothing happens when I press C-d. Does emacs C-mode use some other
> config files?

What's wrong with the standard M-;?  Overwriting an essential command
like `delete-char' doesn't seem wise to me.

David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]