all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: "Samuel Wales" <samologist@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: how to bind c-~ or c-` ?
Date: Fri, 19 Dec 2008 00:01:38 +0200	[thread overview]
Message-ID: <87d4fprvlp.fsf@iki.fi> (raw)
In-Reply-To: <mailman.3070.1229636932.26697.help-gnu-emacs@gnu.org> (Samuel Wales's message of "Thu\, 18 Dec 2008 14\:09\:12 -0700")

Samuel Wales (2008-12-18 14:09 -0700) wrote:

> I've tried to bind c-~ and c-` using incantations including "\C-~",
> [(control ...)], and simply doing M-x local-set-key and pasting the
> rather cryptic (local-set-key (quote [67108960]) (quote ignore)).
>
> That last trick has always worked to bind things I couldn't figure out
> how to bind, but not this time.

Perhaps "kbd" function helps? (kbd "C-`") returns [67108960] so you
could do:

    (global-set-key (kbd "C-`") 'do-this)
    (global-set-key (kbd "C-~") 'do-that)




       reply	other threads:[~2008-12-18 22:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3070.1229636932.26697.help-gnu-emacs@gnu.org>
2008-12-18 22:01 ` Teemu Likonen [this message]
2008-12-18 22:46   ` how to bind c-~ or c-` ? Samuel Wales
     [not found]   ` <mailman.3092.1229672252.26697.help-gnu-emacs@gnu.org>
2008-12-19  9:27     ` Phil Carmody
2008-12-19 18:27       ` Samuel Wales
     [not found] ` <mailman.3072.1229637711.26697.help-gnu-emacs@gnu.org>
2008-12-19  0:03   ` Joe Casadonte
2008-12-20 15:56     ` Kevin Rodgers
     [not found]     ` <mailman.3166.1229788605.26697.help-gnu-emacs@gnu.org>
2008-12-20 16:21       ` Joe Casadonte
2008-12-18 21:09 Samuel Wales

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=87d4fprvlp.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=help-gnu-emacs@gnu.org \
    --cc=samologist@gmail.com \
    /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.