[Top][All Lists]

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

Re: comment latex C-c C-c?

From: address@hidden
Subject: Re: comment latex C-c C-c?
Date: Sat, 12 Jan 2008 08:43:28 -0800 (PST)
User-agent: G2/1.0

On Jan 12, 4:25 pm, Ralf Angeli <> wrote:
> * (2008-01-12) writes:
> > How can I set my emacs configuration so that when in LaTeX mode, "C-c
> > C-c" will comment out the
> > lines with ("%") as does comment it in other modes?
> > Right now, when I do "C-c C-c", I get "Command: (default)
> `C-c C-c' is the canonical key binding for starting a processor or
> compiler in Emacs.  If you overwrote this with another command you'd
> have to come up with another binding for this functionality.
> Commenting (and uncommenting) is usually available via `M-;'.
> --
> Ralf

I've got this in my .emacs file:

(global-set-key "\C-c\C-c" 'comment-region)

So I guess this should also work with latex mode, right?

reply via email to

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