emacs-devel
[Top][All Lists]
Advanced

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

RE: Regarding outline headings in emacs-lisp libraries


From: Drew Adams
Subject: RE: Regarding outline headings in emacs-lisp libraries
Date: Sun, 19 Jul 2020 15:36:22 +0000 (UTC)

> > Now that `orglink.el' exists, maybe I'll switch to
> > using that, who knows?  But it does require loading
> > Org - and dash.el, which is pretty heavyweight for
> > just what it offers, no?
> 
> Org is indeed a heavy dependency.
> 
> Unless in cases where it has some big benefit I am slowly moving away
> from dash in my packages.  This seems to be one of the cases where I
> should do that.  Dash is only used once!

Commendable!

> You need Org >= 9.3 as specified in the Package-Requires.

Got it.

Is the dependency on Org really necessary?
Seems pretty heavyweight for just the features
that orglink.el provides (which is similar to
what linkd.el provides).

I can understand, for example, having orglink.el
do more, i.e., optionally, if Org is loaded, but
is a hard-require really needed for the basic
behavior?  Maybe consider conditionalizing some
behavior on (featurep 'org)?

(Just a naive suggestion, without looking at the code.)



reply via email to

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