From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: self-insert-command source code? Date: Thu, 04 Dec 2014 22:58:47 +0100 Message-ID: <871tofaxgo.fsf@wmi.amu.edu.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417730373 9616 80.91.229.3 (4 Dec 2014 21:59:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 21:59:33 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 22:59:26 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XweQn-0003Rc-JN for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 22:59:25 +0100 Original-Received: from localhost ([::1]:47925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XweQn-0003Tw-9h for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 16:59:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XweQS-0003OC-J4 for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 16:59:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XweQJ-0004LB-6j for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 16:59:04 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:48500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XweQJ-0004K7-0V for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 16:58:55 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 53DEE66391 for ; Thu, 4 Dec 2014 22:58:53 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OerZ4QYUXNkf for ; Thu, 4 Dec 2014 22:58:53 +0100 (CET) Original-Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 226035AA5C for ; Thu, 4 Dec 2014 22:58:52 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101407 Archived-At: To my disappointment, I've just found out that self-insert-command is written in C and not in Elisp. I don't speak C very well (and don't have the sources for Emacs installed (yet)), so could anyone shed some light on these two questions (just in some spare time =E2=80=93 it's not = that I /need/ it now). 1. Why is that so? Since this is an interactive function, performance should not be the issue. 2. What it might look like /if/ it was written in Elisp? TIA, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University