[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] problem with other frame
From: |
Simon Green |
Subject: |
Re: [h-e-w] problem with other frame |
Date: |
Mon, 17 Sep 2001 19:39:34 +0100 |
>>>>> "MM" == Matt McClure <address@hidden> writes:
MM> On Mon Sep 17 2001, 13:11, "ste" <address@hidden> wrote:
>> thank,
>> now works correctly and is also possible to set as parameter "background
>> color". Two related problems
>> 1) Why now "(w32-send-sys-command ?\xf030)" in my .emacs not work ? The
>> problem is the order of execution ?
MM> It seems emacs sets the size of the frame fairly late, well after
MM> reading .emacs. So you'll probably have to put the above in a hook.
MM> I'm not sure which one though.
>> 2) It is possible to set "(w32-send-sys-command ?\xf030)" only for the first
>> frame ?
MM> Perhaps. If you can find an apropriate hook. I tried
MM> (defun maximize-frame (frame)
MM> (w32-send-sys-command ?\xf030))
MM> (setq after-make-frame-functions 'maximize-frame)
MM> But it seems maximize-frame isn't getting called on the initial frame.
I think window-setup-hook is the one you want, try:
(add-hook 'window-setup-hook 'maximize-frame)
--Simon
>> 3) And the biggest problem: i not find the documentation for
>> default-frame-alist.
MM> C-h v default-frame-alist RET
MM> --
MM> Matt
MM> http://www.faradic.net/~mmcclure/
MM> "I don't believe in rivalries. I don't believe in curses. Wake
MM> up the damn Bambino, maybe I'll drill him in the (behind)."
MM> -Pedro Martinez