Stefan Wiens schrieb:
> Wie lautet denn der Inhalt der Variablen default-frame-alist
> (und sicherheitshalber auch von initial-frame-alist),
> nachdem Emacs gestartet ist?
> Bitte mittels `C-h v' erfragen.
> Und weshalb hast du das nicht gleich getan?
Der Inhalt von default-frame-alist und initial-frame-alist
default-frame-alist is a variable defined in ‘C source code’.
Its value is ((top . 6) (left . 185) (width . 190) (height . 54))
Original value was nil
This variable may be risky if used as a file-local variable.
Documentation:
Alist of default values for frame creation.
These may be set in your init file, like this:
(setq default-frame-alist '((width . 80) (height . 55) (menu-bar-lines . 1)))
These override values given in window system configuration data,
including X Windows’ defaults database.
For values specific to the first Emacs frame, see ‘initial-frame-alist’.
For window-system specific values, see ‘window-system-default-frame-alist’.
For values specific to the separate minibuffer frame, see
‘minibuffer-frame-alist’.
The ‘menu-bar-lines’ element of the list controls whether new frames
have menu bars; ‘menu-bar-mode’ works by altering this element.
Setting this variable does not affect existing frames, only new ones.
You can customize this variable.
initial-frame-alist is a variable defined in ‘frame.el’.
Its value is nil
This variable may be risky if used as a file-local variable.
Documentation:
Alist of parameters for the initial X window frame.
You can set this in your init 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, a minibuffer frame is
created according to ‘minibuffer-frame-alist’.
You can specify geometry-related options for just the initial
frame by setting this variable in your init file; however, they
won’t take effect until Emacs reads your init file, which happens
after creating the initial frame. If you want the initial 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 can customize this variable.
--
Ich antworte mit einem entschiedenen Vielleicht.