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: 24.4.50; OSX 10.6.8; set-frame-size by pixelwise does not work following `make-fame`. Date: Thu, 07 Aug 2014 11:40:22 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1407436898 4527 80.91.229.3 (7 Aug 2014 18:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 18:41:38 +0000 (UTC) To: 18215@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 20:41:32 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 1XFScy-0003PJ-6x for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 20:41:28 +0200 Original-Received: from localhost ([::1]:47790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFScx-0000qj-Hd for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 14:41:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFScm-0000qY-4R for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:41:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFSce-0003dS-Oj for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:41:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFScZ-0003SP-OO for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:41:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XFScZ-0005hO-Fr for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:41:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Aug 2014 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18215 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140743685721885 (code B ref -1); Thu, 07 Aug 2014 18:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Aug 2014 18:40:57 +0000 Original-Received: from localhost ([127.0.0.1]:34254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFScS-0005gu-E6 for submit@debbugs.gnu.org; Thu, 07 Aug 2014 14:40:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58918) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFScN-0005ge-Ab for submit@debbugs.gnu.org; Thu, 07 Aug 2014 14:40:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFScA-0003Li-Hd for submit@debbugs.gnu.org; Thu, 07 Aug 2014 14:40:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFScA-0003Ld-Cd for submit@debbugs.gnu.org; Thu, 07 Aug 2014 14:40:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFSc3-0000oO-RF for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:40:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFSbx-0003JJ-Dv for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:40:31 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:35829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFSbx-0003JF-5p for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:40:25 -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=U1BMRTvy06QXAQwQM5mmmZQbEwLX6Tl1RqNdx3KIJO4=; b=JBjBSd4DdBNOIy00QMOOrOLZL1QHHOhov2bdspPYjqgOlfCCgVnd3ieFOrC/alR2BPkduPY5YUPi7UDC1hQkr+d6H0oj68hKkkY+hNyCzggPJMm1WR+c7A2DQo0g71WC; Original-Received: from cpe-75-85-5-102.socal.res.rr.com ([75.85.5.102]:50536 helo=MP.local) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1XFSbs-0003By-LV for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 14:40:20 -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 - 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:92277 Archived-At: 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. This no longer works on OSX 10.6.8: (let ((frame (make-frame))) (set-frame-size frame 1894 1054 t)) 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))) ))) Thanks, Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 24.4.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2014-08-07 on MP.local Repository revision: 117666 kwhite@gnu.org-20140807164419-1oqbo1q8bhr0vnzo Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure --with-ns' Configured features: ACL LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: sd-mode: t sb-mode: t tb-mode: t shell-dirtrack-mode: t cm-mode: t bc-mode: t as-mode: t ds-mode: t ml-mode: t Recent input: Recent messages: Load-path shadows: /Users/HOME/.0.data/.0.emacs/.0.flim/md4 hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/md4 /Users/HOME/.0.data/.0.emacs/.0.flim/hex-util hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/hex-util /Users/HOME/.0.data/.0.emacs/.0.flim/sasl hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/sasl /Users/HOME/.0.data/.0.emacs/.0.flim/sasl-ntlm hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/sasl-ntlm /Users/HOME/.0.data/.0.emacs/.0.flim/sasl-digest hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/sasl-digest /Users/HOME/.0.data/.0.emacs/.0.flim/sasl-cram hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/sasl-cram /Users/HOME/.0.data/.0.emacs/.0.flim/ntlm hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/ntlm /Users/HOME/.0.data/.0.emacs/.0.flim/hmac-md5 hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/hmac-md5 /Users/HOME/.0.data/.0.emacs/.0.flim/hmac-def hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/net/hmac-def /Users/HOME/.0.data/.0.emacs/.0.wl/rfc2368 hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/mail/rfc2368 /Users/HOME/.0.data/.0.emacs/.0.wl/utf7 hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/gnus/utf7 /Users/HOME/.0.data/.0.emacs/.0.simi/smime hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/gnus/smime /Users/HOME/.0.data/.0.emacs/.0.simi/pgg hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/obsolete/pgg /Users/HOME/.0.data/.0.emacs/.0.simi/pgg-pgp5 hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/obsolete/pgg-pgp5 /Users/HOME/.0.data/.0.emacs/.0.simi/pgg-pgp hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/obsolete/pgg-pgp /Users/HOME/.0.data/.0.emacs/.0.simi/pgg-parse hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/obsolete/pgg-parse /Users/HOME/.0.data/.0.emacs/.0.simi/pgg-gpg hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/obsolete/pgg-gpg /Users/HOME/.0.data/.0.emacs/.0.simi/pgg-def hides /Users/HOME/.0.data/.0.emacs/Emacs_08_07_2014.app/Contents/Resources/lisp/obsolete/pgg-def Features: (shadow wl-mime mime-edit pgg-parse pccl pccl-20 signature mime-setup mail-mime-setup semi-setup mime-pgp pgg-def mime-play filename mime-image modb-standard elmo-imap4 emacsbug lawlist-desktop frameset lawlist-dv lawlist-mc rect lawlist-ztree lawlist-wl wl-demo wl-draft eword-encode wl-template sendmail elmo-net elmo-cache elmo-map elmo-dop wl-news wl-address wl-thread wl-folder wl wl-e21 wl-spam wl-action wl-summary wl-refile wl-util pp elmo-flag elmo-localdir wl-message elmo-mime mmelmo-buffer mmelmo-imap mime-view mime-conf calist semi-def mmimap mime-parse mmbuffer mmgeneric elmo-filter elmo-multi elmo-spam elsp-header elsp-generic elmo elmo-signal wl-highlight wl-vars wl-version elmo-msgdb modb modb-generic modb-entity luna mime elmo-util emu invisible inv-23 poem poem-e20 poem-e20_3 eword-decode std11 elmo-date elmo-vars elmo-version w3m-load mime-w3m w3m browse-url doc-view jka-compr image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util lawlist-dired dired-aux lawlist-vr-hr lawlist-ws disp-table lawlist-calculator lawlist-flyspell bbdb-autoloads bbdb lawlist-yasnippet lawlist-tex-mode skeleton compare-w lawlist-text-mode lawlist-tabbar lawlist-github ido view tramp tramp-compat tramp-loaddefs trampver shell pcomplete help-mode grep compile comint epa epg epg-config diff-mode autorevert filenotify ansi-color find-lisp log-edit ring add-log thingatpt log-view pcvs-util conf-mode time-stamp vc-git vc vc-dispatcher ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff rx ert ewoc debug timezone eieio-base lawlist-org lawlist-calendar derived lawlist-toodledo advice url-http url-auth url-gw url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core password-cache url-vars mailcap json xml noutline outline gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 mel path-util mime-def alist mcharset mcs-20 mcs-e20 pcustom pces pces-e20 pces-20 broken poe pym static apel-ver product netrc nnoo parse-time gnus-spec gnus-int gnus-range message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit cl lawlist-frame-buffer lawlist-init pcase help-fns cl-macs gv easy-mmode edmacro kmacro cl-loaddefs cl-lib savehist server ps-print ps-def lpr find-func saveplace easymenu time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 826275 97182) (symbols 48 55916 0) (miscs 40 116 406) (strings 32 112828 13683) (string-bytes 1 3779780) (vectors 16 39422) (vector-slots 8 740042 32580) (floats 8 987 155) (intervals 56 3967 24) (buffers 976 16))