unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
Subject: frame maximization and fonts
Date: Sun, 23 Feb 2003 21:53:52 -0500	[thread overview]
Message-ID: <uu1eumlrz.fsf@boost-consulting.com> (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

             reply	other threads:[~2003-02-24  2:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24  2:53 David Abrahams [this message]
2003-02-24  8:08 ` frame maximization and fonts 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uu1eumlrz.fsf@boost-consulting.com \
    --to=dave@boost-consulting.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).