[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: expected C-c C-c to be comment-region for editing programs
From: |
Stefan Monnier |
Subject: |
Re: expected C-c C-c to be comment-region for editing programs |
Date: |
10 Jan 2002 10:55:05 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
>>>>> "Dan" == Dan Jacobson <jidanni@deadspam.com> writes:
> I edit a Makefile and C-c C-c is comment-region.
> I edit a C file and C-c C-c is comment-region.
> I edit a .sh file and C-c C-c is bound to something else.
> I edit a mail and it is also something else but just at least
> standardize it for editing programming languages...
I think C-c C-c was meant by Emacs Almighty to be some kind of "I'm done
editing, now do your thing" command (hence `send' when editing mail) and
should thus be bound to `compile' in programming modes.
If you use transient-mark-mode, `comment-region' is available
in every mode under M-;
Stefan