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

Bug#828154: RFP: spacemacs -- Emacs configuration to get best of Emacs and Vim



Hi,

recently I rewrote a bit my ugly spacemacs_pkg script [spacemacs_pkg] to
get a list of Spacemacs packages and mark those that are maintained by
Debian Emacsen team in Debian as done. Switched to parsing use-package
declarations, which made it possible to get a list of packages not just
in Spacemacs [spacemacs], but also in Doom Emacs [doomemacs]. Also,
added some jinja2 templating, so now it outputs an HTML rather then DSV
(as was required for the team's old wiki). You may look at the output at
my page [my-page].

[spacemacs_pkg] https://salsa.debian.org/dogsleg/spacemacs-pkgs

[spacemacs] https://github.com/syl20bnr/spacemacs

[doomemacs] https://github.com/hlissner/doom-emacs

[my-page] https://pimentola.ru/spacemacs/

Later I'll switch to marking as done those packages that have elpa-
prefix, so statistics will be a bit better (say, agda2-mode is marked as
todo because it is maintained not by the Debian Emacsen team). But I
first need to find a better way to get a list of packages in unstable,
which will not require changing /etc/apt/source.list and will be able to
work automatically.

Unfortunately, Spacemacs and Doom Emacs use use-package declarations
also for loading built-in packages. Currently, I'm not quite sure what
is the best way of excluding the built-in packages from the output of
spacemacs_pkgs. Probably, fetching GNU Emacs source code and getting all
the filenames in its lisp directory. So, need to figure out what to do.

After resolving these difficulties I plan to automatically run the
script on one of my server machines, so we'll have a more of less
up-to-date todo list concerning packaging Spacemacs and Doom Emacs.
Honestly, I don't think it's a good idea to package them as whole, but
such a list still can be used as a source of interesting packages which
may be added to Debian.

If you have any suggestions, please let me know. Comments and patches
are welcome.

Cheers!
Lev


Reply to: