Date: Mon, 15 Dec 2008 05:59:02 -0800 From: Noah <admin2@enabled.com> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-questions@freebsd.org Subject: Re: control character file names Message-ID: <494662A6.3050001@enabled.com> In-Reply-To: <873agpptkn.fsf@kobe.laptop> References: <4945BF22.7030606@enabled.com> <8763lm189r.fsf@kobe.laptop> <4945D461.7070406@enabled.com> <873agpptkn.fsf@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there, Giorgos Keramidas wrote: > On Sun, 14 Dec 2008 19:52:01 -0800, Noah <admin2@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. 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? Cheers, Noah
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494662A6.3050001>