GNU bug report logs - #20968
25.0.50; Be able to specify the output directory for `byte-compile-file'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 2 Jul 2015 21:06:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 20968 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 20968 <at> debbugs.gnu.org
Subject: Re: bug#20968: 25.0.50;
 Be able to specify the output directory for `byte-compile-file'
Date: Fri, 03 Jul 2015 13:27:53 -0400
Glenn Morris wrote:

> Stefan Monnier wrote:
>
>> The case I know of where the .elc and .el are not next to each other is
>> to place the byte-compiled files in a directory specific to the Emacs
>> version used to compile.  This is used in Debian so as to be able to
>> have Elisp packages and byte-compiled for many different
>> (X)Emacs versions.
>
> I had a vague memory that this caused Some Issues, but I don't remember
> any details.

The obvious one is whether .el is newer than .elc.
I also thought it was something to do with the documentation lookup.

In fact on my Debian system, looks like they use symlinks to link the
source .el into the directory with the version-specific .elc. Probably
to avoid those very problems that come from separating the .el and .elc.

But hey, patches welcome if someone wants to address this long-standed,
complicated issue.




This bug report was last modified 9 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.