From: Kai Gro?j. <ka...@us...> - 2002-06-04 16:11:46
|
Update of /cvsroot/tramp/tramp/lisp In directory usw-pr-cvs1:/tmp/cvs-serv29251/tramp/lisp Modified Files: ChangeLog tramp.el Log Message: (tramp-handle-file-truename): Decrease limit on chasing symlinks to provide earlier error message in case of failure. People might think that Emacs is hanging. Index: ChangeLog =================================================================== RCS file: /cvsroot/tramp/tramp/lisp/ChangeLog,v retrieving revision 2.102 retrieving revision 2.103 diff -C2 -d -r2.102 -r2.103 *** ChangeLog 4 Jun 2002 12:52:19 -0000 2.102 --- ChangeLog 4 Jun 2002 16:11:41 -0000 2.103 *************** *** 2,5 **** --- 2,8 ---- * tramp.el (tramp-methods): Allow nil where strings are allowed. + (tramp-handle-file-truename): Decrease limit on chasing symlinks + to provide earlier error message in case of failure. People might + think that Emacs is hanging. 2002-05-22 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> Index: tramp.el =================================================================== RCS file: /cvsroot/tramp/tramp/lisp/tramp.el,v retrieving revision 2.102 retrieving revision 2.103 diff -C2 -d -r2.102 -r2.103 *** tramp.el 4 Jun 2002 12:52:19 -0000 2.102 --- tramp.el 4 Jun 2002 16:11:41 -0000 2.103 *************** *** 1437,1442 **** (thisstep nil) (numchase 0) ! (numchase-limit 100) ! (result nil) ;result steps in reverse order (curstri "") symlink-target) --- 1437,1446 ---- (thisstep nil) (numchase 0) ! ;; Don't make the following value larger than necessary. ! ;; People expect an error message in a timely fashion when ! ;; something is wrong; otherwise they might think that Emacs ! ;; is hung. Of course, correctness has to come first. ! (numchase-limit 30) ! (result nil) ;result steps in reverse order (curstri "") symlink-target) |