From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: robert.thorpe@antenova.com (Rob Thorpe) Newsgroups: gmane.emacs.help Subject: Re: Emacs C source, suggested reading order Date: 23 Jan 2004 19:25:50 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1a61f7e5.0401231925.74ca10f1@posting.google.com> References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1074915281 26127 80.91.224.253 (24 Jan 2004 03:34:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2004 03:34:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 04:34:34 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AkEZ7-0005jx-02 for ; Sat, 24 Jan 2004 04:34:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AkEVI-0004xL-49 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2004 22:30:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 218.145.25.119 Original-X-Trace: posting.google.com 1074914751 31256 127.0.0.1 (24 Jan 2004 03:25:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 24 Jan 2004 03:25:51 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:120371 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:16315 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16315 joao wrote in message news:... > Hi all, > > I wanted to write some emacs lisp code to display the contents of registers, > where I've saved several window configurations. I was thinking of a list of > registers identified by a, b, c, ..., with, for each one, the names of the > buffers/files displayed in each window. > > Unfortunately the Elisp Manual states clearly that > > Primitives to look inside of window configurations would > make sense, but none are implemented. It is not clear they > are useful enough to be worth implementing. > > So I guess it's time to start reading that Emacs C source code, so I can add > the primitive I need. I've found the window config functions in window.c, but > obviously there's a lot to understand in this (big) source. > > Does anyone have a suggested reading order in all these C source files ? are > there some useful comments buried inside any particular file ? things like > description/explanation of how lisp objects/functions are implemented in C ? or > the interface between lisp and C ? > > Suggestions welcome. Otherwise I'll start with emacs.c :-) Start with lisp.h, then read emacs.c or eval.c I can't advise you further than that since I haven't got further myself!