all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liu Hui <liuhui1610@gmail.com>
To: 66571@debbugs.gnu.org
Subject: bug#66571: 30.0.50; tramp-revert-buffer-with-sudo problem with files of same name
Date: Mon, 16 Oct 2023 11:25:27 +0800	[thread overview]
Message-ID: <CAOQTW-PoYCyhR_Zfo5vRXXMV_okVH9iD3A_i8ENfSGD9oe0rBQ@mail.gmail.com> (raw)

Hi,

I find tramp-revert-buffer-with-sudo doesn't revert buffer correctly
with files of same name:

1. emacs -Q -l tramp
2. open two files with same name, e.g. =/etc/group= and =/tmp/group=
3. M-x tramp-revert-buffer-with-sudo in =/etc/group= results in a empty
buffer =etc>=

Best,
--
Liu Hui





             reply	other threads:[~2023-10-16  3:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16  3:25 Liu Hui [this message]
2023-10-17  9:45 ` bug#66571: 30.0.50; tramp-revert-buffer-with-sudo problem with files of same name Michael Albinus
2023-10-18  1:58   ` Liu Hui
2023-10-18  5:04     ` 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=CAOQTW-PoYCyhR_Zfo5vRXXMV_okVH9iD3A_i8ENfSGD9oe0rBQ@mail.gmail.com \
    --to=liuhui1610@gmail.com \
    --cc=66571@debbugs.gnu.org \
    /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.