From: David Kastrup <dak@gnu.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: Toolbar mode on/off
Date: Tue, 25 Sep 2007 07:46:17 +0200 [thread overview]
Message-ID: <85r6knguvq.fsf@lola.goethe.zz> (raw)
In-Reply-To: <BNELLINCGFJLDJIKDGACOEBMCDAA.drew.adams@oracle.com> (Drew Adams's message of "Mon\, 24 Sep 2007 15\:46\:44 -0700")
"Drew Adams" <drew.adams@oracle.com> writes:
>> at the current point of time, enabling the toolbar and disabling it
>> again is not a noop, but rather causes shrinking.
>
> Shrinking of what? The frame? The font?
The frame.
> In Emacs 22.1, I don't see shrinking of anything. The number of
> lines displayed is reduced or increased - that's the only change I
> see.
If you say
M-x tool-bar-mode RET
4 times in a row, you end up with the same size frame as before?
Guess you are lucky then.
>> That's ugly. On the other side, Emacs should not increase its
>> frame size beyond the given initial frame size.
>>
>> So I think that Emacs should record its startup frame size in _pixels_
>> (or just record whether it started its geometry calculation with the
>> toolbar on or off). Turning the toolbar on and off should then cause
>> the text size to have the largest size fitting inside of the original
>> startup frame size.
>>
>> Of course, it would be nicer (and simpler altogether) if Emacs did not
>> change its frame pixel size at all when turning toolbar (or menubar or
>> whatever) on and off.
>
> Just to be sure I understand. Are you saying that turning the
> tool-bar on or off should have the (side-)effect of changing the
> font size?
Nonsense.
> If so, my answer would be no, it should not. Better to change the
> frame size (if necessary) than the font size, IMO. But I don't see
> either one change in Emacs 22.1 (and that's good).
You don't see the frame size change at all? Then you must have a
particularly lucky relation between toolbar height and font size, or
your toolkit behaves different from mine (GTK+).
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2007-09-25 5:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 22:20 Toolbar mode on/off David Kastrup
2007-09-24 22:46 ` Drew Adams
2007-09-25 5:46 ` David Kastrup [this message]
2007-09-25 7:04 ` Drew Adams
2007-09-25 10:20 ` Robert J. Chassell
2007-09-25 14:28 ` Drew Adams
2007-09-25 17:07 ` Robert J. Chassell
2007-09-25 17:18 ` Drew Adams
2007-09-27 3:36 ` Davis Herring
2007-09-25 6:10 ` Jan Djärv
2007-09-25 17:57 ` Richard Stallman
2007-09-25 18:27 ` David Kastrup
2007-09-25 18:34 ` Drew Adams
2007-09-26 16:30 ` Richard Stallman
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=85r6knguvq.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@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).