* bug#1000: C-i is TAB on my Mac
@ 2008-09-19 9:39 Alex
0 siblings, 0 replies; 6+ messages in thread
From: Alex @ 2008-09-19 9:39 UTC (permalink / raw)
To: bug-gnu-emacs
When I use C-h k C-i I get the following:
TAB runs the command indent-for-tab-command
Apparently C-i gets translated to TAB as if I were in a terminal
window but I'm using Emacs in Apple's windowing system.
In GNU Emacs 22.3.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0)
of 2008-09-11 on Pyrobombus.local
Windowing system distributor `Apple Inc.', version 10.4.11
configured using `configure '--enable-carbon-app''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Major mode: Help
Minor modes in effect:
encoded-kbd-mode: t
show-paren-mode: t
iswitchb-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
view-mode: t
Recent input:
C-c TAB C-c <tab> C-c TAB C-c
TAB <C-up> C-SPC <C-down> <escape> x i n d e n t -
r e g i o n <return> C-x C-s <C-up> <C-down> <C-down>
<C-up> C-h k TAB <S-down> <escape> x e m a c s . v
e r <backspace> <backspace> <backspace> <backspace>
- v e r <tab> <return> <escape> x r e p o r t <tab>
<return>
Recent messages:
Mark set [2 times]
Mark saved where search started
Mark set
Mark activated
Loading newcomment...done
Saving file /Users/alex/oddmuse/wiki.pl...
Wrote /Users/alex/oddmuse/wiki.pl
Type C-x 1 to remove help window.
GNU Emacs 22.3.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0) of
2008-09-11 on Pyrobombus.local
Loading emacsbug...done
^ permalink raw reply [flat|nested] 6+ messages in thread
* 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; 6+ 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] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread
* bug#1000: C-i is TAB on my Mac
2009-01-22 4:22 ` Stefan Monnier
@ 2009-01-22 20:31 ` Glenn Morris
2009-01-22 20:40 ` Processed: " Emacs bug Tracking System
0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2009-01-22 20:31 UTC (permalink / raw)
To: 1000; +Cc: Adrian Robert
reassign 1000 emacs
stop
This issue (if it is an issue) is the same under X on GNU/Linux, so I
should not have assigned this to ns; sorry.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Processed: Re: bug#1000: C-i is TAB on my Mac
2009-01-22 20:31 ` Glenn Morris
@ 2009-01-22 20:40 ` Emacs bug Tracking System
0 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-01-22 20:40 UTC (permalink / raw)
To: Glenn Morris; +Cc: Emacs Bugs, ns for {1000}
Processing commands for control@emacsbugs.donarmstrong.com:
> reassign 1000 emacs
bug#1000: C-i is TAB on my Mac
Warning: Unknown package 'ns'
bug reassigned from package `emacs,ns' to `emacs'.
> stop
Stopping processing here.
Please contact me if you need assistance.
Don Armstrong
(administrator, Emacs bugs database)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-22 20:40 UTC | newest]
Thread overview: 6+ 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
-- strict thread matches above, loose matches on Subject: below --
2008-09-19 9:39 Alex
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.