From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: eenliu@gmail.com, 14326@debbugs.gnu.org
Subject: bug#14326: 24.3; Conflict of w32-send-sys-command and set-default-font
Date: Fri, 03 May 2013 09:28:54 +0200 [thread overview]
Message-ID: <51836736.7020809@gmx.at> (raw)
In-Reply-To: <834neko7u9.fsf@gnu.org>
> I was trying to explain why that comment might be of only historical
> interest, since it describes code that we don't use.
The code is used on X.
>> That's what I thought. Hopefully `set-default-font`' at least resets
>> the maximized frame parameter.
>
> I don't think it does. And I'm not sure it should.
You mean that `frame-parameters' should be allowed to report a frame as
maximized even after it was explicitly demaximized?
>> > Not sure what x_set_window_size has to do with all this.
>>
>> That's the routine we're talking about here
>
> I understand, but I don't see how it is related to set-default-font.
It may eventually get called by it.
>> When I fit the size of a frame to that of its buffer, I ideally would do
>> this in one `modify-frame-parameters' call to set the size of the new
>> frame. But if this call shrinks the frame, both the menubar and the
>> toolbar may wrap and my calculations get ignored.
>
> Do we really want to allow resizing that causes this wrap, when what
> the user wants is to fit frame size to buffer?
I don't know whether we know the minimum width of the current toolbar so
as to not fit a frame to less than that but I suppose we could get it.
However, we can't get the minimum width of the menubar so as to not make
a frame narrower than it. The Windows API simply does not provide it
and I wouldn't know how to approximate it.
martin
next prev parent reply other threads:[~2013-05-03 7:28 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-01 1:34 bug#14326: 24.3; Conflict of w32-send-sys-command and set-default-font Eric Liu
2013-05-01 9:15 ` martin rudalics
2013-05-01 15:02 ` Eli Zaretskii
2013-05-01 17:33 ` Eric Liu
2013-05-01 17:37 ` Eli Zaretskii
2013-05-02 9:23 ` martin rudalics
2013-05-02 17:08 ` Eli Zaretskii
2013-05-02 18:32 ` martin rudalics
2013-05-02 18:55 ` Eli Zaretskii
2013-05-02 19:08 ` martin rudalics
2013-05-02 19:38 ` Eli Zaretskii
2013-05-03 6:48 ` martin rudalics
2013-05-03 7:12 ` Eli Zaretskii
2013-05-03 7:28 ` martin rudalics [this message]
2013-05-03 14:59 ` Drew Adams
2013-05-03 15:48 ` Eli Zaretskii
2013-05-03 15:54 ` Eli Zaretskii
2013-05-03 16:26 ` Drew Adams
2013-05-03 18:04 ` Eli Zaretskii
2013-05-03 18:19 ` Drew Adams
2013-05-03 19:25 ` Eli Zaretskii
2013-05-03 18:59 ` martin rudalics
2013-05-03 20:06 ` Drew Adams
2013-05-03 20:18 ` Eli Zaretskii
2013-05-03 20:31 ` Drew Adams
2013-05-04 6:37 ` Eli Zaretskii
2013-05-04 7:50 ` martin rudalics
2013-05-04 14:17 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51836736.7020809@gmx.at \
--to=rudalics@gmx.at \
--cc=14326@debbugs.gnu.org \
--cc=eenliu@gmail.com \
--cc=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.