[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: C++-mode: uncomment-region
From: |
Todd Wells |
Subject: |
RE: C++-mode: uncomment-region |
Date: |
Tue, 27 Feb 2001 11:48:17 -0800 |
If you want to bind uncomment to a key, you can put this in your .emacs
(thanks Mike Slass): [this binds to ctl-c, ctl-u]
(defun uncomment-region (beg end &optional arg)
(interactive "*r\np")
(comment-region beg end (- arg)))
(global-set-key "\C-c\C-u" 'uncomment-region)
-----Original Message-----
From: help-gnu-emacs-admin@gnu.org
[mailto:help-gnu-emacs-admin@gnu.org]On Behalf Of Nicolas Bock
Sent: Tuesday, February 27, 2001 11:11 AM
To: help-gnu-emacs@gnu.org
Subject: Re: C++-mode: uncomment-region
In emacs you type
C-u M-x comment-region
nick
On Tue, 27 Feb 2001 vrn@traxx.ch wrote:
> Date: Tue, 27 Feb 2001 19:37:23 +0000 (/etc/localtime)
> From: vrn@traxx.ch
> To: help-gnu-emacs@gnu.org
> Subject: C++-mode: uncomment-region
>
> wehn i'm in Xemcas in the C++ -mode, under "menu-car C++" is the command
> "uncomment region"....
>
> how can i use this function by keyboard without use the mouse???
>
> thx
>
>
> EOF
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: C++-mode: uncomment-region,
Todd Wells <=