From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: joao Newsgroups: gmane.emacs.help Subject: Re: Emacs C source, suggested reading order Date: 24 Jan 2004 14:20:06 +0100 Organization: http://www.domainepublic.org Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: 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 1074951212 6957 80.91.224.253 (24 Jan 2004 13:33:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2004 13:33:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 14:33:24 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 1AkNue-0003Nj-00 for ; Sat, 24 Jan 2004 14:33:24 +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 1AkNtj-0007KJ-1e for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2004 08:32:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!oleane.net!nnx.oleane.net!oleane!teaser.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: d32-204.ppp.teaser.fr Original-X-Trace: feed.teaser.net 1074950408 61587 213.91.32.204 (24 Jan 2004 13:20:08 GMT) Original-X-Complaints-To: abuse@teaser.fr Original-NNTP-Posting-Date: Sat, 24 Jan 2004 13:20:08 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:120380 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:16325 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16325 "Eli Zaretskii" writes: > The only built-in function involved in saving the window configuration > to a register is current-window-configuration (defined on window.c), > so I'm guessing that this is the function you are talking about. What > it does is create a C data structure whose members store various > parameters of the window configuration, then store the data structure > in a Lisp object. A helper subroutine save_window_save is also of > interest. Yes, that's it. What I want is to query the contents of that C structure, and make it available as a Lisp object or through a Lisp function. > To understand the details, you need to look at lisp.h that defines > the macros, such as XSETINT, XVECTOR, XSETWINDOW_CONFIGURATION, etc. Good, thanks ! Joao -- João Moreira de Sá Coutinho (joao at teaser dot fr)