From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#18215: Fwd: Re: 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 12:36:30 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: multipart/mixed; boundary="Multipart_Sat_Aug__9_12:36:30_2014-1" X-Trace: ger.gmane.org 1407613043 24406 80.91.229.3 (9 Aug 2014 19:37:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Aug 2014 19:37:23 +0000 (UTC) To: 18215@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 09 21:37:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XGCS4-0005AE-Pp for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2014 21:37:17 +0200 Original-Received: from localhost ([::1]:57211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGCS4-0002SP-Ei for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2014 15:37:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGCRv-0002RR-R8 for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2014 15:37:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGCRq-000507-BY for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2014 15:37:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGCRq-000501-5K for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2014 15:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XGCRp-0001fw-Pd for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2014 15:37:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Aug 2014 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18215 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18215-submit@debbugs.gnu.org id=B18215.14076130006406 (code B ref 18215); Sat, 09 Aug 2014 19:37:01 +0000 Original-Received: (at 18215) by debbugs.gnu.org; 9 Aug 2014 19:36:40 +0000 Original-Received: from localhost ([127.0.0.1]:36715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGCRS-0001fD-UL for submit@debbugs.gnu.org; Sat, 09 Aug 2014 15:36:39 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:53166) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGCRQ-0001eu-Kh for 18215@debbugs.gnu.org; Sat, 09 Aug 2014 15:36:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Subject:To:From:Message-ID:Date; bh=muNm8eCbKVpq7oRPpdnIdV53Dk4zgVGRvb3b5XT8fgQ=; b=rJFdzXvF6U09W7XDMYQYHLI/SL/PtzHg1BI6EuOtVcY+oLoo7QGXmeOYoBVaS+fz7skm8JYztVNzVqOdA4FlNkfIpLSzl0l0USL5gZJoZYpm6r8DZnagk+j4SJSqrBKa; Original-Received: from cpe-75-85-5-102.socal.res.rr.com ([75.85.5.102]:51090 helo=MP.local) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1XGCRI-0000Ou-34 for 18215@debbugs.gnu.org; Sat, 09 Aug 2014 15:36:28 -0400 User-Agent: / () / () APEL/10.8 Emacs/24.4.50 (x86_64-apple-darwin10.8.0) MULE/6.0 (HANACHIRUSATO) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92347 Archived-At: --Multipart_Sat_Aug__9_12:36:30_2014-1 Content-Type: text/plain; charset=US-ASCII The following is a copy of a message that should have been sent to `18215@debbugs.gnu.org`, but which was inadvertently omitted. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; --Multipart_Sat_Aug__9_12:36:30_2014-1 Content-Type: message/rfc822 Date: Fri, 08 Aug 2014 08:30:27 -0700 Message-ID: From: Keith David Bershatsky To: martin rudalics Subject: Re: bug#18215: 24.4.50; OSX 10.6.8; set-frame-size by pixelwise does not work following `make-fame`. User-Agent: / () / () APEL/10.8 Emacs/24.4.50 (x86_64-apple-darwin10.8.0) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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. Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Fri, 08 Aug 2014 10:45:32 +0200, martin rudalics wrote: > > > As to a version of Emacs Trunk built this morning (August 7, 2014), it is no longer possible to set the frame size using pixelwise immediately following a call of `make-frame`, or when launching Emacs. > > Can you tell me the date of the last build where this worked for you? > > > This no longer works on OSX 10.6.8: > > > > (let ((frame (make-frame))) > > (set-frame-size frame 1894 1054 t)) > > This should work, indeed. Does it work correctly by evaluating just > > (set-frame-size frame 1894 1054 t) > > interactively? > > > The following function should be able to work on startup of Emacs to modify the initial frame, however it does not work on OSX 10.6.8: > > > > (let ((frame (selected-frame))) > > (cond > > ((eq system-type 'darwin) > > (setq ns-auto-hide-menu-bar t) > > (set-frame-position frame 0 0) ;; must come after `ns-auto-hide-menu-bar` > > (cond > > ((and > > (= 1920 (display-pixel-width)) > > (= 1080 (display-pixel-height))) > > (set-frame-size frame 1894 1054 t)) > > ((and > > (= 1920 (display-pixel-width)) > > (= 1200 (display-pixel-height))) > > (set-frame-size frame 1894 1174 t)) > > ((and > > (= 1280 (display-pixel-width)) > > (= 800 (display-pixel-height))) > > (set-frame-size frame 1254 774 t))) ) > > ((eq system-type 'windows-nt) > > ;; (w32-send-sys-command #xf030) > > (set-frame-position frame 0 0) > > (cond > > ((and > > (= 1920 (display-pixel-width)) > > (= 1003 (display-pixel-height))) > > (set-frame-size frame 1876 940 t)) > > ((and > > (= 1920 (display-pixel-width)) > > (= 1123 (display-pixel-height))) > > (set-frame-size frame 1876 1052 t)) > > ((and > > (= 1280 (display-pixel-width)) > > (= 723 (display-pixel-height))) > > (set-frame-size frame 1250 670 t))) ))) > > I hope it continues to work for you on Windows. Here setting the initial size works as expected on Windows. I don't have OSX to test it. > BTW, does "maximizing" your frame on OSX work? > > martin --Multipart_Sat_Aug__9_12:36:30_2014-1--