all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* UNC paths vs mapped drives in CVS Emacs
@ 2004-11-11 14:35 Mathias Dahl
  2004-11-17 18:43 ` Mathias Dahl
  0 siblings, 1 reply; 2+ messages in thread
From: Mathias Dahl @ 2004-11-11 14:35 UTC (permalink / raw)



(I posted this to the emacs for windows newsgroup first but
got no comments and I still *suspect* that this is a bug so
I'll try here too)

I have been using Emacs 21.3 for a long time on Windows NT4 and
Windows 2000 and often opened files using their UNC paths, like this:

Find file: //myserver/myshare/myfile.txt

Now I am using the CVS version of Emacs, and it still *works* but
veeery slowly. Navigating to the file is quick enough, but when I open
it there seems to be a long delay.

If I map the share to a letter, like this:

c:\> net use z: \\myserver\myshare\myfile.txt

and opens file from that mapped "drive", it is as snappy as it was
before.

I have tried starting emacs with --no-init-file, but the
same thing happens.

Anyone got any clue to why it work like this?

/Mathias

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UNC paths vs mapped drives in CVS Emacs
  2004-11-11 14:35 UNC paths vs mapped drives in CVS Emacs Mathias Dahl
@ 2004-11-17 18:43 ` Mathias Dahl
  0 siblings, 0 replies; 2+ messages in thread
From: Mathias Dahl @ 2004-11-17 18:43 UTC (permalink / raw)


Mathias Dahl <brakjoller@gmail.com> writes:

> I have been using Emacs 21.3 for a long time on Windows NT4 and
> Windows 2000 and often opened files using their UNC paths, like this:
> 
> Find file: //myserver/myshare/myfile.txt
> 
> Now I am using the CVS version of Emacs, and it still *works* but
> veeery slowly. Navigating to the file is quick enough, but when I open
> it there seems to be a long delay.
> 
> If I map the share to a letter, like this:
> 
> c:\> net use z: \\myserver\myshare\myfile.txt
> 
> and opens file from that mapped "drive", it is as snappy as it was
> before.

Just to help others that may have this problem I will post some
information I just found by searching the net:

* It seems the reason for the slowness is some extra checks that emacs
  does regarding version control. I'm not sure about the exact cause
  though.

* A workaround until it is fixed is to do this:

  (setq vc-handled-backends '(RCS CVS SVN SCCS))

  In my case, I just left CVS and SVN in there. If you do not use any
  VC software I guess you can set it to null.

* If you want the full story, follow this link:

  http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=Slow+access+to+files+using+UNC+path&submit=Search%21&idxname=emacs-devel&max=100&result=normal&sort=date%3Aearly

 (sorry for the incredibly long URL, but using those query parameters
 gives a good overview)

/Mathias

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-17 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-11 14:35 UNC paths vs mapped drives in CVS Emacs Mathias Dahl
2004-11-17 18:43 ` Mathias Dahl

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.