unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "avilella@gmail.com" <avilella@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: comment latex C-c C-c?
Date: Sat, 12 Jan 2008 08:43:28 -0800 (PST)	[thread overview]
Message-ID: <6a9b994f-7e6f-494f-82a3-2ab198b4900c@v29g2000hsf.googlegroups.com> (raw)
In-Reply-To: 4788e9fb$0$25372$9b4e6d93@newsspool4.arcor-online.net

On Jan 12, 4:25 pm, Ralf Angeli <dev.n...@caeruleus.net> wrote:
> * avile...@gmail.com (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	other threads:[~2008-01-12 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-12 16:13 comment latex C-c C-c? avilella
2008-01-12 16:25 ` Ralf Angeli
2008-01-12 16:43   ` avilella [this message]
2008-01-12 16:57     ` Ralf Angeli
2008-01-12 18:08       ` Lennart Borgman (gmail)
2008-01-12 18:21     ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a9b994f-7e6f-494f-82a3-2ab198b4900c@v29g2000hsf.googlegroups.com \
    --to=avilella@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).