[Top][All Lists]

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

Re: How to save custom variable programmatically?

From: Michael Heerdegen
Subject: Re: How to save custom variable programmatically?
Date: Tue, 10 Nov 2020 21:43:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <> writes:

> My strategy is to minimize number of packages used as dependencies so
> I try to use what is built in or to re-use what is inside of Emacs.

Eieio is part of Emacs.  The Gnus registry is saved using

This class is relatively new and was a bit buggy in the past, though.
In new Emacs versions it works reliably AFAICT.

> Personally I am using PostgreSQL. Then I just define the table
> definition and that may be similar to eieio.

Might also be interesting.

The Eieio approach has the advantage that (an) Emacs Lisp (object) is
saved as (an) Emacs Lisp (expression).  It is slow, however.


reply via email to

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