From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: KOBAYASHI Yasuhiro Newsgroups: gmane.emacs.devel Subject: Re: Slow access to files using UNC path Date: Thu, 26 Aug 2004 16:10:50 +0900 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <1089978045.7826.200489429@webmail.messagingengine.com> <1090070598.482.200548261@webmail.messagingengine.com> <2914-Sun18Jul2004070932+0300-eliz@gnu.org> <1090131145.14224.200572407@webmail.messagingengine.com> <2914-Sun18Jul2004214112+0300-eliz@gnu.org> <1090211717.23633.200609317@webmail.messagingengine.com> <7494-Mon19Jul2004210954+0300-eliz@gnu.org> <1093494967.3662.203084298@webmail.messagingengine.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093504250 9794 80.91.224.253 (26 Aug 2004 07:10:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Aug 2004 07:10:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 26 09:10:30 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0EOz-0005w1-00 for ; Thu, 26 Aug 2004 09:10:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0ETb-00015s-6E for ged-emacs-devel@m.gmane.org; Thu, 26 Aug 2004 03:15:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0ETG-00013G-G0 for emacs-devel@gnu.org; Thu, 26 Aug 2004 03:14:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0ETE-000107-6k for emacs-devel@gnu.org; Thu, 26 Aug 2004 03:14:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0ETE-0000zv-2g for emacs-devel@gnu.org; Thu, 26 Aug 2004 03:14:52 -0400 Original-Received: from [210.157.254.238] (helo=mail.otsukakj.co.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C0EOL-00011n-Bh for emacs-devel@gnu.org; Thu, 26 Aug 2004 03:09:49 -0400 Original-Received: from NSZ124 (localhost [127.0.0.1]) by mail.otsukakj.co.jp (8.12.10/8.12.10) with ESMTP id i7Q79hKN013280; Thu, 26 Aug 2004 16:09:44 +0900 (JST) Original-To: "Dhruva Krishnamurthy" X-Face: sx{*Zd5t@lP<&#~%3p=Z'z@ru$R6Bvwu3`mD?-!>[pr@Do`[`tu-$[0\OB6%gb:z/7 iuq3LblNTXV@AU\/w=hI[\w}\Hr1UM~>x\cQtaXq&w:LcZn/yvAOIHk"^$laja@tc|:Y"DC]/F!W"D "*_Y$vOKK5 X-PGP-DSS: BE16 34D8 BC0B 52B5 0E86 9D4B 9B89 77B3 1D8D A872 X-PGP-Key: http://homepage3.nifty.com/y3tk/gpg/pubkey.asc User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (i386-mingw-nt5.1.2600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26514 In message Re: Slow access to files using UNC path on Thu, 26 Aug 2004 10:06:07 +0530 "Dhruva Krishnamurthy" wrote: > Hello, > I applied the patch (manually as I do not have a patch utility on > win32). It does not seem to make a difference to me. Let me explain the > steps I followed. > 1. I manually applied the on to the files > 2. Byte compiled them > 3. Re-started emacs and tried accessing the file in UNC (without my > defadvice hack) > 4. It took the same time. 'make bootstrap' is needed so that the patch effects the autoload section. > One observation I have made which might help in identifying the cause. > When I open the file literally, it is real fast. As fast as opening a > local file. find-file-hook is set vc-find-file-hook by default and finally vc-arch-registered or vc-mcvs-registered run. find-file-literally does't hook it. Easy way avoiding slow access without the patch is (setq vc-handled-backends '(RCS CVS SVN SCCS)). -- KOBAYASHI Yasuhiro