On 6/20/07, Ronaldo Reis Junior <chrysopa@gmail.com> wrote:

> To comment severals lines I need to use M-x comment-region and C-u M-x
> comment-region to make it uncommented. It is a very long command, it is
> possible to assign a shortcut to this, like C-d to comment and C-Shift-d
> to
> uncomment the code?


Open the Emacs manual, (e.g. "C-h i m emacs", or with the menu)
Go to the line * Command & press "enter" (or type 'm commands").
This will lead you to the nodes "Keymaps " and "Rebinding".

It is really worth learning to use Emacs help system.


-- 
Christophe Pallier (http://www.pallier.org)

	[[alternative HTML version deleted]]


