Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

dired でのファイルのコピー・リネームの際に、存在しないディレクトリを指定できない #44

Open
Kyure-A opened this issue Sep 3, 2023 · 3 comments
Labels

Comments

@Kyure-A
Copy link
Owner

Kyure-A commented Sep 3, 2023

~/a/b/ にある c をどうにか新しいディレクトリを作って移動したいときにどうにも不便でしゃあない find-file は新しいディレクトリの中に新しいディレクトリを作って...みたいなことができるゆえ、統一性もない
スクリーンショット 2023-09-04 014658
スクリーンショット 2023-09-04 014638

@Kyure-A Kyure-A added the Emacs label Sep 3, 2023
@Kyure-A
Copy link
Owner Author

Kyure-A commented Sep 3, 2023

https://keens.github.io/blog/2013/10/04/emacs-dired/
曰く、これらは cpmv をベタ打ちしているとのこと(ほんまか?)
挙動は実際同じような感じなので、ここらへんのコマンドを上書きしてやれば良さそう

@Kyure-A
Copy link
Owner Author

Kyure-A commented Sep 3, 2023

dired-mode において R を押すと dired-do-rename が、C を押すと dired-do-copy が実行されるらしい(まんますぎる)

@Kyure-A
Copy link
Owner Author

Kyure-A commented Sep 3, 2023

https://help-gnu-emacs.gnu.narkive.com/BawlUi0Y/creating-a-directory-target-for-dired-do-copy

俺が生まれる前ですらこの悩みは既出らしい

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant