| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: how to find in cc-mode what is the function name at given point, Oleksandr Gavenko |
|---|---|
| Next by Date: | [Lisp] Highlighting question, alex |
| Previous by Thread: | Re: Emacs's M-‹key› Notation vs Alt+‹key› Notation, Arndt Roger Schneider |
| Next by Thread: | [Lisp] Highlighting question, alex |
| Indexes: | [Date] [Thread] [Top] [All Lists] |