From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Bug in Ange-FTP with renaming files Date: Sun, 06 Jul 2003 16:30:04 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84smpjsp77.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057501960 17272 80.91.224.249 (6 Jul 2003 14:32:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2003 14:32:40 +0000 (UTC) Cc: Marco Parrone Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jul 06 16:32:38 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 19ZAZC-0004UQ-00 for ; Sun, 06 Jul 2003 16:32:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19ZAic-0004ff-00 for ; Sun, 06 Jul 2003 16:42:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ZAXK-00070O-RI for emacs-devel@quimby.gnus.org; Sun, 06 Jul 2003 10:30:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19ZAWu-0006x7-6x for emacs-devel@gnu.org; Sun, 06 Jul 2003 10:30:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19ZAWr-0006ru-Ty for emacs-devel@gnu.org; Sun, 06 Jul 2003 10:30:15 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ZAWr-0006p9-Fk for emacs-devel@gnu.org; Sun, 06 Jul 2003 10:30:13 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ZAWC-0004Mx-00 for ; Sun, 06 Jul 2003 16:29:32 +0200 Mail-Followup-To: emacs-devel@gnu.org 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 19ZAWB-0004Mn-00 for ; Sun, 06 Jul 2003 16:29:31 +0200 Original-Lines: 32 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:gzATTopKPGGvlnehSntS3JARPBI= 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:15413 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15413 Marco has reported a Tramp bug, and I've now found out that this is really an Ange-FTP bug: it happens even when Tramp is disabled. Here is Marco's description how to make it happen: mkdir /tmp/foo-kai echo blabla > /tmp/kais-file emacs -q -no-site-file -nw C-x d /ftp:marco@localhost:/tmp [I insert the password] I move the point on kais-file. R /ftp:marco@localhost:/tmp/foo-kai I move the point on foo-kai. RET The point is on kais-file. R /ftp:marco@localhost:/tmp Ok, there is the error. Move `/ftp:marco@localhost:/tmp/foo-kai/kais-file' to `/ftp:marco@localhost:/tmp/kais-file' failed: (ftp-error FTP Error: DIR failed: 550 /tmp/kais-file: Not a directory.) It is important to move a file from a directory to its subdirectory, and then back again. Otherwise the bug does not happen. It is really strange. Actually, the *ftp* buffer shows that the rename command has completed successfully; the bug happens after this. I'm guessing it's the dired update that causes the problem, but I don't know how it comes about. I shall try to investigate further, but I thought it would be good to let you know -- more eyes find more bugs... -- ~/.signature