[ILUG] Easy question...

Brendan Halpin brendan.halpin at ul.ie
Wed Nov 8 12:07:42 GMT 2000


Michael Treacy <delphi91 at hotmail.com> wrote: 
> dneary at informix.com wrote:
> >In your .Xdefaults, you can set XEmacs.geometry (I think), it may be
> >XEmacs*Geometry - anyone know why some stuff is dots, and some stuff
> >uses stars? Anyway, it can be done in Xdefaults.
> >
> >Hope this helps,
> >Dave.
> 
> 
> Thanks Dave, much appreciated.
> 
> I had a feeling that was the answer, but I just wanted to check in case I 
> was missing anything more obvious, like a setting within XEmacs.

~/.Xdefaults is probably a better solution because it is the same
mechanism for all programs, but within FSF Emacs this works:
(extract from Customize buffer)
+---------------------------------------------------------------------------
|Initial Frame Alist: [Hide]
|[INS]
|   [State]: this option is unchanged from its standard setting.
|Alist of frame parameters for creating the initial X window frame. [Hide]
|You can set this in your `.emacs' file; for example,
| (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55)))
|Parameters specified here supersede the values given in `default-frame-alist'.
|
|If the value calls for a frame without a minibuffer, and you have not created
|a minibuffer frame on your own, one is created according to
|`minibuffer-frame-alist'.
|
|You can specify geometry-related options for just the initial frame
|by setting this variable in your `.emacs' file; however, they won't
|take effect until Emacs reads `.emacs', which happens after first creating
|the frame.  If you want the frame to have the proper geometry as soon
|as it appears, you need to use this three-step process:
|* Specify X resources to give the geometry you want.
|* Set `default-frame-alist' to override these options so that they
|  don't affect subsequent frames.
|* Set `initial-frame-alist' in a way that matches the X resources,
|  to override what you put in `default-frame-alist'.
+---------------------------------------------------------------------------

You could try experimenting with 
 (setq initial-frame-alist '((top . 1) (left . 1) (width . 80)
 (height . 55))) 
in Xemacs; it may work or there may be something equivalent.

Brendan

-- 
Brendan Halpin, Dept of Government and Society, Limerick University, Ireland
Tel: w +353-61-213147; f +353-61-202569; h +353-61-385276; Room S1-03 x 3147
<mailto:brendan.halpin at ul.ie>        <http://wivenhoe.staff8.ul.ie/~brendan>




More information about the ILUG mailing list