From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: is Emacs completely written in lisp Date: Wed, 21 Nov 2007 09:58:29 -0500 Organization: I need to put my ORGANIZATION here. Message-ID: <878x4rbq7e.fsf@W0053328.mgh.harvard.edu> References: <0b863c61-a1fd-43fe-b160-f257f660d416@c29g2000hsa.googlegroups.com> <5qg0qsFvs4boU1@mid.individual.net> <87wsscbvye.fsf@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195659662 7089 80.91.229.12 (21 Nov 2007 15:41:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2007 15:41:02 +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 21 16:41:08 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 1Iurgw-0002dj-AH for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Nov 2007 16:40:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iurgi-0003Xz-8L for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Nov 2007 10:40:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!LF.net!quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-X-Trace: plato.harvard.edu 1195657109 9026 132.183.29.121 (21 Nov 2007 14:58:29 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Wed, 21 Nov 2007 14:58:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:CBAU6ULzDhR1cMXvROE/oko6ZsI= Original-Xref: shelby.stanford.edu gnu.emacs.help:153967 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:49398 Archived-At: arunmib writes: > On Nov 20, 11:42 pm, jadam...@partners.org (Joel J. Adamson) wrote: >> arunmib writes: >> > On Nov 20, 5:04 pm, Marc Tfardy wrote: >> >> arunmib schrieb: >> >> >> > Hi all, >> >> > Is Emacs completely written in Lisp or is written in combination >> >> > with some other language. What I am trying to ask is the UI and other >> >> > OS dependent stuff (if any, I don't know this thing) is also written >> >> > in Lisp or some other language, like C is also used.... >> >> >> C + ELisp >> >> >> Marc >> >> > Out of curiosity, can you tell me how? just a general overview or some >> > place where I can read, how this is done? >> >> Stallman's article is a good place to hear about the why and how:http://www.gnu.org/gnu/rms-lisp.html. My understanding is that the >> functions that really need to work fast and often, as well as >> the Emacs Lisp interpreter are in C. Basically the backbone is C and >> the Lisp interpreter (a full-on REPL) takes care of the rest. If you >> `M-x apropos' and look up a function name, it will tell you if it's in C >> or Lisp, along with a link to the file where you can find the function. >> >> - Show quoted text - > > Thanks a lot for the useful disucssion ppl. > I will go through the links. But before that by reading these posts as > a crude form of understanding, can I say that what ever I type in as > command is parsed through the Lisp interpreter and the appropriate C > or Lisp function is called. Is my understanding correct or ? AFAIK, yes. But those Lisp commands are written in C --- this is the angle that Marc et al. explained. For example, in the C I quoted from the documentation, the function is a DEFUN. Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109