Re: problem with cache-directory-contents

Shlomo <[email protected]>
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
Hello,
I'm using the xemacs (21.4.21) includes by the latest cygwin version (2.573.2.2).
I have the same result also after apply:
"M-: <RET> (ecb-fix-filename "/cygdrive/c/Projects/int1Enabled")RET"
 
It seems that the xemacs can resolve the cygwin-stuff (/cygdrive/c/...)
Because when right click in ECB window on the root folder, the first line of the pop-up menu is "c:/Projects/int1Enabled (Source path)"
 
Maybe the response time is because the following xemacs messages:
>>>>>>>>>>>>>.
cvs status: WARNING: Ignoring method options found in CVSROOT: `username=shlomot;hostname=cvsnt'.
cvs status: Use CVS version 1.12.7 or later to handle method options.
cvs status: Unknown method (`sspi') in CVSROOT.
cvs status: in directory .:
cvs status: ignoring CVS/Root because it does not contain a valid root.
cvs status: No CVSROOT specified!  Please use the `-d' option
cvs [status aborted]: or set the CVSROOT environment variable.
<<<<<<<<<<<<
 
 
[I don't know how I should disable the CVS since my custom.el && init.el have not enabled this option.]
 
 Regards,
Shlomo
 



----- Original Message ----
From: "[email protected]" <[email protected]>
To: [email protected]; [email protected]
Sent: Tuesday, May 6, 2008 2:27:02 PM
Subject: RE: [ECB-list] problem with cache-directory-contents


Hmm,
 
i'm not sure if Emacs can resolve the cygwin-stuff (/cygdrive/c/...)!? Or do you use the cygwin-build of Emacs? Which Emacs-version do you use?
 
Could you please do the following:
 
M-: <RET> (ecb-fix-filename "/cygdrive/c/Projects/int1Enabled") RET
 
and sending me the result - thanks
 
Klaus


________________________________
From: Shlomo [mailto:[email protected]] 
Sent: Tuesday, May 06, 2008 1:14 PM
To: ECB
Cc: Berndl, Klaus
Subject: Re: [ECB-list] problem with cache-directory-contents


Thanks,
 
I know this issue,
But the same result when use full path-names:
 
(setq ecb-show-sources-in-directories-buffer nil)
(setq ecb-source-path '("/cygdrive/c/Projects/int1Enabled"))
(setq ecb-cache-directoy-contents '(("/cygdrive/c/Projects/int1Enabled/.*" . 0 )))
 
OR
 
(setq ecb-show-sources-in-directories-buffer nil)
(setq ecb-source-path '("~/Projects/int1Enabled"))
(setq ecb-cache-directoy-contents '(("~/Projects/int1Enabled/.*" . 0 )))
 
Whenever I select folder, it take a time that the file list is displayed 
 
Could you explain the cache mechanism, Is it permanent cache (like cscope) or each time I invoke the xemacs the cache is rebuild?
 
Regards,
Shlomo
 

----- Original Message ----
From: "[email protected]" <[email protected]>
To: [email protected]; [email protected]
Sent: Monday, May 5, 2008 12:07:12 PM
Subject: RE: [ECB-list] problem with cache-directory-contents


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.
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  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.