control character file names

Noah admin2 at
Mon Dec 15 05:59:10 PST 2008

Hi there,

Giorgos Keramidas wrote:
> On Sun, 14 Dec 2008 19:52:01 -0800, Noah <admin2 at> 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.

thanks I placed that setq option in my .emacs and that works for 
renaming files and directories containing control character.  I am 
unable to rename a directory that has nine '?'.

What setq modification will allow emacs to change those type filenames?



More information about the freebsd-questions mailing list