[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs geometry

From: Eli Zaretskii
Subject: Re: Emacs geometry
Date: Mon, 31 Jul 2006 00:27:33 +0300

> From: Ralf Angeli <address@hidden>
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]