help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble loading files in batch mode


From: htbest2000
Subject: Re: Trouble loading files in batch mode
Date: Wed, 26 Nov 2008 18:20:49 -0800 (PST)
User-agent: G2/1.0

Try ntemacs: http://ntemacs.sourceforge.net/

~/ means not your Emacs program folder but not your personal HOME
folder(for mswinNT always be C:/Document and setting/yourname), but it
is weird in your computer "/d/home/hello.el ", are you compiling the
emacs source code under msys by yourself?

On Nov 26, 8:38 pm, Davin Pearson <davin.pear...@gmail.com> wrote:
> On Nov 27, 10:10 am, Bernardo Bacic <bernardo.ba...@pobox.com> wrote:
>
>
>
> > it was a dark and stormy night when Davin Pearson said,
>
> > > When I run the following command:
>
> > > emacs --batch -l ~/hello.el
>
> > > Emacs complains like so:
>
> > > Cannot open load file: /d/home/hello.el
>
> > > But when I run the following command:
>
> > > emacs --batch -l hello.el
>
> > > it works fine.   please note that in both cases the file hello.el
> > > exists so Emacs should be able to find it.   Here is the version
> > > information:
>
> > > In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
> > >  of 2008-03-27 on RELEASE
> > > Windowing system distributor `Microsoft Corp.', version 5.1.2600
> > > configured using `configure --with-gcc (3.4)'
>
> > are you by any chance launching a Windows build of Emacs from a cygwin 
> > shell?
>
> No I don't think so.
>
> Here is what clicking on the Properties menu button of my Emacs icon
> shows:
>
> Target: "D:\Program Files\emacs-22.2\bin\runemacs.exe"
> Start In: "D:\Program Files\emacs-22.2\bin"
>
> I have worked out a work around for this bug.  The file hello.el which
> I can load from the current directory can hold code that loads from ~/
> here.el.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]