From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ludwig, Mark" Newsgroups: gmane.emacs.help Subject: RE: OS independent way to specify location of .emacs.d directory Date: Fri, 5 Apr 2013 13:33:09 +0000 Message-ID: References: <878v4yt3q4.fsf@gavenkoa.example.com> <83ehepfrfz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365278697 30441 80.91.229.3 (6 Apr 2013 20:04:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 20:04:57 +0000 (UTC) To: Eli Zaretskii , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 06 22:04:57 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOZJo-0001Uu-FM for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Apr 2013 22:02:32 +0200 Original-Received: from localhost ([::1]:37408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6lx-0002sP-P8 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 09:33:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6la-0002ac-9b for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 09:33:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO6lV-0001mV-8L for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 09:33:18 -0400 Original-Received: from usslmhub002.ugs.com ([134.244.32.85]:50219 helo=ugs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6lV-0001l5-0w for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 09:33:13 -0400 Original-Received: from USSLMMBX002.net.plm.eds.com (161.134.138.62) by USSLMHUB002.net.plm.eds.com (134.244.32.85) with Microsoft SMTP Server (TLS) id 14.2.318.1; Fri, 5 Apr 2013 08:33:09 -0500 Original-Received: from USSLMMBX003.net.plm.eds.com ([169.254.2.119]) by USSLMMBX002.net.plm.eds.com ([169.254.1.185]) with mapi id 14.02.0318.001; Fri, 5 Apr 2013 08:33:09 -0500 Thread-Topic: OS independent way to specify location of .emacs.d directory Thread-Index: AQHOMXbRdOdS5hBoHkuwAYyt9fEUZJjGi18AgADrDwCAACZ4kA== In-Reply-To: <83ehepfrfz.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.122.224.53] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 134.244.32.85 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90027 Archived-At: > From: Eli Zaretskii > Sent: Friday, April 05, 2013 1:00 AM >=20 > > From: "Ludwig, Mark" > > Date: Thu, 4 Apr 2013 21:04:25 +0000 > > > > You can even use forward slashes as file path arguments to some > > external commands in command shells. You can never use them in interna= l > commands. >=20 > Not entirely true, the last sentence. Many commands internal to cmd.exe = will > accept file names with forward slashes, especially if they are quoted. E= .g., 'cd' > accepts them even without quotes. Thanks for pointing to this. I know I've had problems before with CD, and = it's apparently improved in later releases. For example, in Windows 7, for= ward slashes appear to work consistently. =20 In WinXP, for another example, it has some subtlety. (It appears that lead= ing slashes can sometimes be forward, and quoting doesn't seem to help.) H= ere's a transcript from WinXP: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=20 D:\>cd /scratch D:\Scratch>cd /scratch The system cannot find the path specified. D:\Scratch>cd / D:\Scratch>cd \ D:\>cd /scratch/mrl D:\Scratch\mrl>cd /scratch/mrl The system cannot find the path specified. D:\Scratch\mrl>cd \scratch/mrl D:\Scratch\mrl>cd \ D:\>cd scratch/mrl D:\Scratch\mrl>cd .. D:\Scratch>cd ./mrl D:\Scratch\mrl>cd "/scratch/mrl" The system cannot find the path specified. D:\Scratch\mrl> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Cheers, Mark