From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: emacs.exe --load FILE and current directory on w32 Date: Sat, 04 Jun 2005 23:58:24 +0200 Message-ID: <42A22400.6090101@student.lu.se> References: <42A09A56.3060705@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117922500 15460 80.91.229.2 (4 Jun 2005 22:01:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2005 22:01:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 05 00:01:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Deggu-0005Zn-Hk for ged-emacs-devel@m.gmane.org; Sun, 05 Jun 2005 00:00:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Degmt-0005zS-ET for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2005 18:06:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DegmQ-0005sV-E4 for emacs-devel@gnu.org; Sat, 04 Jun 2005 18:06:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DegmN-0005rB-Lm for emacs-devel@gnu.org; Sat, 04 Jun 2005 18:06:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DegmN-0005pg-A5 for emacs-devel@gnu.org; Sat, 04 Jun 2005 18:06:07 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Degj5-0004r5-TA; Sat, 04 Jun 2005 18:02:44 -0400 Original-Received: from [127.0.0.1] (83.249.202.162) by pne-smtpout2-sn1.fre.skanova.net (7.2.059.6) id 42930AA90029B56F; Sat, 4 Jun 2005 23:59:52 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: X-Antivirus: avast! (VPS 0522-14, 2005-06-04), Outbound message X-Antivirus-Status: Clean 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:38127 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38127 Richard Stallman wrote: > Info says that the startup argujment load looks in the current directory > for the file to load. That does not seem to be correct, at least not on w32. > >Would you please provide a complete test case? > Yes, of course. *** If we have loadme.el: (message "I am loaded, thank you!") ********************** This works: emacs.exe -batch -no-site-file -q somefile.txt -l loadme.el I am loaded, thank you! However when somefile.txt is in another directory then it fails: emacs.exe -batch -no-site-file -q ..\somefile.txt -l loadme.el Cannot open load file: loadme.el