From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 13:59:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF5D71065670 for ; Mon, 15 Dec 2008 13:59:10 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 993488FC12 for ; Mon, 15 Dec 2008 13:59:10 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.8.177] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.3/8.14.3) with ESMTP id mBFDx74A019808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Dec 2008 05:59:07 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <494662A6.3050001@enabled.com> Date: Mon, 15 Dec 2008 05:59:02 -0800 From: Noah User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Giorgos Keramidas References: <4945BF22.7030606@enabled.com> <8763lm189r.fsf@kobe.laptop> <4945D461.7070406@enabled.com> <873agpptkn.fsf@kobe.laptop> In-Reply-To: <873agpptkn.fsf@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: control character file names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 13:59:10 -0000 Hi there, Giorgos Keramidas wrote: > On Sun, 14 Dec 2008 19:52:01 -0800, Noah 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