From: jeep <jeepeterson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Binding C-i without losing <tab> functionality
Date: Fri, 24 Oct 2008 08:32:40 -0700 (PDT) [thread overview]
Message-ID: <d5a9be54-eb46-4250-a243-099ba38a354f@g25g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.1986.1224837322.25473.help-gnu-emacs@gnu.org
> Some devices are known to treat C-i and TAB as the same signal, as
> well as C-m and RET. I think this is why it is not so easy to
> dissociate them in emacs, even when your device allows it.
I can disassociate them... if I set them both. My understanding is
that
C-i and <tab> are both, by default, set to ASCII character 9, which is
given the notation TAB.
If I set both "C-i" and "<tab>", then C-i and the tab key do different
things.
Unfortunately, many modes bind the tab key differently. I want to keep
all those other bindings while reassigning C-i.
It's the same thing with <return> and C-m. They are both aliased to
RET (ASCII 13). But the following code works fine:
(global-set-key [return] 'newline)
(global-set-key [?\C-m] 'open-line)
I don't know how to make one different than the other without binding
them both. The <tab> is so useful, I don't want to globally rebind it.
I only want C-i rebound.
-JEEP
next prev parent reply other threads:[~2008-10-24 15:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 0:56 Binding C-i without losing <tab> functionality Joseph Peterson
2008-10-24 8:35 ` Paul R
[not found] ` <mailman.1986.1224837322.25473.help-gnu-emacs@gnu.org>
2008-10-24 9:30 ` Andreas Politz
2008-10-24 15:40 ` jeep
2008-10-24 17:37 ` Andreas Politz
2008-10-24 18:45 ` jeep
2008-10-25 5:13 ` jeep
2008-10-25 10:02 ` Andreas Politz
2008-10-29 5:29 ` jeep
2008-10-24 15:32 ` jeep [this message]
[not found] <mailman.1964.1224816146.25473.help-gnu-emacs@gnu.org>
2008-10-24 8:44 ` Xah
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=d5a9be54-eb46-4250-a243-099ba38a354f@g25g2000prf.googlegroups.com \
--to=jeepeterson@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.
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.