bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Initial geometry with (scroll-bar-mode -1) (tool-bar-mode -1)


From: Eli Zaretskii
Subject: Re: Initial geometry with (scroll-bar-mode -1) (tool-bar-mode -1)
Date: Sat, 18 May 2002 09:58:24 +0300

> From: "SIEBER,FRED (Non-HP-Roseville,ex1)" <fred_sieber@non.hp.com>
> Date: Fri, 17 May 2002 13:47:27 -0400
> 
> If you place
> 
>    (tool-bar-mode -1)
> (scroll-bar-mode -1)
> 
> in your .emacs file,  emacs will not correctly honor your -geometry
> call line option, it follows you geometry request as if you had
> specified a scroll bar and tool then changes the window size by
> removing them.

Thank you for your report.

This is not really a bug: it's hard to know what the user means when
she customizes Emacs like you did.  Does she want the same overall
geometry of the frame as before disabling the tool bar, or does she
want the same dimensions of the text area?

The unpleasant resize of the frame you observe is the consequence of
the fact that the initial frame is created before your .emacs is
processed.  (It's hard not to do that, since most Emacs functions
will not work without a live frame.)

If you want the former, the best way currently is to specify that in
your ~/.Xdefaults or some similar X resource.

> This bug is new with 21.0.

Well, the previous versions didn't have the tool bar at all ;-)



reply via email to

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