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 23:44:10 +0000 Message-ID: <47C2014A.4090702@gnu.org> References: <877igvl4dn.fsf@stupidchicken.com> <47C180F9.2060901@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203896677 11549 80.91.229.12 (24 Feb 2008 23:44:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2008 23:44:37 +0000 (UTC) Cc: cyd@stupidchicken.com, eliz@gnu.org, Stefan Monnier , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 00:45:02 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 1JTQWi-0000Bc-0D for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 00:45:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTQWC-0004TL-7D for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 18:44:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTQW8-0004TG-LA for emacs-devel@gnu.org; Sun, 24 Feb 2008 18:44:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTQW6-0004Sr-NN for emacs-devel@gnu.org; Sun, 24 Feb 2008 18:44:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTQW6-0004So-Hn for emacs-devel@gnu.org; Sun, 24 Feb 2008 18:44:22 -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 1JTQVz-0006oY-I4; Sun, 24 Feb 2008 18:44:15 -0500 Original-X-Trace: 47644307/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: AgAAAGCQwUdTQxds/2dsb2JhbAAIqXs 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 23:44:13 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: 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:90311 Archived-At: Richard Stallman wrote: > That's indeed what we should do. If and when we ever get support for > filesystem-knowledge in the code, we may revisit this choice, but for > now, please someone change the code that auto-generates those filenames > to avoid characters known to be problematic. Or better yet: to only > use those chars expected to be always work. > > I think that changing from # to something else is a drastic change, > # is not the problem, at least for vfat and ntfs filesystems. The problem that was reported was with the *s in #*scratch*#12345xyz#. If we limit the change to non-file buffers (which seems reasonable, since the default is to save the auto-save file in the same directory as the file, and if there are invalid characters in the name of a newly created buffer, the user will need to fix it before they can save anyway), then there is already an escape mechanism in place to deal with / and \ characters. Extending that to also deal with other characters does not seem too drastic.