From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: frame maximization and fonts Date: Sun, 23 Feb 2003 21:53:52 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046055292 31299 80.91.224.249 (24 Feb 2003 02:54:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Feb 2003 02:54:52 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18n8lX-00088h-00 for ; Mon, 24 Feb 2003 03:54:51 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18n90n-0007Ok-00 for ; Mon, 24 Feb 2003 04:10:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18n8lK-0001yh-03 for emacs-devel@quimby.gnus.org; Sun, 23 Feb 2003 21:54:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18n8l4-0001xS-00 for emacs-devel@gnu.org; Sun, 23 Feb 2003 21:54:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18n8l2-0001vv-00 for emacs-devel@gnu.org; Sun, 23 Feb 2003 21:54:21 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18n8l2-0001ud-00 for emacs-devel@gnu.org; Sun, 23 Feb 2003 21:54:20 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18n8kq-00085u-00 for ; Mon, 24 Feb 2003 03:54:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18n8ko-00085g-00 for ; Mon, 24 Feb 2003 03:54:06 +0100 Original-Lines: 44 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:Sp2oXthKyIiW84sqSVHlLHStYu8= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11892 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11892 I have a .emacs file which causes my NTEmacs sesions to start with a maximized frame. It begins: (setq w32-enable-italics t) (setq w32-enable-synthesized-fonts t) (set-default-font "-*-Lucida Console-normal-r-*-*-12-96-96-96-c-*-iso8859-1") (set-face-font 'italic "-*-Lucida Console-normal-i-*-*-12-96-96-96-c-*-*-1") (set-face-font 'bold-italic "-*-Lucida Console-bold-i-*-*-12-96-96-96-c-*-*-1") ;; on Windoze systems, filenames are not case-sensitive. If we don't arrange for ;; them to come out lower-case when listed, useful toys like ediff-directories ;; won't work properly. (if (eq system-type 'windows-nt) ;; Hook the directory-files function. (progn ;; Irrelevant stuff snipped (defun w32-maximize-frame () "Maximize the current frame" (interactive) (w32-send-sys-command 61488)) (w32-maximize-frame) )) This works fine with emacs 21.2.1, but with a recent build from the CVS HEAD (like 3 days ago), my experience is different: The frame appears to grow to fill the entire screen, but then, almost instantaneously, it gets about 30 pixels shorter (the bottom edge of the frame moves up). This happens even if I put the call to w32-maximize-frame at the very end of my .emacs file. Any clues? Thanks in advance, Dave -- Dave Abrahams Boost Consulting www.boost-consulting.com