control character file names

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Dec 15 04:00:03 PST 2008


On Sun, 14 Dec 2008 19:52:01 -0800, Noah <admin2 at enabled.com> wrote:
>>
>>   *   Use a file manager.
>>
>>       I often use `dired-mode' inside an Emacs session to move around,
>>       copy, re-organize, rename or delete files.  Any file manager that
>>       can display several character sets at once will do fine :)
>
> Hey there Giorgos,
>
> I'd love to use emacs but I go into 'dired-mode' and I try to rename the
> ^M' directory and receive an error from emacs.  The error claims
> "file-error Renaming no such file or directory /mnt/mybook-music/^M
> /mnt/mybook-music/Music2
>
> What do I do?

If you have customized `dired-listing-switches' try reverting it to a
simpler set of options, like:

    (setq-default dired-listing-switches "-lFa")

The -b and -B options tend to confuse dired about what the *real*
filename is, and may trigger this sort of error.



More information about the freebsd-questions mailing list