GNU bug report logs - #15216
cygwin: Can't modify initial frame appearance on gtk3 Emacs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Katsumi Yamaoka <yamaoka@HIDDEN>; dated Fri, 30 Aug 2013 07:49:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to 'cygwin: Can't modify initial frame appearance on gtk3 Emacs' from '24.3.50; Can't modify initial frame appearance on gtk3 Emacs' Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Aug 2013 14:30:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 10:30:51 2013
Received: from localhost ([127.0.0.1]:59256 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFPis-0003wJ-G8
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 10:30:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46476)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <angelo.graziosi@HIDDEN>) id 1VFPip-0003w5-7L
 for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 10:30:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <angelo.graziosi@HIDDEN>) id 1VFPib-0002Zh-TU
 for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 10:30:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:43692)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <angelo.graziosi@HIDDEN>) id 1VFPib-0002Zb-QA
 for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 10:30:33 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48118)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <angelo.graziosi@HIDDEN>) id 1VFPiV-00087C-Nf
 for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 10:30:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <angelo.graziosi@HIDDEN>) id 1VFPiP-0002X3-Uk
 for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 10:30:27 -0400
Received: from smtp204.alice.it ([82.57.200.100]:59307)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <angelo.graziosi@HIDDEN>) id 1VFPiP-0002Wi-Nz
 for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 10:30:21 -0400
Received: from [192.168.1.100] (80.181.213.214) by smtp204.alice.it
 (8.6.060.28) (authenticated as angelo.graziosi@HIDDEN)
 id 51F278600324413C for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 16:30:20 +0200
Message-ID: <5220AC73.7090106@HIDDEN>
Date: Fri, 30 Aug 2013 16:30:11 +0200
From: Angelo Graziosi <angelo.graziosi@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 5.1;
 rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: bug-emacs <bug-gnu-emacs@HIDDEN>
Subject: bug#15216: 24.3.50;	Can't modify initial frame appearance on gtk3
 Emacs
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

Katsumi Yamaoka wrote:
> Sorry, this might be a problem that occurs only on Cygwin.
> I just tested it on Fedora 18 right now, it works as expected.

Yes, I concord.. see also this:

http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00386.html
http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00390.html
...

Ciao,
  Angelo.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at 15216 <at> debbugs.gnu.org:


Received: (at 15216) by debbugs.gnu.org; 30 Aug 2013 13:34:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 09:34:38 2013
Received: from localhost ([127.0.0.1]:58923 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFOqT-0002Wl-11
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 09:34:37 -0400
Received: from mail01.bdtv.se ([176.10.222.34]:43635)
 by debbugs.gnu.org with smtp (Exim 4.80)
 (envelope-from <jan.h.d@HIDDEN>) id 1VFOqN-0002WX-PU
 for 15216 <at> debbugs.gnu.org; Fri, 30 Aug 2013 09:34:32 -0400
Received: (qmail 19669 invoked by uid 89); 30 Aug 2013 13:34:29 -0000
Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain)
 (boel.djarv@HIDDEN@46.59.42.57)
 by mail01.bdtv.se with ESMTPA; 30 Aug 2013 13:34:29 -0000
Received: from [172.20.199.240] (unknown [172.20.199.240])
 by coolsville.localdomain (Postfix) with ESMTPSA id 5A6061A027D;
 Fri, 30 Aug 2013 13:34:29 +0000 (UTC)
References: <b4mli3j1ux2.fsf@HIDDEN> <jwvvc2nuyzl.fsf-monnier+emacs@HIDDEN>
Mime-Version: 1.0 (1.0)
In-Reply-To: <jwvvc2nuyzl.fsf-monnier+emacs@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <94C10CDE-F43F-4B97-BD67-B24FB275904E@HIDDEN>
X-Mailer: iPhone Mail (10B350)
From: =?utf-8?Q?Jan_Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Subject: Re: bug#15216: 24.3.50;
 Can't modify initial frame appearance on gtk3 Emacs
Date: Fri, 30 Aug 2013 15:34:28 +0200
To: Stefan Monnier <monnier@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 15216
Cc: Katsumi Yamaoka <yamaoka@HIDDEN>,
 "15216 <at> debbugs.gnu.org" <15216 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi. 

It could also be the window manager that remembers the old size. 

     Jan D. 

30 aug 2013 kl. 14:48 skrev Stefan Monnier <monnier@HIDDEN>:

>> 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.
> 
> That's the "canonical" way, so it should work.  IOW we have a bug.
> 
> 
>        Stefan
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at 15216 <at> debbugs.gnu.org:


Received: (at 15216) by debbugs.gnu.org; 30 Aug 2013 13:14:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 09:14:23 2013
Received: from localhost ([127.0.0.1]:58876 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFOWs-00020d-Pr
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 09:14:23 -0400
Received: from mail-hampton.hostforweb.net ([216.246.15.223]:40714
 helo=hampton.hostforweb.net)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <yamaoka@HIDDEN>) id 1VFOWo-00020N-5T
 for 15216 <at> debbugs.gnu.org; Fri, 30 Aug 2013 09:14:20 -0400
Received: from softbank219034144017.bbtec.net ([219.34.144.17]:49892 helo=)
 by hampton.hostforweb.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128)
 (Exim 4.80.1) (envelope-from <yamaoka@HIDDEN>)
 id 1VFOWe-002ALJ-6J; Fri, 30 Aug 2013 08:14:10 -0500
From: Katsumi Yamaoka <yamaoka@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#15216: 24.3.50;
 Can't modify initial frame appearance on gtk3 Emacs
References: <b4mli3j1ux2.fsf@HIDDEN> <jwvvc2nuyzl.fsf-monnier+emacs@HIDDEN>
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&(
Date: Fri, 30 Aug 2013 22:14:04 +0900
Message-ID: <b4mk3j3e2xv.fsf@HIDDEN>
User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)
Cancel-Lock: sha1:eptnnDeUjA9iRMAIlNfJDrdcsLM=
MIME-Version: 1.0
Content-Type: text/plain
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 - debbugs.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: authenticated_id:
 yamaoka/from_h
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 15216
Cc: 15216 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> wrote:
>> 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.

> That's the "canonical" way, so it should work.  IOW we have a bug.

Sorry, this might be a problem that occurs only on Cygwin.
I just tested it on Fedora 18 right now, it works as expected.

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
 of 2013-08-30 on localhost.localdomain
Bzr revision: 114076 dmantipov@HIDDEN
Windowing system distributor `Fedora Project', version 11.0.11303000




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at 15216 <at> debbugs.gnu.org:


Received: (at 15216) by debbugs.gnu.org; 30 Aug 2013 12:48:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 08:48:13 2013
Received: from localhost ([127.0.0.1]:58840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFO7Y-0001KD-Ht
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 08:48:12 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.182]:27409)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1VFO7V-0001Jx-Iu
 for 15216 <at> debbugs.gnu.org; Fri, 30 Aug 2013 08:48:10 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABK/CFHO+KK6/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw
X-IPAS-Result: Av8EABK/CFHO+KK6/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="26039706"
Received: from 206-248-162-186.dsl.teksavvy.com (HELO pastel.home)
 ([206.248.162.186])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 30 Aug 2013 08:45:19 -0400
Received: by pastel.home (Postfix, from userid 20848)
 id 9BE8062E73; Fri, 30 Aug 2013 08:48:03 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Katsumi Yamaoka <yamaoka@HIDDEN>
Subject: Re: bug#15216: 24.3.50;
 Can't modify initial frame appearance on gtk3 Emacs
Message-ID: <jwvvc2nuyzl.fsf-monnier+emacs@HIDDEN>
References: <b4mli3j1ux2.fsf@HIDDEN>
Date: Fri, 30 Aug 2013 08:48:03 -0400
In-Reply-To: <b4mli3j1ux2.fsf@HIDDEN> (Katsumi Yamaoka's message of "Fri, 30
 Aug 2013 16:48:09 +0900")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 15216
Cc: 15216 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> 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.

That's the "canonical" way, so it should work.  IOW we have a bug.


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at 15216 <at> debbugs.gnu.org:


Received: (at 15216) by debbugs.gnu.org; 30 Aug 2013 12:13:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 08:13:21 2013
Received: from localhost ([127.0.0.1]:58772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFNZl-0000MC-J9
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 08:13:21 -0400
Received: from mtaout20.012.net.il ([80.179.55.166]:52663)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1VFNZg-0000Lt-Ez
 for 15216 <at> debbugs.gnu.org; Fri, 30 Aug 2013 08:13:16 -0400
Received: from conversion-daemon.a-mtaout20.012.net.il by
 a-mtaout20.012.net.il (HyperSendmail v2007.08) id
 <0MSC00D00F59RY00@HIDDEN> for 15216 <at> debbugs.gnu.org;
 Fri, 30 Aug 2013 15:13:05 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MSC00DM2F9TILA0@HIDDEN>;
 Fri, 30 Aug 2013 15:13:05 +0300 (IDT)
Date: Fri, 30 Aug 2013 15:13:09 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#15216: 24.3.50;
 Can't modify initial frame appearance on gtk3 Emacs
In-reply-to: <b4msixra42y.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Katsumi Yamaoka <yamaoka@HIDDEN>
Message-id: <83mwnze5re.fsf@HIDDEN>
References: <b4mli3j1ux2.fsf@HIDDEN> <83r4dbeeb3.fsf@HIDDEN>
 <b4msixra42y.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 15216
Cc: 15216 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Fri, 30 Aug 2013 19:03:01 +0900
> From: Katsumi Yamaoka <yamaoka@HIDDEN>
> Cc: 15216 <at> debbugs.gnu.org
> 
> Eli Zaretskii wrote:
> >> Date: Fri, 30 Aug 2013 16:48:09 +0900
> >> From: Katsumi Yamaoka <yamaoka@HIDDEN>
> 
> >> 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.
> 
> > Did you try the same with initial-frame-alist, instead of
> > default-frame-alist?
> 
> Yes, I did.  Emacs frame contracted and expanded.

Well, this works for me, so it might indeed be GTK-specific.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at 15216 <at> debbugs.gnu.org:


Received: (at 15216) by debbugs.gnu.org; 30 Aug 2013 10:03:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 06:03:18 2013
Received: from localhost ([127.0.0.1]:58576 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFLXt-0004O5-NT
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 06:03:14 -0400
Received: from mail-hampton.hostforweb.net ([216.246.15.223]:46866
 helo=hampton.hostforweb.net)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <yamaoka@HIDDEN>) id 1VFLXr-0004Ns-Aw
 for 15216 <at> debbugs.gnu.org; Fri, 30 Aug 2013 06:03:11 -0400
Received: from localhost.localdomain ([127.0.0.1]:50705 helo=localhost)
 by hampton.hostforweb.net with smtp (Exim 4.80.1)
 (envelope-from <yamaoka@HIDDEN>)
 id 1VFLXk-001PxT-1V; Fri, 30 Aug 2013 05:03:04 -0500
Date: Fri, 30 Aug 2013 19:03:01 +0900
Message-ID: <b4msixra42y.fsf@HIDDEN>
From: Katsumi Yamaoka <yamaoka@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#15216: 24.3.50;
 Can't modify initial frame appearance on gtk3 Emacs
References: <b4mli3j1ux2.fsf@HIDDEN> <83r4dbeeb3.fsf@HIDDEN>
Organization: Emacsen advocacy group
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 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8)
 Emacs/24.3.50 (i686-pc-cygwin)
Cancel-Lock: sha1:kN9FmjaHws3Sk1ca7S5w6na4wUg=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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 - debbugs.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:
 root
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 15216
Cc: 15216 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Eli Zaretskii wrote:
>> Date: Fri, 30 Aug 2013 16:48:09 +0900
>> From: Katsumi Yamaoka <yamaoka@HIDDEN>

>> 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.

> Did you try the same with initial-frame-alist, instead of
> default-frame-alist?

Yes, I did.  Emacs frame contracted and expanded.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at 15216 <at> debbugs.gnu.org:


Received: (at 15216) by debbugs.gnu.org; 30 Aug 2013 09:08:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 05:08:39 2013
Received: from localhost ([127.0.0.1]:58459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFKh4-0002xB-Ly
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 05:08:38 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:49361)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1VFKh1-0002ww-Hp
 for 15216 <at> debbugs.gnu.org; Fri, 30 Aug 2013 05:08:37 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0MSC00G006J3AY00@HIDDEN> for 15216 <at> debbugs.gnu.org;
 Fri, 30 Aug 2013 12:08:29 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MSC00G0I6Q4BX00@HIDDEN>;
 Fri, 30 Aug 2013 12:08:29 +0300 (IDT)
Date: Fri, 30 Aug 2013 12:08:32 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#15216: 24.3.50;
 Can't modify initial frame appearance on gtk3 Emacs
In-reply-to: <b4mli3j1ux2.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Katsumi Yamaoka <yamaoka@HIDDEN>
Message-id: <83r4dbeeb3.fsf@HIDDEN>
References: <b4mli3j1ux2.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 15216
Cc: 15216 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Fri, 30 Aug 2013 16:48:09 +0900
> From: Katsumi Yamaoka <yamaoka@HIDDEN>
> 
> 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.

Did you try the same with initial-frame-alist, instead of
default-frame-alist?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Aug 2013 07:48:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 30 03:48:47 2013
Received: from localhost ([127.0.0.1]:58312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VFJRm-0000x4-NJ
	for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 03:48:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55605)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <yamaoka@HIDDEN>) id 1VFJRj-0000wp-Tl
 for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 03:48:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <yamaoka@HIDDEN>) id 1VFJRW-0004nl-7E
 for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 03:48:38 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38883)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <yamaoka@HIDDEN>) id 1VFJRW-0004nh-3r
 for submit <at> debbugs.gnu.org; Fri, 30 Aug 2013 03:48:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57279)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <yamaoka@HIDDEN>) id 1VFJRM-0006fG-WB
 for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 03:48:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <yamaoka@HIDDEN>) id 1VFJRG-0004kV-Pn
 for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 03:48:20 -0400
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 <yamaoka@HIDDEN>) id 1VFJRG-0004kC-Dr
 for bug-gnu-emacs@HIDDEN; Fri, 30 Aug 2013 03:48:14 -0400
Received: from localhost.localdomain ([127.0.0.1]:44092 helo=localhost)
 by hampton.hostforweb.net with smtp (Exim 4.80.1)
 (envelope-from <yamaoka@HIDDEN>)
 id 1VFJRD-0027Dg-5s; Fri, 30 Aug 2013 02:48:12 -0500
Date: Fri, 30 Aug 2013 16:48:09 +0900
Message-ID: <b4mli3j1ux2.fsf@HIDDEN>
From: Katsumi Yamaoka <yamaoka@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; Can't modify initial frame appearance on gtk3 Emacs
Organization: Emacsen advocacy group
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 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8)
 Emacs/24.3.50 (i686-pc-cygwin)
Cancel-Lock: sha1:daOir7a2Xb9TIJeVQH54QRXoisM=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

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@HIDDEN
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'




Acknowledgement sent to Katsumi Yamaoka <yamaoka@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15216; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.