[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New package: resist!
From: |
Stefan Monnier |
Subject: |
Re: New package: resist! |
Date: |
Fri, 10 Dec 2021 14:53:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> I’m thinking the “package” as an extension to Elisp language itself,
> so I didn’t have package prefix in mind. Thus the name like
> `compact-kv-store`.
IMO, *very* few things deserve to be in the "global" namespace beside
`setq`, `lambda`, ...
> Maybe the file should be named `persistence.el`?
I don't have an opinion on the name, as long as you pick one and use it
for both the filename and all the definitions therein ;-)
>> Why not start them lazily when the data is changed (e.g. within
>> `kv--ensure-transaction`)?
> Sure, that will work, thanks.
If you do that, then you can even use a timer that's not repeated, and
instead just make sure subsequent changes will re-start the timer.
Stefan
- Re: New package: resist!, (continued)
- Re: New package: resist!, Alexandre Garreau, 2021/12/11
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Michael Heerdegen, 2021/12/12
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Dmitry Gutov, 2021/12/10
- Re: New package: resist!,
Stefan Monnier <=
- RE: [External] : Re: New package: resist!, Drew Adams, 2021/12/10
Re: New package: resist!, Stefan Kangas, 2021/12/09