From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: On DOS/Windows, unnecessary load of tramp by `file-relative-name' Date: Thu, 24 Apr 2003 16:12:28 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84of2wvvar.fsf@lucy.is.informatik.uni-duisburg.de> References: <21141901.1051181645426.JavaMail.www@wwinf0602> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051193820 18198 80.91.224.249 (24 Apr 2003 14:17:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2003 14:17:00 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 24 16:16:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 198hWw-0004ic-00 for ; Thu, 24 Apr 2003 16:16:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 198hdC-0004hn-00 for ; Thu, 24 Apr 2003 16:23:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 198hX2-0005FB-05 for emacs-devel@quimby.gnus.org; Thu, 24 Apr 2003 10:17:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 198hWT-00050X-00 for emacs-devel@gnu.org; Thu, 24 Apr 2003 10:16:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 198hWB-0004nr-00 for emacs-devel@gnu.org; Thu, 24 Apr 2003 10:16:07 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 198hW3-0004dM-00 for emacs-devel@gnu.org; Thu, 24 Apr 2003 10:16:00 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 198hUz-0004WI-00 for ; Thu, 24 Apr 2003 16:14:53 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 198hTy-0004OF-00 for ; Thu, 24 Apr 2003 16:13:50 +0200 Original-Lines: 13 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:XtglX7VDsJ7GyFyOXYfBenpdsyY= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13426 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13426 David PONCE writes: > ! (unless (eq (aref filename 0) ?/) > (setq filename (concat "/" filename))) > Maybe is there a better way to fix that? > What do you think? Instead of using (eq (aref filename 0) ?/), how about using (file-name-absolute-p filename)? Does that work? -- file-error; Data: (Opening input file no such file or directory ~/.signature)