unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* frame maximization and fonts
@ 2003-02-24  2:53 David Abrahams
  2003-02-24  8:08 ` Juanma Barranquero
  0 siblings, 1 reply; 9+ messages in thread
From: David Abrahams @ 2003-02-24  2:53 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-02-26 13:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24  2:53 frame maximization and fonts David Abrahams
2003-02-24  8:08 ` Juanma Barranquero
2003-02-24 12:31   ` David Abrahams
2003-02-24 14:21     ` Juanma Barranquero
2003-02-25 20:50       ` David Abrahams
2003-02-25 21:01         ` Juanma Barranquero
2003-02-25 21:25           ` David Abrahams
2003-02-26  7:14             ` Juanma Barranquero
2003-02-26 13:03               ` David Abrahams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).