emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#9311: closed (23.3.50; Can't load some byte-comp


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#9311: closed (23.3.50; Can't load some byte-compiled files on Windows)
Date: Wed, 17 Aug 2011 08:59:02 +0000

Your message dated Wed, 17 Aug 2011 11:55:22 +0300
with message-id <address@hidden>
and subject line Re: bug#9311: 23.3.50; Can't load some byte-compiled files on 
Windows
has caused the GNU bug report #9311,
regarding 23.3.50; Can't load some byte-compiled files on Windows
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9311: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9311
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.3.50; Can't load some byte-compiled files on Windows Date: Wed, 17 Aug 2011 09:24:43 +0900 User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/23.3.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO)
I wrote c:/test.el as below and byte-compiled it.

(defun test ()
  (let ((l 1))
    (dotimes (i 100)
      nil)))

When I load it by load function with absolute path as below, I can't
load it and below message is displayed.  But it doesn't raise error.

(load "c:/test")
-> End of file during parsing: c:/test.elc

It doesn't occur with relative path from home directory or Linux
environment.  I confirmed it occurs with Windows environment and
absolute path, and it depends on the content of .el file (i.e. not all
.elc files can't be read).  It also occurs with pre-compiled binary
(*1).

(*1) http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-23.3-bin-i386.zip

-- 
Kazuhiro Ito



--- End Message ---
--- Begin Message --- Subject: Re: bug#9311: 23.3.50; Can't load some byte-compiled files on Windows Date: Wed, 17 Aug 2011 11:55:22 +0300
> Date: Wed, 17 Aug 2011 09:24:43 +0900
> From: Kazuhiro Ito <address@hidden>
> 
> I wrote c:/test.el as below and byte-compiled it.
> 
> (defun test ()
>   (let ((l 1))
>     (dotimes (i 100)
>       nil)))
> 
> When I load it by load function with absolute path as below, I can't
> load it and below message is displayed.  But it doesn't raise error.
> 
> (load "c:/test")
> -> End of file during parsing: c:/test.elc

This happens because Emacs thinks this file is remote.  It is almost a
duplicate of bug#5303, except that 5303 talked about files without an
extension, while this one is specific to .elc files.

I fixed this in revision 105479 on the trunk, by handling the DOS_NT
specific situation where `openp' returns -2, but there's no `load'
handler for the file.


--- End Message ---

reply via email to

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