From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Binding C-i without losing <tab> functionality
Date: Fri, 24 Oct 2008 11:30:17 +0200 [thread overview]
Message-ID: <1224840967.664379@arno.fh-trier.de> (raw)
In-Reply-To: <mailman.1986.1224837322.25473.help-gnu-emacs@gnu.org>
Paul R wrote:
> On Thu, 23 Oct 2008 17:56:03 -0700 (PDT), Joseph Peterson <jeepeterson@yahoo.com> said:
>
> Joseph> Hello all, I'm trying to bind C-i to isearch-forward, but I'm
> Joseph> having some problems.
>
> 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.
>
This looks like the answer :
,----[ (info "(elisp)Function Keys") ]
| In ASCII, `C-i' and <TAB> are the same character. If the terminal
| can distinguish between them, Emacs conveys the distinction to
| Lisp programs by representing the former as the integer 9, and the
| latter as the symbol `tab'.
|
| Most of the time, it's not useful to distinguish the two. So
| normally `function-key-map' (*note Translation Keymaps::) is set
| up to map `tab' into 9. Thus, a key binding for character code 9
| (the character `C-i') also applies to `tab'. Likewise for the
| other symbols in this group. The function `read-char' likewise
| converts these events into characters.
`----
(member '(tab . [9]) function-keymap)
-ap
next prev parent reply other threads:[~2008-10-24 9:30 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 [this message]
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
[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=1224840967.664379@arno.fh-trier.de \
--to=politza@fh-trier.de \
--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.