Sean Whitton <[email protected]> wrote: > On Sun 05 Jul 2020 at 08:35PM +02, John Darrington wrote: >> Sure. But from a user's perspective I don't see the advantage in that. I >> mean what is the difference between typing "apt-get install pspp-mode" and >> "M-x package-install 'pspp-mode" ? > > From the perspective of those of us working on packaging Emacs addons in > Debian, significant advantages are > > 1) the way addons work doesn't change within a Debian stable release, > just like Emacs itself doesn't change within a Debian stable release > > 2) addons get installed using Debian's mechanisms for a secure software > supply chain, rather than relying on https alone.
3) they are automatically available to #!/usr/bin/emacs --script scripts; and
pollute stderr at every run:
$ ./hello.el
Loading /etc/emacs/site-start.d/00debian.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50dictem.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
(source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
(source)...
Loading /etc/emacs/site-start.d/50global.el (source)...
Loading /etc/emacs/site-start.d/50mu4e.el (source)...
Hello, Debian!
stimulating a user to learn nice tricks that allow to pass more than single
argument to interpreter in order to get rid of them:
#!/bin/sh
":"; exec emacs --no-site-file --no-site-lisp --script "$0" -- "$@" #
-*- mode: emacs-lisp; lexical-binding: t; -*-
signature.asc
Description: PGP signature
