help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Persistence of variables


From: Marcin Borkowski
Subject: Re: Persistence of variables
Date: Wed, 21 Mar 2018 10:51:23 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-03-21, at 10:27, tomas@tuxteam.de wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Mar 21, 2018 at 10:13:11AM +0100, Marcin Borkowski wrote:
>>
>> On 2018-03-21, at 08:25, Marcin Borkowski <mbork@mbork.pl> wrote:
>
> [...]
>
>> Any thoughts/suggestions?
>
> Only one: I'd tend to stay clear from the init file and write to some
> other specialized file which is included from there (a bit like what
> customize does by separating its stuff into custom.el).
>
> Ideally, like customize, the user could choose her ways by setting
> a variable (in the customize-example, it's custom-file).
>
> More modularity, less risk.

In general, this is a good point.

But in my use-case, I will have one user besides me (it's a tool for our
in-house workflow), and I wouldn't care about it too much.

If I turn this into a Melpa package (or even a blog post), I would of
course follow your suggestion.  (The drawback is that the user would
have to (once) insert something manually into init.el.)

BTW, is there any demand for such a micro-package?

Thanks,

--
Marcin Borkowski
http://mbork.pl



reply via email to

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