GNU bug report logs - #39020
Lean won't work with the emacs mode

Previous Next

Package: guix-patches;

Reported by: Arvid Marx <arvid.marx <at> logicandtypes.org>

Date: Tue, 7 Jan 2020 19:07:01 UTC

Severity: normal

Done: Brett Gilio <brettg <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Arvid Marx <arvid.marx <at> logicandtypes.org>
Cc: 39020 <at> debbugs.gnu.org
Subject: Re: [bug#39020] Lean won't work with the emacs mode
Date: Tue, 07 Jan 2020 16:39:33 -0500
Hello Arvid,

Arvid Marx <arvid.marx <at> logicandtypes.org> writes:

> The emacs mode for Lean (which doesn't appear to be packaged yet, but
> of course works via MELPA etc.) expects some sort of root directory for
> Lean, which is not given simply because binaries and other files are
> put into separate directories. This of course makes Lean impossible to
> use as intended. However, I'm not quite sure how this would be fixed in
> practice, as I'm not aware of any suitable directory hierarchy in such
> a case.
>
> Any ideas?

When writing the package definition for the Emacs Lead mode, the code
could be rewritten to refer to the absolute path of the files/programs
it uses from the Lean project, by patching it with `substitute*' uses,
for example.

If that is not easy to do, another idea would be to create some kind of
overlay directory which would flatly collect all the items needed then
refer to that (the items would be symlinked to their real location).
See the `union-build' procedure of the (guix build union) module of
Guix.

HTH!

Maxim




This bug report was last modified 5 years and 212 days ago.

Previous Next


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