pspp-dev
[Top][All Lists]
Advanced

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

Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting


From: Dmitry Alexandrov
Subject: Re: [ELPA] New package: pspp-mode.el for PSPP/SPSS syntax highlighting
Date: Mon, 06 Jul 2020 08:53:33 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Sean Whitton <spwhitton@spwhitton.name> 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; -*-

Attachment: signature.asc
Description: PGP signature


reply via email to

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