From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#15216: 24.3.50; Can't modify initial frame appearance on gtk3 Emacs Date: Fri, 30 Aug 2013 16:48:09 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1377849191 10443 80.91.229.3 (30 Aug 2013 07:53:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2013 07:53:11 +0000 (UTC) To: 15216@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 30 09:53:12 2013 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 1VFJW3-000633-T9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Aug 2013 09:53:12 +0200 Original-Received: from localhost ([::1]:47863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJW3-0004oA-IB for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Aug 2013 03:53:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJSE-0008B2-66 for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:49:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFJS3-0004yq-CE for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:49:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJS3-0004yZ-6z for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VFJS2-0000xc-Hs for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Aug 2013 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15216 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.13778489273667 (code B ref -1); Fri, 30 Aug 2013 07:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2013 07:48:47 +0000 Original-Received: from localhost ([127.0.0.1]:58312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFJRm-0000x4-NJ for submit@debbugs.gnu.org; Fri, 30 Aug 2013 03:48:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55605) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFJRj-0000wp-Tl for submit@debbugs.gnu.org; Fri, 30 Aug 2013 03:48:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFJRW-0004nl-7E for submit@debbugs.gnu.org; Fri, 30 Aug 2013 03:48:38 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJRW-0004nh-3r for submit@debbugs.gnu.org; Fri, 30 Aug 2013 03:48:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJRM-0006fG-WB for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:48:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFJRG-0004kV-Pn for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:48:20 -0400 Original-Received: from mail-hampton.hostforweb.net ([216.246.15.223]:52534 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJRG-0004kC-Dr for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2013 03:48:14 -0400 Original-Received: from localhost.localdomain ([127.0.0.1]:44092 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1VFJRD-0027Dg-5s; Fri, 30 Aug 2013 02:48:12 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:daOir7a2Xb9TIJeVQH54QRXoisM= X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: yamaoka X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] 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:77812 Archived-At: Hi, I tried gtk3 Emacs for the first time and found this behavior. Say, I have only this line in the .emacs file, it doesn't achieve its purpose: (setq default-frame-alist '((width . 40) (height . 20))) The Emacs frame once goes small but expands again. Then I tried making it run after splashing the screen. These two advices make no difference: (defadvice command-line-1 (after set-frame-size activate) "Set the frame size after splashing the screen." (setq default-frame-alist '((width . 40) (height . 20)))) (defadvice command-line-1 (after set-frame-size activate) "Set the frame size after splashing the screen." (modify-frame-parameters nil '((width . 40) (height . 20)))) But this works: (defadvice command-line-1 (after set-frame-size activate) "Set the frame size after splashing the screen." (modify-frame-parameters nil '((width . 40) (height . 20))) (setq default-frame-alist '((width . 40) (height . 20)))) In relation to this, changing the default font in the .emacs file makes the splash image disappear. Here it is: (set-face-font 'default "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-iso8859-1") This can be solved by a similar workaround like the following: (defadvice command-line-1 (after set-default-font activate) "Set the default font after splashing the screen." (set-face-font 'default "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-iso8859-1")) I think those workarounds should be unnecessary because of `frame-notice-user-settings'. Thanks. In GNU Emacs 24.3.50.1 (i686-pc-cygwin, GTK+ Version 3.8.2) of 2013-08-30 on localhost Bzr revision: 114075 monnier@iro.umontreal.ca-20130829210018-w5kvrixpf2k1yjcv Windowing system distributor `The Cygwin/X Project', version 11.0.11402000 Configured using: `configure --verbose --with-x-toolkit=gtk3 --without-imagemagick --without-dbus --without-gconf --without-gsettings'