From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Can't set font & frame properly in .emacs Date: Mon, 29 Dec 2008 18:16:09 +0100 Message-ID: <495905D9.2020002@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230571050 17006 80.91.229.12 (29 Dec 2008 17:17:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2008 17:17:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: joe_f@verizon.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 18:18:38 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHLl9-0007rq-Ce for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2008 18:18:31 +0100 Original-Received: from localhost ([127.0.0.1]:49858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHLjv-00024t-OI for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2008 12:17:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHLjb-00024Z-DS for help-gnu-emacs@gnu.org; Mon, 29 Dec 2008 12:16:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHLjZ-00024D-QJ for help-gnu-emacs@gnu.org; Mon, 29 Dec 2008 12:16:54 -0500 Original-Received: from [199.232.76.173] (port=51673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHLjZ-00024A-I8 for help-gnu-emacs@gnu.org; Mon, 29 Dec 2008 12:16:53 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:56139) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHLjZ-0005OJ-3O for help-gnu-emacs@gnu.org; Mon, 29 Dec 2008 12:16:53 -0500 Original-Received: (qmail invoked by alias); 29 Dec 2008 17:16:51 -0000 Original-Received: from 62-47-49-225.adsl.highway.telekom.at (EHLO [62.47.49.225]) [62.47.49.225] by mail.gmx.net (mp018) with SMTP; 29 Dec 2008 18:16:51 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/WjutA/pvWUsF6VsoX7ZdD0IDLwOEbnsPCjAVvQ5 LfpobItz1DDgwJ User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Original-References: u4p0p4q6u.fsf@verizon.net X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60963 Archived-At: > (defun maximize-frame () > (interactive) > (w32-send-sys-command #xf030)) > > [...] > > ;; start Emacs maximized > (maximize-frame) Please try (add-hook 'window-setup-hook (lambda () ;; Maximize frame. (w32-send-sys-command 61488))) instead of this, and tell me whether it works. Thanks, martin.