From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: "help" key with Cocoa Emacs 23 Date: Wed, 26 Nov 2008 05:09:45 -0800 (PST) Organization: http://groups.google.com Message-ID: <9b021b93-d344-4f8d-ad2b-59c108da6308@s9g2000prm.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227709912 22908 80.91.229.12 (26 Nov 2008 14:31:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2008 14:31:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 26 15:32:56 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5LRW-0004Zg-44 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Nov 2008 15:32:38 +0100 Original-Received: from localhost ([127.0.0.1]:60598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5LQM-0002Ws-0G for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Nov 2008 09:31:26 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s9g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 59 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1227704985 1323 127.0.0.1 (26 Nov 2008 13:09:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 26 Nov 2008 13:09:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000prm.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.26.2 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164798 comp.emacs:97400 X-Mailman-Approved-At: Wed, 26 Nov 2008 09:29:25 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60129 Archived-At: On Nov 26, 2:17 am, Jonathan Groll 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. =E2=80=A2 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 =E2=80=9CCtrl+h k=E2=80=9D (or =E2=80=9CAlt+x describe-key=E2=80=9D), = 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 =E2=80=9CCtrl+Alt+F8=E2=80=9D. Type =E2=80=9CAlt+x describe-key=E2=80=9D th= en press =E2=80=9CCtrl+Alt+F8=E2=80=9D, then emacs will print =E2=80=9C is undefined=E2=80=9D. Then, you ca= n use =E2=80=9C(kbd "")=E2=80=9D to represent that key press combination in lisp code. Note: There is a lot syntax variations, but the one printed by =E2=80=9Cdescribe-key=E2=80=9D is guaranteed to work. For details of emacs'= s keystroke syntax variation, see: The Confusion of Emacs's Keystroke Representation. -------------------- above is from: =E2=80=A2 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 =E2=88=91 http://xahlee.org/ =E2=98=84