unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: JeppeTh--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51357@debbugs.gnu.org
Subject: bug#51357: 26.3; Recursively copy a directory into a destination where directory already exists no longer works
Date: Mon, 25 Oct 2021 11:58:03 +0200	[thread overview]
Message-ID: <84wnm1zas4.fsf@JTSERVER.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <84r1cby7qb.fsf@JTSERVER.i-did-not-set--mail-host-address--so-tickle-me>


Not sure if you missunderstood. This is kind of what I want to achieve
Linux:
> cd /some/directory
> cp -rf sub_directory /tmp/
Make some changes inside sub_directory - and then copy to /tmp again
> cp -rf sub_directory /tmp/

Emacs:
M-x find-file RET /some/directory RET
Move cursor to  sub_directory
'C' and then /tmp/ RET
Will work in case /tmp/sub_directory doesn't exist.
Then press 'C' again and /tmp/ RET
Will now fail. 
Fails in emacs 27 as well.
Haven't tried emacs 25 - but works in 24.5







  parent reply	other threads:[~2021-10-25  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23 17:24 bug#51357: 26.3; Recursively copy a directory into a destination where directory already exists no longer works JeppeTh--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-23 18:11 ` Eli Zaretskii
2021-10-24 18:03 ` Lars Ingebrigtsen
2021-10-25  9:58 ` JeppeTh--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-10-25 13:45   ` Lars Ingebrigtsen
2021-10-25 15:56 ` JeppeTh--- via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84wnm1zas4.fsf@JTSERVER.i-did-not-set--mail-host-address--so-tickle-me \
    --to=bug-gnu-emacs@gnu.org \
    --cc=51357@debbugs.gnu.org \
    --cc=JeppeTh@users.noreply.github.com \
    --cc=larsi@gnus.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).