all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jon.Kare.hellan@uninett.no (Jon Kåre Hellan)
Subject: Re: Uncomment keybinding
Date: 15 Jan 2003 21:16:25 +0100	[thread overview]
Message-ID: <te8yxmqicm.fsf@persaunet.uninett.no> (raw)
In-Reply-To: mailman.321.1042659185.21513.help-gnu-emacs@gnu.org

Kevin Breit <mrproper@ximian.com> writes:

> Hey,
> 	How do I setup a keybinding in emacs 21.2 to uncomment a selection?
> 
> Thanks!

E.g.

(global-set-key [(control ?c) ?c ] 'comment-region)

This binds Ctl-c c to the command 'comment-region'. Ctl-u Ctl-c c will
uncomment. 

Good luck

JK

  parent reply	other threads:[~2003-01-15 20:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.321.1042659185.21513.help-gnu-emacs@gnu.org>
2003-01-15 19:44 ` Uncomment keybinding Edward O'Connor
2003-01-15 20:16 ` Jon Kåre Hellan [this message]
2003-01-16  0:17 ` Stefan Monnier <foo@acm.com>
2003-01-15 18:55 Kevin Breit

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

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

  git send-email \
    --in-reply-to=te8yxmqicm.fsf@persaunet.uninett.no \
    --to=jon.kare.hellan@uninett.no \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.