* bug#1000: C-i is TAB on my Mac
@ 2009-01-21 23:19 Adrian Robert
2009-01-22 4:22 ` Stefan Monnier
2009-01-22 5:26 ` jasonr
0 siblings, 2 replies; 5+ messages in thread
From: Adrian Robert @ 2009-01-21 23:19 UTC (permalink / raw)
To: 1000; +Cc: Alex Schröder
I could use some more background here. Hitting C-h k C-i says the
key was "TAB", whereas actually hitting C-h k tab says the key was
"TAB (translated from <tab>)". Is the definition of tab Ctrl-i and
then some fancy keyboards later added a Tab key? What does emacs do
under X or w32? What behavior is expected?
thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1000: C-i is TAB on my Mac
2009-01-21 23:19 bug#1000: C-i is TAB on my Mac Adrian Robert
@ 2009-01-22 4:22 ` Stefan Monnier
2009-01-22 20:31 ` Glenn Morris
2009-01-22 5:26 ` jasonr
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2009-01-22 4:22 UTC (permalink / raw)
To: Adrian Robert; +Cc: Alex Schröder, 1000
> I could use some more background here. Hitting C-h k C-i says the key was
> "TAB", whereas actually hitting C-h k tab says the key was "TAB (translated
> from <tab>)". Is the definition of tab Ctrl-i and then some fancy
> keyboards later added a Tab key? What does emacs do under X or w32?
> What behavior is expected?
Yes, TAB is an ASCII char whose code is the same as C-i, just like DEL
is an ASCII char (whose code is the same as C-?). The `tab' key emits
a `tab' symbol event which is then turned into a TAB char event.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1000: C-i is TAB on my Mac
2009-01-21 23:19 bug#1000: C-i is TAB on my Mac Adrian Robert
2009-01-22 4:22 ` Stefan Monnier
@ 2009-01-22 5:26 ` jasonr
1 sibling, 0 replies; 5+ messages in thread
From: jasonr @ 2009-01-22 5:26 UTC (permalink / raw)
To: Adrian Robert, 1000
Quoting Adrian Robert <adrian.b.robert@gmail.com>:
> I could use some more background here. Hitting C-h k C-i says the
> key was "TAB", whereas actually hitting C-h k tab says the key was
> "TAB (translated from <tab>)". Is the definition of tab Ctrl-i and
> then some fancy keyboards later added a Tab key? What does emacs do
> under X or w32? What behavior is expected?
The definition of C-i is the ASCII control character with a code of 9 (TAB).
w32 also reports simply TAB for C-h k C-i, and TAB (translated from <tab>) for
the tab key. So this is not a Mac specific thing.
While I can see the connection between C-i and ASCII TAB, it does seem
inconsistent, as other control keys are not reported as their ASCII meaning
like this.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-22 20:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 23:19 bug#1000: C-i is TAB on my Mac Adrian Robert
2009-01-22 4:22 ` Stefan Monnier
2009-01-22 20:31 ` Glenn Morris
2009-01-22 20:40 ` Processed: " Emacs bug Tracking System
2009-01-22 5:26 ` jasonr
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).