From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Jeffrey Spencer <jeffspencerd@gmail.com>
Cc: 34610@debbugs.gnu.org
Subject: bug#34610: 27.0.50; wdired gets rename file and directory errors when using gls and -F or --classify switch
Date: Sat, 27 Apr 2019 00:58:36 +0100 [thread overview]
Message-ID: <87d0l8pbdf.fsf@tcd.ie> (raw)
In-Reply-To: <CALmFPZ1vkLy1SpNgvOKK1RFP-QsEn_8yqCpH3Xrixe17mpONdw@mail.gmail.com> (Jeffrey Spencer's message of "Fri, 22 Feb 2019 07:31:03 +0900")
Jeffrey Spencer <jeffspencerd@gmail.com> writes:
> This is the only setup besides -Q default:
> (setq insert-directory-program "gls" dired-use-ls-dired t)
> (setq dired-listing-switches "-a --classify -lGhHA --group-directories-first")
> "-a --classify -lGhHA --group-directories-first"
>
> Renaming directories doesn't work right due to the --classify (-F)
> switches using gls on Mac. Also, probably has problems with
> executables due to adding '*' to the end of the file name but I didn't
> check. I had to right an advice around wdired-change-mode to remove
> the switches and then re-add the -F --classify.
>
> Here is the errors with just a simple truing to add a character to any directory:
>
> Rename ‘/Users/Me/Downloads/youtube/test/k’ to ‘/Users/Me/Downloads/youtube/test/k/’ failed:
> (file-error Renaming Invalid argument /Users/Me/Downloads/youtube/test/k /Users/Me/Downloads/youtube/test/k/k)
> Rename ‘/Users/Me/Downloads/youtube/test/kdkd’ to ‘/Users/Me/Downloads/youtube/test/kdkd/’ failed:
> (file-error Renaming Invalid argument /Users/Me/Downloads/youtube/test/kdkd /Users/Me/Downloads/youtube/test/kdkd/kdkd)
> Rename ‘/Users/Me/Downloads/youtube/test/l’ to ‘/Users/Me/Downloads/youtube/test/l/’ failed:
> (file-error Renaming Invalid argument /Users/Me/Downloads/youtube/test/l /Users/Me/Downloads/youtube/test/l/l)
> Rename ‘/Users/Me/Downloads/youtube/test/kdkd/kdk’ to ‘/Users/Me/Downloads/youtube/test/kdkd/kdk/’ failed:
> (file-error Renaming Invalid argument /Users/Me/Downloads/youtube/test/kdkd/kdk /Users/Me/Downloads/youtube/test/kdkd/kdk/kdk)
>
> 4 rename actions failed
This sounds similar to bug#34915[1], whose fix was recently pushed to
master[2]. Can you please check whether that also fixes your issue? If
so, I will merge the two reports as duplicate.
[1]: https://debbugs.gnu.org/34915
[2: 6d8e0fc5aa]: Make wdired-mode ignore ls file indicators
2019-04-25 19:17:23 +0200
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6d8e0fc5aa7673540486af9ecbfc0a3e23c305cf
Thanks,
--
Basil
next prev parent reply other threads:[~2019-04-26 23:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-21 22:31 bug#34610: 27.0.50; wdired gets rename file and directory errors when using gls and -F or --classify switch Jeffrey Spencer
2019-04-26 23:58 ` Basil L. Contovounesios [this message]
2019-05-30 12:12 ` Basil L. Contovounesios
[not found] ` <CALmFPZ2LYLo_t81NOvyLndiL8WC87VMQ46naGzNHjOKHrugjZA@mail.gmail.com>
2019-05-30 13:02 ` Basil L. Contovounesios
2019-05-30 17:40 ` Jeffrey Spencer
2019-08-24 0:52 ` Stefan Kangas
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=87d0l8pbdf.fsf@tcd.ie \
--to=contovob@tcd.ie \
--cc=34610@debbugs.gnu.org \
--cc=jeffspencerd@gmail.com \
/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.