From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: X settings, default-frame-alist and initial-frame-alist issues. Date: Tue, 09 Aug 2011 19:29:37 +0200 Message-ID: <874o1qxzlq.fsf@gmail.com> References: <87obzzuhri.fsf@gmail.com> <87obzyr29p.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312911012 7368 80.91.229.12 (9 Aug 2011 17:30:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2011 17:30:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 09 19:30:05 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qqq7w-0008JV-U1 for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2011 19:30:05 +0200 Original-Received: from localhost ([::1]:54312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqq7w-0005J7-1s for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2011 13:30:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqq7k-0005FM-As for emacs-devel@gnu.org; Tue, 09 Aug 2011 13:30:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqq7d-0006Tj-JU for emacs-devel@gnu.org; Tue, 09 Aug 2011 13:29:51 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:55215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqq7d-0006Ri-2x for emacs-devel@gnu.org; Tue, 09 Aug 2011 13:29:45 -0400 Original-Received: by wyi11 with SMTP id 11so184801wyi.0 for ; Tue, 09 Aug 2011 10:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=FjxW23/8QGXWz3cF/Z4JF0nU5fIVwZDxZhbIbvE+T/k=; b=HtoYo88cyaX3l19O36W1Yky7fca5jylCKr09QCnNR3Lknj/XBxbWTEXiXZEVivXnco P8GY5RhpCAzUPk8fHIPPM6Thoq6oKT6bWc2qdtFrL50rgRLaKV7A9h3h3rLnuTzk/3Ja Ez7LZSKGtdMU/QULxJlrQTQBqNlugnmtqtSUo= Original-Received: by 10.216.166.136 with SMTP id g8mr2142089wel.24.1312910983213; Tue, 09 Aug 2011 10:29:43 -0700 (PDT) Original-Received: from thierry-MM061 (211.211.85.79.rev.sfr.net [79.85.211.211]) by mx.google.com with ESMTPS id b47sm87820wed.22.2011.08.09.10.29.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 10:29:40 -0700 (PDT) In-Reply-To: <87obzyr29p.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 09 Aug 2011 12:13:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143068 Archived-At: Chong Yidong writes: > Thierry Volpiatto writes: > >> I am using fullscreen => maximized in .Xressources >> fullscreen => nil in default-frame-alist >> fullscreen => t in initial-frame-alist >> >> At every restart of emacs, frame is maximized as expected by the X >> settings, then my init file load, and at end of startup, frame is >> resized with (i guess) settings of default-frame-alist. > > I don't understand what you are setting .Xresources. You know what i mean ;-) Read manual page of emacs and/or docstring of initial-frame-alist. > (setq initial-frame-alist '((fullscreen . maximized))) > (setq default-frame-alist '((fullscreen . nil))) This is working unless i don't put in initial-frame-alist anything else. Otherwise, default-frame-alist is overhiding these settings. Anyway that is not what is recommended in both docstring and manual of initial-frame-alist when we use X settings + default-frame-alist. So docstring and manual should be updated to explain that clearly. This was the purpose of this post and also help find what happen in bug#9033. Thanks anyway for your answer. -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997