Norbert Preining <prein...@logic.at> writes:

[Apologies for taking so long to respond.]

> I would like to ask for your help concerning bug #686113. It is somehow
> strange that the byte compile doe snot work.
>
> I reduced it to the following minimal example:
>       ; from the path.el generatd in the emacsen install script
>       (setq load-path (cons "." load-path))
>       (setq byte-compile-warnings nil)
>       ;
>       ; the next two lines are in the org-mu4.el file that do not compile
>       ; this line works
>       (require 'org nil 'noerror)
>       ; this line breaks
>       (require 'org-exp nil 'noerror)

What's pwd (the current directory) when the byte-compile command is
executed, and what's in that directory (or more specifically, are there
any org* files in that directory)?

> In principle when the mu4e .el files are compiled, what happens is
>       emacs24 -no-site-file -q -batch -l path.el -f batch-byte-compile ...
> wher path.el contains the first two code lines.

Would it be easy to create a trivial tarfile that reproduces the
problem?

> Now the above example always breaks with
>       In toplevel form:
>       bla.el:9:9:Error: Can't find library org

Since the require has 'noerror, I'd guess that this has to be coming
from elsewhere, or do I misunderstand the situation?

> where line 9 is the line with (require 'org-exp nil 'noerror)
> but only if emacs24-el is *not* installed. As soon as I install 
> emacs24-el, all is fine.

Well, Debian's Emacs is a little different in that it separates the .el
and .elc files, but that shouldn't matter unless someone is doing
something untoward with the load-path.

Also note that the recently uploaded emacs 2.0.5 fixes some non-trivial
problems with load-path, though I don't know if they're relevant to your
situation.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to