From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Recent change to file-chase-links has a bug Date: Wed, 09 Apr 2003 15:26:57 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E949021.6080803@yahoo.com> References: <200304090710.QAA15874@etlken.m17n.org> <84wui393wr.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1049924611 20232 80.91.224.249 (9 Apr 2003 21:43:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2003 21:43:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 09 23:43:29 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193NLt-0005Fz-00 for ; Wed, 09 Apr 2003 23:43:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 193NQY-0007Tz-00 for ; Wed, 09 Apr 2003 23:48:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193NL5-0001Tz-05 for emacs-devel@quimby.gnus.org; Wed, 09 Apr 2003 17:42:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193NKd-00013S-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 17:42:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193NKU-0000Tv-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 17:42:04 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193NKD-0008NC-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 17:41:45 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 193NIo-00053l-00 for ; Wed, 09 Apr 2003 23:40:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 193N5I-00043f-00 for ; Wed, 09 Apr 2003 23:26:20 +0200 Original-Lines: 24 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13088 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13088 Kai Großjohann wrote: > Kenichi Handa writes: >>Now the code is as below: >> >>(defun file-chase-links (filename &optional limit) >> "Chase links in FILENAME until a name that is not a link. >>Unlike `file-truename', this does not check whether a parent >>directory name is a symbolic link. >>If the optional argument LIMIT is a number, >>it means chase no more than that many links and then stop." >> (let (tem (newname filename) >> (count 0) >> (max (max limit 100))) > > Wild guess: Richard meant (or limit 100) instead of (max limit 100). That seems like an awfully conservative default. How about bumping it up to 1024? -- Kevin Rodgers