emacs-devel archive search

Search String: Display: Description: Sort:

Results:

References: [ Slow: 5517 ] [ access: 7253 ] [ to (Too many documents hit. Ignored) ] [ files (Too many documents hit. Ignored) ] [ using (Too many documents hit. Ignored) ] [ UNC: 158 ] [ path: 7301 ]

Total 108 documents matching your query.

1. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Wed, 15 Jul 2009 11:19:18 +0200
As root under Solaris, you can. This has been a nasty cause of surprise for decades. I can't vouch that it has not changed in _very_ recent years, but there certainly will systems be around where thi
/archive/html/emacs-devel/2009-07/msg00635.html (10,451 bytes)

2. Re: Emacs-devel Digest, Vol 65, Issue 83 (score: -,350)
Author: HIDDEN
Date: Wed, 15 Jul 2009 05:05:24 +0000 (UTC)
Thank you for helping me. Robert M. Goldman Send Emacs-devel mailing list submissions to address@hidden To subscribe or unsubscribe via the World Wide Web, visit http://lists.gnu.org/mailman/listinfo
/archive/html/emacs-devel/2009-07/msg00632.html (20,153 bytes)

3. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Wed, 15 Jul 2009 00:05:32 +0300
Yes, something like that. We always do a CHECK_STRING in those cases, at least for the arguments of the primitives; maybe we should have CHECK_FILENAME or something.
/archive/html/emacs-devel/2009-07/msg00628.html (10,182 bytes)

4. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Wed, 15 Jul 2009 05:27:34 +0900
So you're suggesting that each use of a system function with such limitations be preceded by "if (contains_null(string)) error ();" or something? I suppose, though it seems such an obscure issue that
/archive/html/emacs-devel/2009-07/msg00626.html (9,922 bytes)

5. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 23:03:24 +0300
Yes, it is (IMO): directory "address@hidden" does not exist, so you should have got an error. Instead, you silently open a directory by another name, as if "address@hidden" existed.
/archive/html/emacs-devel/2009-07/msg00623.html (10,394 bytes)

6. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 22:57:35 +0300
Perhaps most of the places where we use these paradigms are okay due to all these subtle corners that together make everything work. But IMHO it's inherently unsafe to use character arrays that are
/archive/html/emacs-devel/2009-07/msg00622.html (12,170 bytes)

7. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 12:32:18 -0700 (PDT)
Of course. But is the equivalence between "foo" and "address@hidden" fundamentally worse than the (almost: consider symlinks) equivalence between "foo" and "foo/"? Maybe it just doesn't matter much.
/archive/html/emacs-devel/2009-07/msg00620.html (10,347 bytes)

8. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 22:14:05 +0300
That's not what I meant. What I meant is the problem that could happen if encoded_dir's value was address@hidden, and there was also a directory called "foo". Won't we then opendir "foo"? And what i
/archive/html/emacs-devel/2009-07/msg00619.html (10,067 bytes)

9. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 14:18:53 -0400
I'm not sure about any piece of code, no. Bugs are common. But my reading of allocate_string_data starts by: /* Set up Lisp_String S for holding NCHARS characters, NBYTES bytes, plus a NUL byte at t
/archive/html/emacs-devel/2009-07/msg00611.html (11,108 bytes)

10. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Jul 2009 19:29:31 -0400
Yes, and in fact this struck recently--see Bug#3772.
/archive/html/emacs-devel/2009-07/msg00597.html (9,618 bytes)

11. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 12:31:31 +0800
NUL can not be in a pathname, so it should be safe here to treat it as a classical C string.
/archive/html/emacs-devel/2009-07/msg00596.html (10,687 bytes)

12. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 13:28:19 +0900
That's a limitation of opendir (and posix filenames in general), and there's absolutely nothing we can do it (so there's no point in worrying about that case), but we shouldn't introduce new limitati
/archive/html/emacs-devel/2009-07/msg00595.html (10,151 bytes)

13. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 06:18:32 +0300
But then a gazillion other places are buggy: we _do_ use SDATA(str) as a C string, and pass it to functions that will stop examining the string on the first null. A random example: d = opendir (SDAT
/archive/html/emacs-devel/2009-07/msg00593.html (11,005 bytes)

14. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Jul 2009 20:54:14 -0400
As said Andreas, this would stop at the first NUL, which may appear within the string. The +1 is precisely used to make sure we copy the terminating NUL. Stefan
/archive/html/emacs-devel/2009-07/msg00591.html (10,076 bytes)

15. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,287)
Author: HIDDEN
Date: Mon, 13 Jul 2009 20:51:55 -0400
Hmm... removable media... I think it should still be considered as non-remote, although accessing a USB stick after you removed it (but without unmounting it) may hang just like accessing a dead NFS
/archive/html/emacs-devel/2009-07/msg00590.html (10,336 bytes)

16. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 14 Jul 2009 09:31:42 +0900
It is necessary because SBYTES does not count the extra NUL character. E.g., SBYTES (empty_unibyte_string) == 0, and *(SDATA (empty_unibyte_string)) == '\0'. YAMAMOTO Mitsuharu address@hidden
/archive/html/emacs-devel/2009-07/msg00587.html (10,236 bytes)

17. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Jul 2009 23:04:27 +0200
Just because strings are always NUL terminated does not mean that every NUL terminates a string. Andreas. -- Andreas Schwab, address@hidden GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 21
/archive/html/emacs-devel/2009-07/msg00585.html (9,932 bytes)

18. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Jul 2009 23:13:20 +0300
Aha. But it sounds like it's not just me who is confused. Here's just two examples: From doc.c: strp = SDATA (string); while (strp < SDATA (string) + SBYTES (string)) (why not "while *strp"?) From f
/archive/html/emacs-devel/2009-07/msg00581.html (9,816 bytes)

19. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Jul 2009 21:39:20 +0200
See allocate_string_data. Not in the last 18 years. :-) Andreas. -- Andreas Schwab, address@hidden GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something compl
/archive/html/emacs-devel/2009-07/msg00580.html (10,145 bytes)

20. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Jul 2009 22:02:24 +0300
Really? I will have to look at the code. Did I dream or at some point in the past they weren't guaranteed to be null-terminated?
/archive/html/emacs-devel/2009-07/msg00579.html (9,576 bytes)

21. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,276)
Author: HIDDEN
Date: Mon, 13 Jul 2009 22:00:56 +0300
Well, filesystems _shouldn't_ be slow, though some are ;-) But yes, I agree that ``filesystem'' is a kind of misnomer, although some filesystems are associated with very specific devices.
/archive/html/emacs-devel/2009-07/msg00578.html (9,877 bytes)

22. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,287)
Author: HIDDEN
Date: Mon, 13 Jul 2009 21:56:25 +0300
The code in is_slow_fs considers only fixed disks and RAM disks not ``slow''. Other types, which include CDs and removable media such as USB memory sticks, are considered ``slow''. Right, but I reme
/archive/html/emacs-devel/2009-07/msg00577.html (10,345 bytes)

23. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,254)
Author: HIDDEN
Date: Mon, 13 Jul 2009 15:57:48 +0200
Btw, Lisp strings are guaranteed to be NUL terminated, no need to create a copy to use is as a C string. Andreas. -- Andreas Schwab, address@hidden GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3
/archive/html/emacs-devel/2009-07/msg00573.html (9,684 bytes)

24. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,265)
Author: HIDDEN
Date: Mon, 13 Jul 2009 15:38:02 +0200
Filesystems aren't slow, devices are. Andreas. -- Andreas Schwab, address@hidden GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
/archive/html/emacs-devel/2009-07/msg00572.html (9,638 bytes)

25. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,265)
Author: HIDDEN
Date: Mon, 13 Jul 2009 08:17:08 -0400
I'm not sure I understand the difference. Could you give an example of a filesystem that's slow but not "remote (a.k.a. networked)"? Stefan PS: the criterion for file-remote-p is (C-h f file-remote-
/archive/html/emacs-devel/2009-07/msg00569.html (9,836 bytes)

26. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,254)
Author: HIDDEN
Date: Sat, 11 Jul 2009 23:22:49 +0300
Thanks. Already done by today's commits to the trunk. The function is called is_slow_fs, and returns non-zero if its argument resides on a filesystem deemed slow. I'm not sure this is what you want
/archive/html/emacs-devel/2009-07/msg00508.html (9,771 bytes)

27. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Sat, 11 Jul 2009 15:17:29 -0400
Fine by me as well. BTW, could you factor out your "remoteness test" and make it available to file-remote-p? Stefan
/archive/html/emacs-devel/2009-07/msg00503.html (9,200 bytes)

28. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,255)
Author: HIDDEN
Date: Fri, 10 Jul 2009 11:54:11 +0300
Thanks, committed to the branch as well.
/archive/html/emacs-devel/2009-07/msg00435.html (9,771 bytes)

29. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,255)
Author: HIDDEN
Date: Thu, 09 Jul 2009 17:33:51 -0400
Looks OK to me.
/archive/html/emacs-devel/2009-07/msg00413.html (9,491 bytes)

30. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,261)
Author: HIDDEN
Date: Thu, 09 Jul 2009 21:47:31 +0300
Right. We didn't treat UNC file names as remote, it's as simple as that. I installed the patch below on the trunk. Stefan and Yidong, is it okay to install on the release branch as well? 2009-07-09
/archive/html/emacs-devel/2009-07/msg00408.html (11,413 bytes)

31. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,249)
Author: HIDDEN
Date: Thu, 09 Jul 2009 22:13:58 +0300
The code is written to effectively behave as if the variable was nil for remote filesystems. It just didn't handle UNC file names as remote. Now it does. Making the code faster (even beyond this bug
/archive/html/emacs-devel/2009-07/msg00407.html (8,594 bytes)

32. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,276)
Author: HIDDEN
Date: Thu, 09 Jul 2009 22:11:19 +0300
Yes (and it does). Doing that by default is too radical, IMO. Having this option non-nil on FAT/FAT32/XFAT has its merits, although less so than on NTFS. And the speedup for local drives would be mi
/archive/html/emacs-devel/2009-07/msg00406.html (9,650 bytes)

33. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,254)
Author: HIDDEN
Date: Thu, 09 Jul 2009 21:59:30 +0300
Network drives can be NTFS volumes as well, and usually are if the server is a Windows machine. But accessing all of the features we now support in file-attributes on Windows can be slow over the ne
/archive/html/emacs-devel/2009-07/msg00404.html (10,360 bytes)

34. RE: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Thu, 9 Jul 2009 10:03:42 -0700
I see (I think). I thought that the doc was saying that it should be non-nil only for NTFS, which should be independent of whether the file system is local or over a network.
/archive/html/emacs-devel/2009-07/msg00402.html (9,558 bytes)

35. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Fri, 10 Jul 2009 00:25:25 +0800
I suggest we change the default value of this variable to nil (or make the code faster). Dumb question: Is there a way for Emacs to know whether the format is NTFS or FAT(32)? If so, then Emacs could
/archive/html/emacs-devel/2009-07/msg00401.html (9,863 bytes)

36. RE: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Thu, 9 Jul 2009 09:11:10 -0700
Dumb question: Is there a way for Emacs to know whether the format is NTFS or FAT(32)? If so, then Emacs could use nil for FAT volumes. (If not, it seems like nil would be the best default value.)
/archive/html/emacs-devel/2009-07/msg00400.html (9,143 bytes)

37. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Thu, 09 Jul 2009 08:56:33 -0400
To clarify, I see 1 sec with Emacs 22.3, and 10 to 11 seconds with Emacs 23.0.95. Can you see if it's approximately linear in the number of files? That's somewhat strange. For me, the second time is
/archive/html/emacs-devel/2009-07/msg00394.html (9,046 bytes)

38. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Thu, 9 Jul 2009 13:53:17 +0200
I did not have it set so it had the value 'local before I changed it to nil now. I googled for the variable now and saw this: "If the variable w32-get-true-file-attributes is non-nil (the default),
/archive/html/emacs-devel/2009-07/msg00388.html (9,146 bytes)

39. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Thu, 09 Jul 2009 19:37:49 +0800
. Does it help to set w32-get-true-file-attributes to nil? Woooo! Um, yes... It helped all right. From 85 (first try) and 115 (second try as per reuest above), down to 1,4 s. Shall we call that as s
/archive/html/emacs-devel/2009-07/msg00387.html (8,498 bytes)

40. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Wed, 8 Jul 2009 22:47:37 +0200
The more files there are, the bigger the slowdown seems to be, in my tests. Hehe, it got even worse the second time :) Woooo! Um, yes... It helped all right. From 85 (first try) and 115 (second try
/archive/html/emacs-devel/2009-07/msg00348.html (9,905 bytes)

41. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Wed, 08 Jul 2009 18:01:51 +0300
Sorry for a long delay. I finally found a few minutes to look into this. First, I don't see a ~100-fold slowdown, I see only a 10-fold slowdown (vs Emacs 22.3). This is with a directory that has ~13
/archive/html/emacs-devel/2009-07/msg00338.html (9,621 bytes)

42. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 07 Jul 2009 20:14:07 +0900
It should be much easier (and faster) if you use the git mirror and "git bisect". [e.g., "git clone git://git.sv.gnu.org/emacs.git"] -Miles -- Monday, n. In Christian countries, the day after the bas
/archive/html/emacs-devel/2009-07/msg00288.html (7,248 bytes)

43. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Tue, 7 Jul 2009 13:00:20 +0200
Just so that I understand you correctly, are you suggesting I download and compile CVS emacs and do the "cvs up" trick and repeat this process until I get a compiled version that works? If so, it mi
/archive/html/emacs-devel/2009-07/msg00286.html (7,720 bytes)

44. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 06 Jul 2009 23:01:19 +0300
Ouch! I'm quite sure I would have noticed such a terrible slowdown. Let me time similar commands tomorrow in my office. Not yet. But perhaps install StraceNT (http://stracent.en.softonic.com/) and s
/archive/html/emacs-devel/2009-07/msg00253.html (7,762 bytes)

45. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 06 Jul 2009 10:55:04 -0400
Please use CVS. That lets you track down the problem with better granularity, and it's more convenient. See http://savannah.gnu.org/cvs/?group=emacs for a description of how to check out the cvs repo
/archive/html/emacs-devel/2009-07/msg00236.html (7,807 bytes)

46. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 6 Jul 2009 16:30:16 +0200
I don't compile it myself, instead I rely on the precompiled pretests over at alpha.gnu.org. But maybe I will find the time to download them all and test, to narrow it down at least somewhat. Consid
/archive/html/emacs-devel/2009-07/msg00234.html (7,552 bytes)

47. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,249)
Author: HIDDEN
Date: Sun, 05 Jul 2009 18:58:11 -0400
If you have the time, try reverting to previous versions (e.g. `cvs up -Pd -D 2009-01-01') and find out which checkin introduced the problem. A binary search should narrow it down quite quickly.
/archive/html/emacs-devel/2009-07/msg00231.html (8,014 bytes)

48. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,244)
Author: HIDDEN
Date: Mon, 6 Jul 2009 09:38:07 +0200
I did all tests below in emacs -Q. //gbgfs1/archive75 is a share that contains 260 directories and three files. The server is located in our office. C-x d //gbgfs1/archive75 RET Emacs 22.1.1: 1 s Em
/archive/html/emacs-devel/2009-07/msg00221.html (8,336 bytes)

49. Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,249)
Author: HIDDEN
Date: Mon, 06 Jul 2009 06:06:16 +0300
Please post some measurements (the original report says "a few seconds", which is quite vague) and the basic performance data of your machine. Also, please tell if this happens with every file, even
/archive/html/emacs-devel/2009-07/msg00212.html (7,512 bytes)

50. Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) (score: -1,249)
Author: HIDDEN
Date: Sun, 5 Jul 2009 23:01:53 +0200
I understand that the release of 23.1 is not far away and I am a bit worried that this bug won't be solved before that. Is there anything I can do to help? I use a lot of UNC file names / paths in my
/archive/html/emacs-devel/2009-07/msg00201.html (6,829 bytes)

51. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Thu, 23 Sep 2004 09:12:19 -0400
Not if your "date" changes less than 20 times per day. And in what way is that different from what happens if you choose the date based on the time the buffer is saved? I must still be missing somet
/archive/html/emacs-devel/2004-09/msg00818.html (9,099 bytes)

52. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Thu, 23 Sep 2004 21:50:31 +0900
Depending on the user's preferences, all of the above. Also possibly by certain network activity. Then restarting emacs 20 times in one day will result in an unnecessarily large amount of files. So t
/archive/html/emacs-devel/2004-09/msg00816.html (9,346 bytes)

53. Re: Slow access to files using UNC path (score: -1,256)
Author: HIDDEN
Date: Wed, 22 Sep 2004 08:59:47 -0400
than what? What alternatives have you considered? How is the buffer-save triggered (is it triggered by a timer, by the user selecting the buffer and hitting C-x C-s, by some other command in the mai
/archive/html/emacs-devel/2004-09/msg00761.html (8,869 bytes)

54. Re: Slow access to files using UNC path (score: -1,256)
Author: HIDDEN
Date: Wed, 22 Sep 2004 08:46:26 +0900
Doing it this way allows people to store log files based on the date a buffer is saved, such as using a new log file each month, or day. Hooking into the save mechanism is a lot more straightforward
/archive/html/emacs-devel/2004-09/msg00730.html (7,909 bytes)

55. Re: Slow access to files using UNC path (score: -1,256)
Author: HIDDEN
Date: Mon, 20 Sep 2004 01:28:41 -0400
Without explaining to use the reason why the file-name has to change, it's difficult to know what's the best solution. Stefan
/archive/html/emacs-devel/2004-09/msg00633.html (7,601 bytes)

56. Re: Slow access to files using UNC path (score: -1,278)
Author: HIDDEN
Date: Sun, 19 Sep 2004 20:05:44 -0400
The rationale behind "" was that a non-zero string may be misinterpreted by a user/programmer as a real path, (Side issue reminder: please call it a "file name". In GNU we use the term "path" only fo
/archive/html/emacs-devel/2004-09/msg00617.html (7,781 bytes)

57. Re: Slow access to files using UNC path (score: -1,267)
Author: HIDDEN
Date: Sun, 19 Sep 2004 16:25:58 +0900
The rationale behind "" was that a non-zero string may be misinterpreted by a user/programmer as a real path, when its value would just be ignored. We could probably change ERC to name buffers with a
/archive/html/emacs-devel/2004-09/msg00597.html (8,445 bytes)

58. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sun, 19 Sep 2004 03:01:19 -0400
Why use "" rather than something else (since you say it's ignored anyway)? I suspect "" will create other problems than just with this new VC code. E.g. I wouldn't be surprised to see it bump into u
/archive/html/emacs-devel/2004-09/msg00594.html (8,609 bytes)

59. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sun, 19 Sep 2004 12:44:15 +0900
When a buffer has no file name, basic-save-buffer will prompt the user interactively for one. Since before-save-hook isn't run until after the interactive request for a file name, this prevents a hoo
/archive/html/emacs-devel/2004-09/msg00591.html (9,301 bytes)

60. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sat, 18 Sep 2004 22:19:06 +0200
Right. Other places in Emacs seem to expect that too (see get-file-buffer). Even so, it doesn't sound unreasonable to check that we're not calling string-match on nil, in any case... -- Romain Franco
/archive/html/emacs-devel/2004-09/msg00574.html (8,566 bytes)

61. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sat, 18 Sep 2004 22:09:12 +0200
See the commit message for erc-log.el rev. 1.7: The real problem is probably that buffer-file-name cannot be set in advance to the correct value since the filename will often be based on the date/tim
/archive/html/emacs-devel/2004-09/msg00572.html (8,947 bytes)

62. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sat, 18 Sep 2004 21:00:52 +0200
Hi Romain, Stefan, I can confirm this for ERC channel buffers as well, running with CVS erc and consider this a bug just like Stefan. Where is the use of "" as a value of buffer-file-name documented?
/archive/html/emacs-devel/2004-09/msg00565.html (8,658 bytes)

63. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sat, 18 Sep 2004 14:38:31 -0400
Hmm... I personally expect buffer-file-name to be an absolute file name (or nil). Admittedly, the docstring doesn't say that, so maybe your fix is indeed in order (or else the docstring of buffer-fi
/archive/html/emacs-devel/2004-09/msg00563.html (8,587 bytes)

64. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sat, 18 Sep 2004 13:53:27 +0200
This change is problematic for buffers where buffer-file-name is "" (like ERC server buffers in my case), file-name-directory returns nil so string-match signals an error. It makes it impossible to q
/archive/html/emacs-devel/2004-09/msg00550.html (10,546 bytes)

65. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Sep 2004 08:39:17 -0400
As explained, such a regexp will indeed stop VC from mucking around in // but it will do that *everywhere*, which is not what you want if your home directory is on //myserver/myhome since it means t
/archive/html/emacs-devel/2004-09/msg00403.html (8,549 bytes)

66. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Mon, 13 Sep 2004 12:20:09 +0530
The above regexp does not work. The working regexp (when I try to open a file at '//wolfdei/d/users/dhruva/_emacs') is as follows: (defvar vc-ignore-dir-regexp "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)")
/archive/html/emacs-devel/2004-09/msg00392.html (8,694 bytes)

67. Re: Slow access to files using UNC path (score: -1,278)
Author: HIDDEN
Date: Thu, 09 Sep 2004 00:03:36 -0400
Actually, that is a general GNU system convention.
/archive/html/emacs-devel/2004-09/msg00240.html (5,817 bytes)

68. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Wed, 08 Sep 2004 12:44:56 -0400
You can do it, Dhruva! If you look at the functions you changed (which are all prefixed with ;;;##autoload), you'll see that they are defined a second time (but this time not prefixed with ;;;##auto
/archive/html/emacs-devel/2004-09/msg00220.html (8,378 bytes)

69. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Wed, 8 Sep 2004 18:30:42 +0530
I have reached the end (with my limited knowledge of elisp and vc). I will not be technically capable to do this, I request the elisp gurus to handle this and make this file opening speedup available
/archive/html/emacs-devel/2004-09/msg00215.html (8,106 bytes)

70. Re: Slow access to files using UNC path (score: -1,322)
Author: HIDDEN
Date: Wed, 08 Sep 2004 07:55:51 -0400
Sorry 'bout that. I disagree and I also disagree with the proposed docstring. We should document what the variable is meant for, not how it's used. It's meant for filenames which are interpreted by
/archive/html/emacs-devel/2004-09/msg00211.html (9,448 bytes)

71. Re: Slow access to files using UNC path (score: -1,260)
Author: HIDDEN
Date: Wed, 8 Sep 2004 14:23:55 +0530
Accept, the above looks much better. if I make a new patch and submit, will someone check it in? I have no write access. for other backends), vc-backend-registered is implemented for the new "backend
/archive/html/emacs-devel/2004-09/msg00209.html (8,873 bytes)

72. Re: Slow access to files using UNC path (score: -1,278)
Author: HIDDEN
Date: Wed, 08 Sep 2004 17:41:59 +0900
Also note that the suffix `-regexp' is both clearer and much more common (in emacs at least). :-) [and it looks those variables which _do_ use `-re' are almost all in code written by the same person.
/archive/html/emacs-devel/2004-09/msg00208.html (7,840 bytes)

73. Re: Slow access to files using UNC path (score: -1,334)
Author: HIDDEN
Date: Wed, 08 Sep 2004 10:18:14 +0200
In Emacs, a 'path' is something like load-path, and we never use the term 'path' for a directory name or file name. IMO, a better name would be something like `vc-ignore-file-re'. (defvar vc-ignore-f
/archive/html/emacs-devel/2004-09/msg00207.html (10,999 bytes)

74. Re: Slow access to files using UNC path (score: -1,272)
Author: HIDDEN
Date: Wed, 8 Sep 2004 12:19:17 +0530
Done the changes by putting the variable in vc-hooks.el with better documentation. I have used this patch and has worked with no issues so far. I request the patch to be reviewed and put into CVS hea
/archive/html/emacs-devel/2004-09/msg00205.html (8,839 bytes)

75. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: 01 Sep 2004 10:31:04 -0400
The problem is that network filesystems are not the real problem: If your home dir is accessed via NFS, you don't have to put it in that regexp. What needs to be in that regexp are the paths for whi
/archive/html/emacs-devel/2004-09/msg00019.html (7,616 bytes)

76. Re: Slow access to files using UNC path (score: -1,256)
Author: HIDDEN
Date: Wed, 01 Sep 2004 15:27:02 +0200
I don't think you should use the term "remote" here, it already has a specific meaning in Emacs not matching the intended meaning here. It should be made clear that this predicate is not just the opp
/archive/html/emacs-devel/2004-09/msg00018.html (7,861 bytes)

77. Re: Slow access to files using UNC path (score: -1,267)
Author: HIDDEN
Date: Wed, 1 Sep 2004 18:45:36 +0530
I meant the function name is somewhat similar to what we want but not the behavior. IMO, ideally in Emacs, something-p (like symbolp or functionp..) is used to test the argument, along the same line,
/archive/html/emacs-devel/2004-09/msg00016.html (7,738 bytes)

78. Re: Slow access to files using UNC path (score: -1,272)
Author: HIDDEN
Date: Wed, 01 Sep 2004 14:13:46 +0200
A directory is also a file, so file-remote-p should work also on directories. But file-remote-p does actually test something different, namely if you need a special method to access a file. IIUC an U
/archive/html/emacs-devel/2004-09/msg00013.html (7,118 bytes)

79. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Wed, 1 Sep 2004 15:52:16 +0530
On Wed, 1 Sep 2004 15:20:03 +0530, Dhruva Krishnamurthy > I did some lookup into files.el, there is a function file-remote-p, I guess we should have a function dir-remote-p. This function can do a st
/archive/html/emacs-devel/2004-09/msg00012.html (7,225 bytes)

80. Re: Slow access to files using UNC path (score: -1,294)
Author: HIDDEN
Date: Wed, 1 Sep 2004 15:20:03 +0530
hello, Agreed. The whole chain started with my observation of very slow access to files under UNC when compared to XEmacs. In an earlier posting, I was told it was due to XEmacs using something like
/archive/html/emacs-devel/2004-09/msg00011.html (8,201 bytes)

81. Re: Slow access to files using UNC path (score: -1,256)
Author: HIDDEN
Date: Wed, 01 Sep 2004 08:42:47 +0200
That doesn't look right. If you want to ensure every backend sees the variable when needed, place it into vc-hooks.el (this is the always-loaded portion of VC). It needs to have a good doc string tho
/archive/html/emacs-devel/2004-09/msg00007.html (7,099 bytes)

82. Re: Slow access to files using UNC path (score: -1,339)
Author: HIDDEN
Date: Wed, 01 Sep 2004 15:31:35 +0900
What about the following patch: ** c:/home/kobayays/src/emacs/lisp/vc-mcvs.el~ Wed Sep 1 15:17:12 2004 -- c:/home/kobayays/src/emacs/lisp/vc-mcvs.el Wed Sep 1 15:04:40 2004 ** ** 118,123 ** -- 118,12
/archive/html/emacs-devel/2004-09/msg00006.html (7,797 bytes)

83. Re: Slow access to files using UNC path (score: -1,306)
Author: HIDDEN
Date: Wed, 1 Sep 2004 11:17:55 +0530
Hello, This is a modified patch (original patch from Mr.KOBAYASHI Yasuhiro) including Stefan Monnier's suggested regexp. I do not know where to add the defvar "vc-hostname-fs-path-re" (currently, I h
/archive/html/emacs-devel/2004-09/msg00005.html (6,507 bytes)

84. Re: Slow access to files using UNC path (score: -1,294)
Author: HIDDEN
Date: Mon, 30 Aug 2004 14:57:59 +0530
On Mon, 30 Aug 2004 10:32:16 +0200, "Andreas Schwab" <address@hidden> said: After applying the patch, I do a 'make bootstrap' and I get an error reporting "vc-hostname-fs-path-re" not found. It is be
/archive/html/emacs-devel/2004-08/msg00486.html (8,513 bytes)

85. Re: Slow access to files using UNC path (score: -1,283)
Author: HIDDEN
Date: Mon, 30 Aug 2004 10:32:16 +0200
Try this instead: (defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)") Andreas. -- Andreas Schwab, SuSE Labs, address@hidden SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
/archive/html/emacs-devel/2004-08/msg00485.html (7,981 bytes)

86. Re: Slow access to files using UNC path (score: -1,289)
Author: HIDDEN
Date: Mon, 30 Aug 2004 10:41:51 +0530
Hello, May be this was the regexp intended: (defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\)\\|/net/\\|/afs/") This works for me (tested for UNC only). I made a change to the patch to use the vari
/archive/html/emacs-devel/2004-08/msg00481.html (7,801 bytes)

87. Re: Slow access to files using UNC path (score: -1,261)
Author: HIDDEN
Date: Mon, 30 Aug 2004 10:16:27 +0530
When I use the above regexp in the earlier patch and try to open file: "//wolfdei/d/users/dhruva/_emacs", I get the following error: not: Invalid regexp: "Unmatched ( or \\(" I am not good in GNU Ema
/archive/html/emacs-devel/2004-08/msg00480.html (7,802 bytes)

88. Re: Slow access to files using UNC path (score: -1,261)
Author: HIDDEN
Date: 27 Aug 2004 09:19:03 -0400
The patch is basically "right", but only fixes one of the two (i.e. 2 of the 4) places. Also I think the problem is not limited to UNC paths, but might apply to any "global network filesystem" such
/archive/html/emacs-devel/2004-08/msg00435.html (7,042 bytes)

89. Re: Slow access to files using UNC path (score: -1,261)
Author: HIDDEN
Date: Fri, 27 Aug 2004 09:29:56 +0530
On Thu, 26 Aug 2004 16:52:47 -0400, "Richard Stallman" <address@hidden> said: I applied the patch sent by the author (Mr.KOBAYASHI Yasuhiro), did a 'make bootstrap', it did not work for me. I suspect
/archive/html/emacs-devel/2004-08/msg00421.html (7,518 bytes)

90. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Thu, 26 Aug 2004 16:52:47 -0400
Does any further change need to be installed in Emacs itself to get good results on this issue?
/archive/html/emacs-devel/2004-08/msg00407.html (6,270 bytes)

91. Re: Slow access to files using UNC path (score: -1,322)
Author: HIDDEN
Date: Thu, 26 Aug 2004 14:20:26 +0530
Wow! this works great. I am now able to see the behaviour I wanted to. Opening and saving are as fast as it would be with any local file. IMO, this patch _must_ get into GNU Emacs CVS soon so that al
/archive/html/emacs-devel/2004-08/msg00387.html (7,022 bytes)

92. Re: Slow access to files using UNC path (score: -1,311)
Author: HIDDEN
Date: Thu, 26 Aug 2004 16:10:50 +0900
'make bootstrap' is needed so that the patch effects the autoload section. find-file-hook is set vc-find-file-hook by default and finally vc-arch-registered or vc-mcvs-registered run. find-file-liter
/archive/html/emacs-devel/2004-08/msg00383.html (7,395 bytes)

93. Re: Slow access to files using UNC path (score: -1,270)
Author: HIDDEN
Date: Thu, 26 Aug 2004 10:06:07 +0530
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
/archive/html/emacs-devel/2004-08/msg00379.html (7,751 bytes)

94. Re: Slow access to files using UNC path (score: -1,265)
Author: HIDDEN
Date: Wed, 25 Aug 2004 18:44:08 +0900
Maybe I found out the reason why slow access occured. '(file-directory-p "//{arch}")' or '(file-directory-p "//MCVS/CVS")' is executed in vc-arch-registered or vc-mcvs-registered even though '{arch}'
/archive/html/emacs-devel/2004-08/msg00365.html (6,641 bytes)

95. Re: Slow access to files using UNC path (score: -1,255)
Author: HIDDEN
Date: Mon, 19 Jul 2004 21:09:55 +0200
To the best of my knowledge, "/\hostname/sharefolder/file" is also treated as a UNC. Windows canonicalizes the file names before it passes them to the filesystem-related system calls, and as part of
/archive/html/emacs-devel/2004-07/msg00497.html (6,899 bytes)

96. Re: Slow access to files using UNC path (score: -1,255)
Author: HIDDEN
Date: Mon, 19 Jul 2004 10:05:17 +0530
This will also match a combination (2 nos) of forward and/or backword slash which is not correct. It shouldeither be 2 forward slashes or 2 backword slashes. Ex: A valid UNC can be either "//hostname
/archive/html/emacs-devel/2004-07/msg00482.html (7,686 bytes)

97. Re: Slow access to files using UNC path (score: -1,249)
Author: HIDDEN
Date: Sun, 18 Jul 2004 21:41:13 +0200
/archive/html/emacs-devel/2004-07/msg00473.html (6,840 bytes)

98. Re: Slow access to files using UNC path (score: -1,283)
Author: HIDDEN
Date: Sun, 18 Jul 2004 15:34:53 +0530
Hello, On Sun, 18 Jul 2004 11:49:12 +0200, "Andreas Schwab" <address@hidden> said: This (adding extra backslashes) is the main reason for all confusion. I personally feel PERL regex is more cleaner.
/archive/html/emacs-devel/2004-07/msg00470.html (7,216 bytes)

99. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sun, 18 Jul 2004 11:53:44 +0200
Emacs regexps already have most of the features PERL regexps provide, only with a slightly different syntax (more like BREs instead of EREs, different set of special characters) Andreas. -- Andreas S
/archive/html/emacs-devel/2004-07/msg00469.html (6,934 bytes)

100. Re: Slow access to files using UNC path (score: -1,244)
Author: HIDDEN
Date: Sun, 18 Jul 2004 11:49:12 +0200
You're right. Still not enough backslashes: (string-match "^\\(//\\|\\\\\\\\\\)" file) Remember that there are two levels of quoting: regexp quoting and string quoting, each adding it's own batch of
/archive/html/emacs-devel/2004-07/msg00468.html (7,358 bytes)


This search system is powered by Namazu