Re: Icons missing in ECB if started --daemon/emacsclient

Daniel Clemente <[email protected]> Thu, 07 May 2009 17:53:27 +0200
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
El dj, mai 07 2009, [email protected] va escriure:
> Doesn't this occur with previous ECB (which version)? 

  I don't know because I had never used the daemon with older ECBs.

>Do you use Emacs 22 oder 23?

GNU Emacs 23.0.92.6 (i686-pc-linux-gnu, GTK+ Version 2.16.0) of 2009-04-27



  Probably the cause is here


(defcustom ecb-tree-buffer-style (if ecb-images-can-be-used
                                     'image
                                   'ascii-guides)

…



Where ecb-images-can-be-used is:


(defconst ecb-images-can-be-used
  (and (or (fboundp 'defimage)
           (fboundp 'make-image-specifier))
       (if (fboundp 'display-images-p)
           (display-images-p)
         window-system)))



  This is nil for me now in emacsclient, however the (and …) evals to t (t and t and 'x). This is probably because the code was run and ecb-images-can-be-used was set in a moment when any of the condition was false: at emacs --daemon.


-- Daniel


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list