From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Paths with spaces/shell mode Date: Wed, 18 Sep 2002 12:32:50 -0600 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D88C6D2.9020201@ihs.com> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1032374818 16264 127.0.0.1 (18 Sep 2002 18:46:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2002 18:46:58 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17rjqi-0004E3-00 for ; Wed, 18 Sep 2002 20:46:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17rjr2-0008TF-00; Wed, 18 Sep 2002 14:47:16 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1032373962 4448237 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: nntp.stanford.edu gnu.emacs.help:105042 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1596 Douglas Lewan wrote: > Hi, > > I'm currently using the Emacs 20.7 operating system on RedHat Linux 7.2 > BIOS with SAMBA mounted file systems from a remote virus. > > On the SAMBA file systems it is culturally common to have spaces in file > names and, while those are valid Linux file names, shell-mode ceases to > grok paths with spaces in them no matter how I quote or escape things. > > Is there a reasonable way to overcome that [without hacking, e.g. > (shell-directory-tracker)]? What happens if you add SPC to comint-file-name-chars? (If you try it interactively do it in the *Shell* buffer, if you try it programmatically do it in shell-mode-hook, since it's a buffer local variable.) -- Kevin Rodgers