Re: problem with cache-directory-contents

<[email protected]>
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
Hi,
 
please read the documentation of ECB-options carefully - with `ecb-cache-directoy-contents'
you will find at the end of the docstring:
 
"...Please note: If you want your home-dir being cached then you MUST NOT use
\"~\" because ECB tries always to match full path-names..."
 
so, try to cusomize the fully expanded path not beginning with ~. Does this help
in speeding up?
 
Klaus

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Shlomo
Sent: Wednesday, April 30, 2008 10:33 PM
To: ECB
Subject: Re: [ECB-list] problem with cache-directory-contents


 
Hello,

 

The "setq  ecb-cache-directoy-contents " setting seems to be ok - there is no error message. BUT the access wasn't speed up.

its take a time to expand and redraw the ecb’s windows....

How can i verify that the cache is active ? (is there any cache file ? or the cache is on the RAM ?)

 

Thanks

Shlomo

 

 

----- Original Message ----
From: "[email protected]" <[email protected]>
To: [email protected]; [email protected]
Sent: Wednesday, April 30, 2008 12:08:09 PM
Subject: RE: [ECB-list] problem with cache-directory-contents


please always use customize-option when you want to customize your
ECB! Especially if you are not firm with elisp or if you haven't read the
docstring of an option!
 
Please read the docstring of the option ecb-cache-directoy-contents and you
will read there: "..is a list of cons-cells!"
 
So your setq value below is wrong...
Even more: the option name is wrong too: its ecb-cache-directoy-contents not
just cache-directoy-contents...
 
a correct version wourl be
(setq ecb-cache-directoy-contents '(("~/Projects/Head_tmp/*." . 0 )))
 
But again my recommendatio for you: Just call the command
`customize-option' and then insert ecb-cache-directoy-contents 
and bob will be your uncle...
 
Klaus
 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Shlomo
Sent: Tuesday, April 29, 2008 5:30 PM
To: ECB
Subject: [ECB-list] problem with cache-directory-contents


Hi,
I'm a newbie to ecb, could you help with the following ?
when i set the 'cache-directory-contents' option (setting is done in init.el)  i got erorr:
 

(setq cache-directory-contents "~/Projects/Head_tmp/*." . 0 )
Malformed list: (cache-directory-contents "~/Projects/Head_tmp/*." . 0)
 
OR 

(setq cache-directory-contents "cygdrive/c/Projects/Head_tmp/*." . 0 )
Malformed list: (cache-directory-contents "cygdrive/c/Projects/Head_tmp/*." . 0)

 
Thanks

________________________________

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ> 

________________________________

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.