all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Android Eve <androidev@gmx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: set-frame-size doesn't work in Emacs 23.2 ?
Date: Wed, 18 Aug 2010 13:27:12 -0700 (PDT)	[thread overview]
Message-ID: <56a3f53b-678f-4c57-a6d5-cdddde762de8@a36g2000yqc.googlegroups.com> (raw)
In-Reply-To: ec231221-5ca1-4da4-9475-b94689a8854f@x25g2000yqj.googlegroups.com

On Aug 18, 1:42 pm, Android Eve <androi...@gmx.com> wrote:
>
> Why?
>

The mystery is now even greater since I managed to make (set-frame-
size     (selected-frame)  96 72) work in .emacs -- here is how:

Originally, these two lines were conditioned upon the window system:

  (cond
   ((eq window-system 'w32)
    (progn
        (set-frame-position (selected-frame) 120  0)
        (set-frame-size     (selected-frame)  96 88)
      )))

So, I just moved these two lines above the condition and mysteriously
they started working!

Why "mysteriously"? Because there are other statements inside that (eq
window-system 'w32) that work flawlessly. If I invoke M-x describe-
variable window-system , it returns the value w32.

So why is this odd behavior of Emacs 23.2?




       reply	other threads:[~2010-08-18 20:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ec231221-5ca1-4da4-9475-b94689a8854f@x25g2000yqj.googlegroups.com>
2010-08-18 20:27 ` Android Eve [this message]
2010-08-19  7:33   ` set-frame-size doesn't work in Emacs 23.2 ? Marc Mientki

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

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

  git send-email \
    --in-reply-to=56a3f53b-678f-4c57-a6d5-cdddde762de8@a36g2000yqc.googlegroups.com \
    --to=androidev@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.