From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: emacsclient: support `/' directory separator on w32 Date: Sat, 25 Nov 2006 14:33:31 +0100 Message-ID: References: <20061124054526.72239.qmail@web62511.mail.re1.yahoo.com> <45678B18.2010101@gnu.org> <456825EF.4000800@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164461648 30596 80.91.229.2 (25 Nov 2006 13:34:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 13:34:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 25 14:34:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GnxfH-0002sY-RI for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 14:33:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnxfH-0008QZ-Cq for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 08:33:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gnxev-0008O1-6h for emacs-devel@gnu.org; Sat, 25 Nov 2006 08:33:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gnxeu-0008Na-Fu for emacs-devel@gnu.org; Sat, 25 Nov 2006 08:33:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnxeu-0008NV-5J for emacs-devel@gnu.org; Sat, 25 Nov 2006 08:33:32 -0500 Original-Received: from [64.233.166.183] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gnxeu-0006aG-6a for emacs-devel@gnu.org; Sat, 25 Nov 2006 08:33:32 -0500 Original-Received: by py-out-1112.google.com with SMTP id u77so716838pyb for ; Sat, 25 Nov 2006 05:33:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HLITRsW5bQQwRaUITWC0c+bOPbl39LumgzO5FiCzX4GGimh6op+ka5RDVb+MIZNuan0/ET95emJZbwwltR2LAcQFwlz+xQuZhW4vYEAyTIT2MHgQGM5FYp086Ybj60WJ1G/Cf27S+oLv2IdXUufnJyjV0bmrFdYUZHKbjcMol3Q= Original-Received: by 10.35.76.9 with SMTP id d9mr8290294pyl.1164461611454; Sat, 25 Nov 2006 05:33:31 -0800 (PST) Original-Received: by 10.35.95.18 with HTTP; Sat, 25 Nov 2006 05:33:31 -0800 (PST) Original-To: emacs-devel@gnu.org In-Reply-To: <456825EF.4000800@gnu.org> Content-Disposition: inline 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:62793 Archived-At: On 11/25/06, Jason Rumney wrote: > I'm 99% sure it can only be A-Z. But isalpha() covers a much larger > range of characters anyway, and it certainly can't be punctuation or > numeric characters. This is a bit of a moot point. Deciding whether the name is absolute or relative in emacsclient just changes whether we add the current directory path or not. But when doing C:\default\path> emacsclient 3:\foo.bar whether Emacs receives "C:\default\path\3:\foo.bar", or "3:\foo.bar" is largely irrelevant, because they're invalid paths. anyway. If anything, it's better to accept "X:\foo.bar" as absolute for uncommon values of X, in case the user is running some weird network software which allows non-letter drive names. /L/e/k/t/u