From: martin rudalics <rudalics@gmx.at>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: 18215@debbugs.gnu.org
Subject: bug#18215: 24.4.50; OSX 10.6.8; set-frame-size by pixelwise does not work following `make-fame`.
Date: Sat, 09 Aug 2014 11:44:02 +0200 [thread overview]
Message-ID: <53E5ED62.4010409@gmx.at> (raw)
In-Reply-To: <m24mxnknho.wl%esq@lawlist.com>
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
> The version of Emacs Trunk built on June 1, 2014 works well -- i.e., the two examples in the current bug report work as expected.
>
> GNU Emacs 24.4.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2014-06-01 on MP.local
>
> I did not test any builds between the dates of June 2, 2014 through August 6, 2014.
>
> Yes, `(set-frame-size (selected-frame) 1894 1054 t)`, works well with the August 7 and 8, 2014 build when it is evaluated all by itself.
>
> `M-x toggle-frame-maximized` works well with the August 7 and 8, 2014 build.
Thanks for the information. Can you please try the attached patch?
Thanks, martin
[-- Attachment #2: nsfns.diff --]
[-- Type: text/plain, Size: 1722 bytes --]
*** /tmp/ediff3478SQe 2014-08-09 11:04:18.373494252 +0200
--- /home/martin/emacs/quickfixes/src/nsfns.m 2014-08-09 10:44:13.892636675 +0200
***************
*** 1267,1277 ****
init_frame_faces (f);
/* Read comment about this code in corresponding place in xfns.c. */
! width = FRAME_TEXT_WIDTH (f);
! height = FRAME_TEXT_HEIGHT (f);
! FRAME_TEXT_HEIGHT (f) = 0;
! SET_FRAME_WIDTH (f, 0);
! change_frame_size (f, width, height, 1, 0, 0, 1);
/* The resources controlling the menu-bar and tool-bar are
processed specially at startup, and reflected in the mode
--- 1267,1274 ----
init_frame_faces (f);
/* Read comment about this code in corresponding place in xfns.c. */
! adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f),
! FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, 1);
/* The resources controlling the menu-bar and tool-bar are
processed specially at startup, and reflected in the mode
***************
*** 1342,1352 ****
x_default_parameter (f, parms, Qfullscreen, Qnil,
"fullscreen", "Fullscreen", RES_TYPE_SYMBOL);
! width = FRAME_TEXT_WIDTH (f);
! height = FRAME_TEXT_HEIGHT (f);
! FRAME_TEXT_HEIGHT (f) = 0;
! SET_FRAME_WIDTH (f, 0);
! change_frame_size (f, width, height, 1, 0, 0, 1);
if (! f->output_data.ns->explicit_parent)
{
--- 1339,1348 ----
x_default_parameter (f, parms, Qfullscreen, Qnil,
"fullscreen", "Fullscreen", RES_TYPE_SYMBOL);
! /* Consider frame official, now. */
! f->official = true;
!
! adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), 0, 1);
if (! f->output_data.ns->explicit_parent)
{
next parent reply other threads:[~2014-08-09 9:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m24mxnknho.wl%esq@lawlist.com>
2014-08-09 9:44 ` martin rudalics [this message]
[not found] <m2ha1l4nxl.wl%esq@lawlist.com>
2014-08-09 17:14 ` bug#18215: 24.4.50; OSX 10.6.8; set-frame-size by pixelwise does not work following `make-fame` martin rudalics
2014-08-07 18:40 Keith David Bershatsky
2014-08-08 8:45 ` martin rudalics
2014-08-09 19:29 ` Keith David Bershatsky
2014-08-10 9:19 ` martin rudalics
2014-08-09 20:00 ` Keith David Bershatsky
2014-08-10 16:51 ` Keith David Bershatsky
2014-08-11 7:40 ` martin rudalics
2014-08-12 2:47 ` Keith David Bershatsky
2014-08-12 13:03 ` martin rudalics
2014-08-13 4:43 ` Keith David Bershatsky
2014-08-13 6:23 ` martin rudalics
2014-08-13 10:33 ` Jan D.
2014-08-13 12:21 ` martin rudalics
2014-08-13 4:49 ` Keith David Bershatsky
2014-08-14 3:44 ` Keith David Bershatsky
2014-08-15 15:52 ` martin rudalics
2014-08-16 23:35 ` Keith David Bershatsky
2014-08-17 10:12 ` martin rudalics
2014-08-17 18:29 ` Keith David Bershatsky
2014-08-18 8:31 ` martin rudalics
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=53E5ED62.4010409@gmx.at \
--to=rudalics@gmx.at \
--cc=18215@debbugs.gnu.org \
--cc=esq@lawlist.com \
/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.