all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 47625@debbugs.gnu.org
Cc: Michael Albinus <michael.albinus@gmx.de>
Subject: bug#47625: 28.0.50; dired-do-symlink creates invalid symlinks when using Tramp
Date: Thu, 06 May 2021 12:06:59 +0200	[thread overview]
Message-ID: <87pmy4xjjw.fsf@gnus.org> (raw)
In-Reply-To: <m24kgjp364.fsf@fastmail.fm> (Filipp Gunbin's message of "Tue, 06 Apr 2021 23:29:39 +0300")

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> emacs -Q
> open dired at /sudo::/tmp/
> M-! touch foo
> S (dired-do-symlink) on foo, enter /tmp/bar (without tramp prefix) at
> the prompt
> g (refresh dired)
>
> The result is "bar -> /sudo:root@fgunbin.local:/tmp/foo", which is
> an invalid symlink.

I can reproduce this bug in Emacs 28, but I haven't tried to debug it.
Perhaps it's obvious what's going wrong to somebody who knows how Tramp
works; Michael added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-05-06 10:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 20:29 bug#47625: 28.0.50; dired-do-symlink creates invalid symlinks when using Tramp Filipp Gunbin
2021-05-06 10:06 ` Lars Ingebrigtsen [this message]
2021-05-06 11:15   ` Michael Albinus
2021-05-06 15:26     ` Filipp Gunbin

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=87pmy4xjjw.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=47625@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.