From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kj Newsgroups: gmane.emacs.help Subject: One more time: binding overwrite-mode to Apple kbd Date: Sun, 16 Jul 2006 16:07:13 +0000 (UTC) Organization: none Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1153068074 12836 80.91.229.2 (16 Jul 2006 16:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Jul 2006 16:41:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 16 18:41:12 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G29fQ-0006gA-Jl for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Jul 2006 18:40:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G29fQ-0003iD-3l for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Jul 2006 12:40:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!nntp-server.caltech.edu!hammer.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!NNTP.WPI.EDU!newsfeed-00.mathworks.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader2.panix.com 1153066033 29038 166.84.1.3 (16 Jul 2006 16:07:13 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Sun, 16 Jul 2006 16:07:13 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.7.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:140368 Original-To: help-gnu-emacs@gnu.org 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:35992 Archived-At: Apple keyboards apparently don't have an key (mine certainly doesn't), which is a pain when one wants to toggle overwrite-mode. Searching online I've found claims that the key in these keyboards serves as the key, but when I use it in Emacs, the key produces the help- prefix (reasonably enough); i.e. it is equivalent to hitting C-h. I'd be perfectly happy to jettison this functionality, since I find C-h convenient enough. I am assuming that the key emits a different code from what's sent by C-h. I have two questions: 1) can this raw *keyboard code* be bound to an Emacs command? and if yes, 2) how do I determine what this code is? The situation on my MacBook portable's keyboard is even worse: it doesn't even have a key. I suppose I'll just bind C-c i to overwrite-mode. Any better ideas? Thanks! kj -- NOTE: In my address everything before the first period is backwards; and the last period, and everything after it, should be discarded.