unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* custom-theme-set-faces broken by --daemon ?
@ 2009-03-08 17:04 Mike Mattie
  2009-03-09  3:44 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Mattie @ 2009-03-08 17:04 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

Hi,

I am using GNU Emacs: 23.0.91.1 (i686-pc-linux-gnu, X toolkit) of 2009-03-07 on localhost
built from CVS checkout 2009-3-7

In my configuration file for the gui I use custom-theme-set-faces.
I recently started experimenting with --daemon mode.

To get the gui customization to load correctly I have placed the loading
of that configuration file on after-make-frame-functions.

Unfortunately I get "color not defined".

Is this a bug ?

-- 
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: custom-theme-set-faces broken by --daemon ?
  2009-03-08 17:04 custom-theme-set-faces broken by --daemon ? Mike Mattie
@ 2009-03-09  3:44 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2009-03-09  3:44 UTC (permalink / raw)
  To: Mike Mattie; +Cc: emacs-devel

Mike Mattie <codermattie@gmail.com> writes:

> In my configuration file for the gui I use custom-theme-set-faces.
> I recently started experimenting with --daemon mode.
>
> To get the gui customization to load correctly I have placed the loading
> of that configuration file on after-make-frame-functions.
>
> Unfortunately I get "color not defined".
>
> Is this a bug ?

Your description is rather sketchy, but what I guess is happening is
that you are trying to access a color that is not defined under tty
mode.  When Emacs is started in daemon mode, it opens a "tty" frame that
is disconnected from any input or output.  The color definitions in
`x-color' are not loaded until you create a graphical frame.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-09  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 17:04 custom-theme-set-faces broken by --daemon ? Mike Mattie
2009-03-09  3:44 ` Chong Yidong

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).