[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: Sun, 30 Jul 2006 23:38:43 +0300

> From: Ralf Angeli <address@hidden>
> Date: Sun, 30 Jul 2006 22:30:14 +0200
> Hm, something seems to be there.  If I insert
>   Lisp_Object foo = Qnil;
>   foo = Fsymbol_value (intern ("initial-frame-alist"));
>   if (CONSP (foo) && Fassq (Qtop, foo) && Fassq (Qleft, foo))
>     printf ("top: %d, left: %d", XCDR (Fassq (Qtop, foo)),
>           XCDR (Fassq (Qleft, foo)));
>   else
>     printf ("no");
> into `w32_createwindow' and call Emacs with -g 80x30+20+10 the output
> top: 80, left: 160
> appears in the shell.  Does anybody know why the output is eight times
> the input?

Probably because -geometry is specified in character units, while top
and left are in pixels.

reply via email to

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