Re: Purpose of jde-autoloads

Stephen Leake <[email protected]> Sat, 15 Aug 2015 12:46:20 -0500
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
[email protected] (Phillip Lord) writes:

> Przemysław Wojnowski <[email protected]> writes:
>
>> W dniu 13.08.2015 o 00:07, Phillip Lord pisze:
>>> If jdee becomes ELPA packaged (when it needs to be), jde-autoloads.el is
>>> generated client side at install side anyway.
>> I didn't know that.
>>
>> What I don't know either is how to make Cask to create jde-autoloads,
>
> It doesn't. It shouldn't. package.el does that.

For the ELPA distrubution, yes.

But for the development version, we need something to build
jde-autoloads.el, so we can compile and test without going thru ELPA
installation.

>> to make it available during compilation (although only jde.el has
>> (require 'jde-autoload), which IMHO can be removed, because user is
>> requiring JDE anyway).
>
> Oh. So, it does. Well, that's broken, and yes, it should be removed.

It's there to be compatible with the current development build, and
with the current install advice of "just add (require 'jde) to your
.emacs".

I agree it should be removed, if a compatible change is made in the
development build system and install instructions.

>> Another thing is how to make Cask compile elisp files with specified load-path.
>> Cask has an issue for this (https://github.com/cask/cask/issues/275) and there
>> is a branch with "load-path" option, but nothing happens since January.
>> In Ant we can do that easily.
>
> This gets back to the general vision for how JDEE should look. The only
> reason we have the project structure we do at the moment, it to support
> a single build. I think we need two builds with a runtime dependency
> between them, then we move the elisp files to top level.
>
> This is the elisp standard, and the tools will support this as, er,
> standard.

Changing the project layout to meet some tool's notion of "proper
layout" seems backwards to me.

-- 
-- Stephe

------------------------------------------------------------------------------
_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel