emacs-devel
[Top][All Lists]
Advanced

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

Re: Mutating existing persistent data


From: Lars Ingebrigtsen
Subject: Re: Mutating existing persistent data
Date: Tue, 07 Dec 2021 06:25:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> Reader macros are one of the features of Common Lisp that are highly
> prone to abuse.  They also make the meaning of simple programs confusing
> to the human eye.
>
> It would be a shame for a basic feature of Emacs Lisp to use such a
> facility.

I'm just saying we could have gone even more magical.  Generalised
variables, on the other hand, are pretty vanilla.

> Personally, I never saw the benefit of generalized variables in Emacs
> Lisp.  I think it would be more practical to stick with the tried and
> true method of set and get pairs.

Well, I disagree.

> What if Emacs isn't built with sqlite3 support?  Is there a fall back in
> place for that situation?

Yes, it just stores the data in the object, and nothing happens on disk.
(The same happens when you start emacs with -Q, natch.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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