[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: |
Tue, 25 Jul 2006 22:58:48 +0300 |
> From: Ralf Angeli <address@hidden>
> Date: Tue, 25 Jul 2006 20:55:35 +0200
>
> * Eli Zaretskii (2006-07-25) writes:
>
> > Sridhar Boovaraghavan reports that geometry specification in the
> > Registry is not honored. If that is true, it's a bug that should be
> > fixed. Could you please look into it?
>
> Sure. But likely not today.
Thanks.
Here's what I saw in the code, that would perhaps help you. When
Emacs sees -geometry, it puts the width and height parameters into
both default-frame-alist and initial-frame-alist, but top and left
only into initial-frame-alist. (See w32-win.el: x-handle-geometry.)
Later, when w32_createwindow is called to create the initial frame, it
calls w32_get_arg to get the left and top coordinates, but it calls it
with the first argument Qnil. When called with Qnil, w32_get_arg
looks inside default-frame-alist, but the left and top parameters are
not there. So we use CW_USEDEFAULT instead.
The trick is to somehow recognize that this is the initial frame, and
then call w32_get_arg to look up left and top in initial-frame-alist,
not just in default-frame-alist.
- Re: Emacs geometry, (continued)
- Re: Emacs geometry, Jason Rumney, 2006/07/26
- RE: Emacs geometry, Drew Adams, 2006/07/26
- Re: Emacs geometry, Mathias Dahl, 2006/07/26
- Re: Emacs geometry, Jason Rumney, 2006/07/26
- RE: Emacs geometry, Drew Adams, 2006/07/25
- Re: Emacs geometry, Eli Zaretskii, 2006/07/25
- Re: Emacs geometry, Ralf Angeli, 2006/07/25
- Re: Emacs geometry,
Eli Zaretskii <=
- Re: Emacs geometry, Eli Zaretskii, 2006/07/25
- Re: Emacs geometry, Ralf Angeli, 2006/07/27
- Re: Emacs geometry, Eli Zaretskii, 2006/07/28
- Re: Emacs geometry, Ralf Angeli, 2006/07/30
- Re: Emacs geometry, David Kastrup, 2006/07/30
- Re: Emacs geometry, Eli Zaretskii, 2006/07/30
- Re: Emacs geometry, David Kastrup, 2006/07/30
- Re: Emacs geometry, Eli Zaretskii, 2006/07/30
- Re: Emacs geometry, Eli Zaretskii, 2006/07/30
- Re: Emacs geometry, Ralf Angeli, 2006/07/30