Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ag-dired* does not copy a file if it contains space #149

Open
breadncup opened this issue Jul 7, 2018 · 1 comment
Open

ag-dired* does not copy a file if it contains space #149

breadncup opened this issue Jul 7, 2018 · 1 comment

Comments

@breadncup
Copy link

breadncup commented Jul 7, 2018

$ ag --version
ag version 2.1.0

Features:
+jit +lzma +zlib

Emacs version: GNU Emacs 26.1

I'm using: OSX

Step to reproduce:

  1. M-x ag-dired
  2. Move a cursor to a directory having a space ( e.g, '/Users/xx XX XX/a file.zip' )
  3. Type 'C' to copy and put the destination directory
  4. It fails to copy.

If you choose a directory which doesn't have a space, the copy works fine.

Looks ag-dired doesn't take care a path having a space.

@breadncup
Copy link
Author

Nevermind.

This happens when "gls" is used which has been installed via the macport's coreutils ( sudo port install coreutils )

(setq insert-directory-program "/opt/local/bin/gls")

This causes the issue. When I remove above and use the default /bin/ls, the issue is not seen.

Thanks,

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

No branches or pull requests

1 participant