From: Manuel Uberti <manuel.uberti@inventati.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 20662@debbugs.gnu.org
Subject: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Wed, 27 May 2015 15:11:25 +0200 [thread overview]
Message-ID: <5565C27D.6080500@inventati.org> (raw)
In-Reply-To: <87d21mjuav.fsf@gmx.de>
On 27/05/15 10:31, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti@inventati.org> 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
<manuel.uberti@inventati.org>
next prev parent reply other threads:[~2015-05-27 13:11 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 16:14 bug#20662: 25.0.50; Remote copy through Dired fails Manuel Uberti
2015-05-27 8:31 ` Michael Albinus
2015-05-27 13:11 ` Manuel Uberti [this message]
2015-05-27 17:57 ` Michael Albinus
2015-05-27 19:02 ` Manuel Uberti
2015-05-28 10:12 ` Michael Albinus
2015-05-28 12:39 ` Manuel Uberti
2015-05-28 13:16 ` Michael Albinus
2015-05-28 14:08 ` Manuel Uberti
2015-05-28 15:10 ` Michael Albinus
2015-05-28 15:23 ` Manuel Uberti
2015-05-28 15:56 ` Michael Albinus
2015-05-28 16:09 ` Manuel Uberti
2015-05-28 18:42 ` Michael Albinus
2015-05-29 13:18 ` Manuel Uberti
2015-05-29 13:22 ` Manuel Uberti
2015-05-29 17:51 ` Michael Albinus
2015-05-30 6:58 ` Manuel Uberti
2015-05-30 8:19 ` Michael Albinus
2015-05-30 8:31 ` Manuel Uberti
2015-05-30 8:38 ` Michael Albinus
2015-05-30 8:50 ` Manuel Uberti
2015-05-30 9:03 ` Michael Albinus
2015-05-30 9:35 ` Manuel Uberti
2015-05-30 10:00 ` Michael Albinus
[not found] ` <55699025.5080504@inventati.org>
2015-05-30 10:40 ` Michael Albinus
2015-05-30 15:00 ` Manuel Uberti
2015-05-30 17:39 ` Michael Albinus
2015-06-01 13:01 ` Manuel Uberti
2015-06-01 13:44 ` Michael Albinus
2015-05-28 14:21 ` Manuel Uberti
2015-05-28 16:00 ` bug#20662: Status: " Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5565C27D.6080500@inventati.org \
--to=manuel.uberti@inventati.org \
--cc=20662@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.