>>>> "Gil" == Gil Kleinfeld
<gilk(a)iil.intel.com> writes:
Gil> Hi Andrian,
Gil> I run the code that you provided. In my environment it took quite
Gil> awhile to complete:
Gil> before: Thu Jun 6 14:34:30 2002
Gil> after: Thu Jun 6 14:34:55 2002
Gil> Seems like 25 seconds comparing to 0 time for you.
Ah, so there.
Gil> I tried also (setq clearcase-auto-dired-mode nil)
This is not a workaround for the above, only if dired seems slow when
ClearCase is not available.
This can be interesting if working offline frequently.
Doing
M-x clearcase-unintegrate
is probably a better option though.
Gil> this did not make any improvement for cleartool lsregion
Gil> lsregion seems to be slow here and it is not a problem of emacs. when
Gil> trying to try cleartool lsregion in the unix prompt, i am getting poor
Gil> performance:
Gil> % date;cleartool lsregion;date;
Gil> Thu Jun 6 14:41:31 IDT 2002
Gil> .
Gil> . Some stuff...
Gil> .
Gil> Thu Jun 6 14:41:50 IDT 2002
Gil> Not much better :-)
Gil> Assuming that there is no way to improve it on clearcase.el -
Gil> Is there any way not to run lsregion at startup?
clearcase.el should not run top-level code unconditionally.
(require 'clearcase)
should not change the state of XEmacs.
Mike, can you look into this when you get a chance?
It has been discussed on xemacs-beta before, that lisp modules should
not modify behavior of XEmacs by just being loaded.
I think behaviors (by Ben Wing IIRC) will address this issue in a
general way once they are used by XEmacs packages.
Best regards,
Adrian
Gil> Thanks,
Gil> Gil
Gil> _________________ Adrian Aichner Original Message ___________________
>>>> "Gil" == Gil Kleinfeld
<gilk(a)iil.intel.com> writes:
Gil> Hi,
Gil> thanks for the tip. It is a good idea to get-rid of the old timer and
Gil> pc-select i had.
Gil> It did not solve the (very) slow startup time of emacs with clearcase.
Gil> Hi Gil, what's your connection to ClearCase like?
Gil> Please send us the output of
Gil> (progn
Gil> (insert (format "before: %s\n" (current-time-string)))
Gil> (shell-command "cleartool lsregion")
Gil> (insert (format "after: %s\n" (current-time-string))))
Gil> I get this:
Gil> before: Thu Jun 06 11:33:26 2002
Gil> after: Thu Jun 06 11:33:26 2002
Gil> Also, try whether
Gil> (setq clearcase-auto-dired-mode nil)
Gil> speeds things up for you.
Gil> I have it in my .emacs.
Gil> Best regards,
Gil> Adrian
Gil> Thanks,
Gil> Gil
Gil> _________________ Steve Youngs Original Message ___________________
Gil> |--==> "GK" == Gil Kleinfeld <gilk(a)iil.intel.com> writes:
GK> Load-Path Lisp Shadows:
GK> ----------------------
GK> (/afs/iil/zeus/users/gilk/emacs/lisp/timer
GK> /afs/iil/zeus/users/gilk/local/xemacs-packages/lisp/fsf-compat/timer
GK> /afs/iil/zeus/users/gilk/emacs/lisp/pc-select
GK> /afs/iil/zeus/users/gilk/local/xemacs-packages/lisp/pc/pc-select
GK> /afs/iil/zeus/users/gilk/emacs/semantic/working
GK> /afs/iil/zeus/users/gilk/local/xemacs-packages/lisp/semantic/working
GK> /afs/iil/zeus/users/gilk/emacs/semantic/sformat
GK> /afs/iil/zeus/users/gilk/local/xemacs-packages/lisp/semantic/sformat
Gil> [...]
Gil> Hi Gil!
Gil> I have just forwarded your bug report to our Clearcase maintainer, so
Gil> hopefully Michael will be able to help you. But in the meantime you
Gil> might want to do something about all your lisp shadows.
Gil> It looks like you have some of GNU/Emacs' load-path in XEmacs'
Gil> load-path. Normally this isn't a good thing because there are very
Gil> often differences between GNU/Emacs lisp libraries and XEmacs ones.
Gil> I'm not suggesting that this will solve your Clearcase problem (although
Gil> it might), but it may prevent other problems.
Gil> --
Gil> |---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
Gil> | XEmacs - It's not just an editor. |
Gil> | It's a way of life. |
Gil> |------------------------------------<youngs(a)xemacs.org>---|
Gil> --
Gil> Adrian Aichner
Gil> mailto:adrian@xemacs.org
Gil>
http://www.xemacs.org/
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/