From: Daniel C. <dcl...@ya...> - 2009-05-07 12:17:02
|
El dj, mai 07 2009, kla...@ca... va escriure: > Hi, > > first of all sorry for using the cedet-mailing-lists for that but my hope is > that there are also some ECB-users... ;-) > That's good because some ECB issues may be CEDET issues. For instance, the first thing I noticed after doing ecb-activate with latest CEDET and CVS was that it blocks Emacs, and a ps -axuf shows: dc 16484 3.3 3.3 82972 68972 ? Ss 13:45 0:22 emacs --daemon dc 16767 0.0 0.0 2060 756 ? Ss 13:50 0:00 \_ /bin/ping cedet.cvs.sourceforge.net First question: why is Emacs/CEDET/ECB trying to ping SourceForge? Is it really needed? Apparently it never ends: $ strace -p 16484 Process 16484 attached - interrupt to quit read(7, "64 bytes from cvs2.sourceforge.ne"..., 6064) = 86 read(7, "64 bytes from cvs2.sourceforge.ne"..., 5978) = 86 read(7, "64 bytes from cvs2.sourceforge.ne"..., 5892) = 86 read(7, "64 bytes from cvs2.sourceforge.ne"..., 5806) = 86 read(7, ^C <unfinished ...> Better use ping -c 1! This is something that can be configured in ecb-file-browser.el (defcustom ecb-ping-options (list "HOST") "List of options for the ping program. These options have to ensure that the program set in `ecb-ping-program' only emits as few as possible ICMP packets, ideally exactly 1. These options must ensure the ping-program doesn't emit an endless sequence of packets! … " :group 'ecb-directories :type '(repeat string)) Well, thanks for the release; ECB plus CEDET will enhance Emacs greatly. -- Daniel |