From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: Overriding self-insert-command doesn't work Date: 14 Mar 2007 07:17:14 -0700 Organization: http://groups.google.com Message-ID: <1173881834.052762.269540@o5g2000hsb.googlegroups.com> References: <1173545783.896059.199250@j27g2000cwj.googlegroups.com> <1173720205.260602.147770@q40g2000cwq.googlegroups.com> <1173724258.067960.37960@s48g2000cws.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1173883178 11768 80.91.229.12 (14 Mar 2007 14:39:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 14:39:38 +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 Mar 14 15:39:30 2007 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 1HRUdV-00075M-Iw for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 15:39:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRUeO-0000HJ-Qn for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 09:40:24 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!o5g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 213.94.228.210 Original-X-Trace: posting.google.com 1173881835 13951 127.0.0.1 (14 Mar 2007 14:17:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 14 Mar 2007 14:17:15 +0000 (UTC) In-Reply-To: <1173724258.067960.37960@s48g2000cws.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: o5g2000hsb.googlegroups.com; posting-host=213.94.228.210; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:146356 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:41961 Archived-At: On Mar 12, 6:30 pm, "spamfilteracco...@gmail.com" wrote: > On Mar 12, 6:23 pm, "Robert Thorpe" wrote: > > The command "self-insert-command" is inbuilt to Emacs. It is part of > > the static binary executable and is called directly by other parts of > > that executable. Changing it cannot change this version. > > That's not very nice, is it? Regardless of whether it's built-in, > implemented in C, it should behave as a proper lisp symbol. I don't > see why built-in functions should have to call the internal > implementation of self-insert-command directly rather than invoking > the function in the symbol's function slot. > > Isn't it a bug? The intention is only to have one interface into changing how keychords work, the keymap. Read the section in the Emacs Lisp Manual on keymaps, and the posts other people have put here.