From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Manuel Uberti Newsgroups: gmane.emacs.bugs Subject: bug#20662: 25.0.50; Remote copy through Dired fails Date: Wed, 27 May 2015 15:11:25 +0200 Message-ID: <5565C27D.6080500@inventati.org> References: <55649C03.7090507@inventati.org> <87d21mjuav.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1432732049 3485 80.91.229.3 (27 May 2015 13:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 13:07:29 +0000 (UTC) Cc: 20662@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 27 15:07:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yxb3C-0000wZ-B5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 15:07:14 +0200 Original-Received: from localhost ([::1]:53895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxb3B-0006Fg-GG for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 09:07:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxb35-0006En-0a for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 09:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxb31-0004P5-91 for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 09:07:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxb30-0004Ob-MM for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 09:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yxb30-0007m0-9E for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Uberti Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 May 2015 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20662 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20662-submit@debbugs.gnu.org id=B20662.143273199629847 (code B ref 20662); Wed, 27 May 2015 13:07:02 +0000 Original-Received: (at 20662) by debbugs.gnu.org; 27 May 2015 13:06:36 +0000 Original-Received: from localhost ([127.0.0.1]:58034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxb2W-0007lH-BM for submit@debbugs.gnu.org; Wed, 27 May 2015 09:06:36 -0400 Original-Received: from latitanza.investici.org ([82.94.249.234]:20484) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxb2Q-0007l4-Kd for 20662@debbugs.gnu.org; Wed, 27 May 2015 09:06:30 -0400 Original-Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id C6F4C121644; Wed, 27 May 2015 13:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1432731985; bh=5Mb4VtrYQg94Y53Tojyq5DBQTDyMor039FIJshsNFNA=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Hr8GgPKRwjwoSUJAWzJCpXam81JcVg5MX0gcauYSp5qLESNo+g3/R+QWb/BQAAybu 3N0Ky9IliVYUyMJXZeMK5a8HOuyDf7BA8Jph5Dq5WWhUowQfxNCow9feOw7MowSZFI m7qDd/ZksL4qBPc6W0kEIDFwnaMfiSFT6jr0X39I= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <87d21mjuav.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103208 Archived-At: On 27/05/15 10:31, Michael Albinus wrote: > Manuel Uberti writes: > >> Hello, > > Hi Manuel, > >> Every time I try to copy from remote to local I get this error: >> >> file-error Setting current directory No such file or directory >> >> This is happening only when I'm copying a file in some nested directory >> on the remote machine. For instance, if I try to copy >> /home/admin/bin/foo to my local directory, it works. But if I try to >> copy /home/admin/bin/foo/bar I get the above mentioned error. >> >> Some extra info: >> >> - with emacs -Q copying files from remote to local works; >> - with emacs -q I get the same error; >> - copying from local to remote works every time; >> - I am using Emacs 25.0.50.1 (build: 45c92dd) on Debian unstable; >> - I listed (through C-h m) the active minor modes both with my init.el >> and with emacs -Q right before starting to copy the remote file: >> they are the same. >> >> After some debugging, I nailed down the issue to this line of >> dired-copy-file-recursive: >> >> (copy-file from to ok-flag preserve-time) > > Honestly, I'm not able to reproduce your problem with the given > description. Could you, please, give a recipe how to see it? > > Obviously, the recipe shall start with "emacs -Q". But as you are saying > it works then, I will need also a minimal init.el and/or .emacs from > your config, which triggers the error. > >> Kind regards, >> Manuel Uberti > > Best regards Michael. > Hi Michael, thanks for the prompt answer. What I usually do is open two Dired panels. On top I have my local directory, and in the bottom panel the remote one. I set dired-dwim-target to t in my config so the target for the operation is always the other panel. Then I basically press C on the file I want to copy. That's it, really, it doesn't get much complex than that. My configuration is here: https://github.com/manuel-uberti/.emacs.d All that is related to Dired, in particular, is in lisp/custom-files.el If you need me to do some other tests, please feel free to ask. Thanks again Manuel Uberti