unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Initial geometry with (scroll-bar-mode -1) (tool-bar-mode -1)
Date: Sat, 18 May 2002 09:58:24 +0300	[thread overview]
Message-ID: <4949-Sat18May2002095824+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <312FA084975ED4119C8700D0B74FE85D0CD2CE92@xrose04.rose.hp.com> (fred_sieber@non.hp.com)

> 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	other threads:[~2002-05-18  6:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-17 17:47 Initial geometry with (scroll-bar-mode -1) (tool-bar-mode -1) SIEBER,FRED (Non-HP-Roseville,ex1)
2002-05-18  6:58 ` Eli Zaretskii [this message]
2002-05-18  7:04   ` David desJardins
2002-05-18  7:25     ` Miles Bader
2002-05-18 21:39   ` Paul Jarc
2002-05-19  5:30     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4949-Sat18May2002095824+0300-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).