comp.emacs
[Top] [All Lists]

how to do that a new frame inherit the configuration from other frame.

Subject: how to do that a new frame inherit the configuration from other frame.
From: Daneel Yaitskov
Date: Tue, 12 Aug 2008 17:18:57 +0400
Newsgroups: comp.emacs

Hi,

I have met with this problem when I started to use the vm mail
client. Starting vm creates the new frame which hasn't any feature
that is supply by the .emacs file. The same effect gives the
make-frame function.

I have scaned the elisp manual and have found the
after-make-frame-functions hook. It is called after make-frame creates
the frame. I use this hook so:

(add-hook 'after-make-frame-functions
          (lambda (n) 
          (frame-focus n)
          (set-foreground-color "white")
(set-background-color "black")
(set-frame-font "-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1")
))


But It gives nothing.

Daneel

<Prev in Thread] Current Thread [Next in Thread>
  • how to do that a new frame inherit the configuration from other frame., Daneel Yaitskov <=
Privacy Policy