* "help" key with Cocoa Emacs 23
@ 2008-11-26 10:17 Jonathan Groll
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Groll @ 2008-11-26 10:17 UTC (permalink / raw
To: help-gnu-emacs
It seems that the "help" key on an external Apple keyboard is not
detected by Emacs 23 Cocoa.
C-h k does not detect this key (the "delete" key is detected this
way).
Previously Aquamacs was able to detect this key, and in Aquamacs this
key could be rebound with something like:
(global-set-key [help] 'overwrite-mode)
GNU Emacs 23.0.60.1 (i386-apple-darwin9, NS apple-appkit-949.35)
of 2008-11-20 on a white macbook.
Cheers,
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "help" key with Cocoa Emacs 23
[not found] <mailman.1280.1227694635.26697.help-gnu-emacs@gnu.org>
@ 2008-11-26 13:09 ` Xah Lee
0 siblings, 0 replies; 2+ messages in thread
From: Xah Lee @ 2008-11-26 13:09 UTC (permalink / raw
To: help-gnu-emacs
On Nov 26, 2:17 am, Jonathan Groll <li...@groll.co.za> wrote:
> It seems that the "help" key on an external Apple keyboard is not
> detected by Emacs 23 Cocoa.
>
> C-h k does not detect this key (the "delete" key is detected this
> way).
>
> Previously Aquamacs was able to detect this key, and in Aquamacs this
> key could be rebound with something like:
>
> (global-set-key [help] 'overwrite-mode)
as far as i know, that key on PC and Apple keyboad probably send the
same scancode, so it's probably only a key label difference.
• Difference Between Apple and PC keyboards
http://xahlee.org/emacs/apple_pc_kb_diff.html
You can bind anykey you want. See:
--------------------
Q: How to find out the syntax for a particular key press?
Type “Ctrl+h k” (or “Alt+x describe-key”), then press the key
combination. Emacs will then tell you its read syntax as a keyboard
macro. For example, you want to know the syntax for the key press of
“Ctrl+Alt+F8”. Type “Alt+x describe-key” then press “Ctrl+Alt+F8”,
then emacs will print “<C-M-f8> is undefined”. Then, you can use “(kbd
"<C-M-f8>")” to represent that key press combination in lisp code.
Note: There is a lot syntax variations, but the one printed by
“describe-key” is guaranteed to work. For details of emacs's keystroke
syntax variation, see: The Confusion of Emacs's Keystroke
Representation.
--------------------
above is from:
• How to Define Keyboard Shortcuts in Emacs
http://xahlee.org/emacs/keyboard_shortcuts.html
However, if you were unable to bind the Insert key. That means it's a
bug in Emacs.app. It is a known bug that Emacs.app cannot bind keys to
those on the number keypad. I don't remember, but probably including
those on the Home/End block.
----------------------
gosh, there are still people who actually used the Insert key
overwrite behavior?
Xah
∑ http://xahlee.org/
☄
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-26 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 10:17 "help" key with Cocoa Emacs 23 Jonathan Groll
[not found] <mailman.1280.1227694635.26697.help-gnu-emacs@gnu.org>
2008-11-26 13:09 ` Xah Lee
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).