From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: joao Newsgroups: gmane.emacs.help Subject: Emacs C source, suggested reading order Date: 24 Jan 2004 00:40:18 +0100 Organization: http://www.domainepublic.org Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1074901918 15831 80.91.224.253 (23 Jan 2004 23:51:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2004 23:51:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 00:51:52 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 1AkB5c-0005Tl-00 for ; Sat, 24 Jan 2004 00:51:52 +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 1AkAzp-0005NR-Qz for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2004 18:45:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!teaser.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: d32-113.ppp.teaser.fr Original-X-Trace: feed.teaser.net 1074901222 75001 213.91.32.113 (23 Jan 2004 23:40:22 GMT) Original-X-Complaints-To: abuse@teaser.fr Original-NNTP-Posting-Date: Fri, 23 Jan 2004 23:40:22 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:120369 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:16313 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16313 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 :-) Thx, Joao -- João Moreira de Sá Coutinho (joao at teaser dot fr)