[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

frame maximization and fonts

From: David Abrahams
Subject: frame maximization and fonts
Date: Sun, 23 Feb 2003 21:53:52 -0500
User-agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (i386-msvc-nt5.1.2600)

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 
    (set-face-font 'italic "-*-Lucida Console-normal-i-*-*-12-96-96-96-c-*-*-1")
    (set-face-font 'bold-italic "-*-Lucida 

    ;; 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 
    ;; won't work properly.
    (if (eq system-type 'windows-nt)
        ;; Hook the directory-files function.
          ;; Irrelevant stuff snipped

          (defun w32-maximize-frame ()
            "Maximize the current frame"
            (w32-send-sys-command 61488))


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 Abrahams
Boost Consulting

reply via email to

[Prev in Thread] Current Thread [Next in Thread]