From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs geometry Date: Mon, 31 Jul 2006 00:27:33 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154294874 17663 80.91.229.2 (30 Jul 2006 21:27:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2006 21:27:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 30 23:27:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G7IpC-0002Vo-96 for ged-emacs-devel@m.gmane.org; Sun, 30 Jul 2006 23:27:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7IpB-0004JE-Je for ged-emacs-devel@m.gmane.org; Sun, 30 Jul 2006 17:27:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7Ioy-0004I3-5P for emacs-devel@gnu.org; Sun, 30 Jul 2006 17:27:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7Iov-0004Ga-H8 for emacs-devel@gnu.org; Sun, 30 Jul 2006 17:27:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7Iov-0004GQ-3d for emacs-devel@gnu.org; Sun, 30 Jul 2006 17:27:33 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7IrR-0007r8-7o for emacs-devel@gnu.org; Sun, 30 Jul 2006 17:30:09 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-237-159.inter.net.il [84.228.237.159]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EHP64944 (AUTH halo1); Mon, 31 Jul 2006 00:27:31 +0300 (IDT) Original-To: Ralf Angeli In-reply-to: (message from Ralf Angeli on Sun, 30 Jul 2006 23:09:33 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57819 Archived-At: > From: Ralf Angeli > Date: Sun, 30 Jul 2006 23:09:33 +0200 > > > Interesting. And what is the value of f->param_alist at that point? > > I've got no idea. You could look in the debugger. > As far as I understand f->param_alist has the same > structure as initial-frame-alist. But if I try to get the values for > top and left with stuff like XCDR (Fassq (Qtop, f->param_alist)), all > I get are (identical) addresses as it seems. For example > top: 18179347, left 18179347 Try xtype and/or pr right after you print that in the debugger. I'm guessing that this is nil (a.k.a. Qnil in C), which would mean that there's no left and top parameters in f->param_alist. > BTW, I don't get any output if I try to use macros like XCDR or XCAR > with gdb. Am I doing something wrong? Yes, see etc/DEBUG. We have special commands (defined in .gdbinit) to print Lisp objects. > As far as I understood the manual of gdb it should be able to handle > those. Only if you compile with "-gdwarf-2 -g3", and even then I'm not sure this is supported on Windows.