help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overriding self-insert-command doesn't work


From: Barry Margolin
Subject: Re: Overriding self-insert-command doesn't work
Date: Mon, 12 Mar 2007 21:25:40 -0400
User-agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X)

In article <1173724258.067960.37960@s48g2000cws.googlegroups.com>,
 "spamfilteraccount@gmail.com" <spamfilteraccount@gmail.com> wrote:

> On Mar 12, 6:23 pm, "Robert Thorpe" <rtho...@realworldtech.com> 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?

When C functions call other C functions they use the normal C linker, 
they don't go through the Lisp interpreter.

It would be possible for them to do this, but it would require extra 
coding and would probably have performance implications.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]