From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: [gmane.emacs.bugs] Emacs fails to start properly if the current working directory is on a vfat or ntfs filesystem Date: Sun, 24 Feb 2008 16:01:31 +0000 Message-ID: <47C194DB.4070206@gnu.org> References: <877igvl4dn.fsf@stupidchicken.com> <47C180F9.2060901@gnu.org> <87r6f2cqap.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203868917 22534 80.91.229.12 (24 Feb 2008 16:01:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2008 16:01:57 +0000 (UTC) Cc: Chong Yidong , Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 24 17:02:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTJIy-0000KO-A1 for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 17:02:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTJIS-0005q2-Mt for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 11:01:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTJIP-0005px-Fj for emacs-devel@gnu.org; Sun, 24 Feb 2008 11:01:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTJIN-0005pl-4R for emacs-devel@gnu.org; Sun, 24 Feb 2008 11:01:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTJIM-0005pi-UO for emacs-devel@gnu.org; Sun, 24 Feb 2008 11:01:42 -0500 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTJIF-0000SQ-Ed; Sun, 24 Feb 2008 11:01:35 -0500 Original-X-Trace: 47460585/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAE4jwUdTQxds/2dsb2JhbAAIqXE X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Feb 2008 16:01:34 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <87r6f2cqap.fsf@catnip.gol.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90244 Archived-At: Miles Bader wrote: > Isn't that sort of dangerous? If Emacs only uses characters which are > _garanteed_ to work on any no matter how stupid, that would seem to > dramatically increase the chances of a clash with a real filename... > autosave files and backup files already have that possibility, but noone has worried about it in the past. By avoiding *?<>|" and control characters, we slightly reduce the possibilities for file names, but I don't think the chance of a clash realistically increases that much, as long as we use some unusual characters like # and/or ~ and append the process id or whatever the number is we're appending. Even on filesystems that support them, those characters can be problematic for naive users who forget to quote them, so avoiding them is a good idea in general.