[Top][All Lists]

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

Re: How to save custom variable programmatically?

From: Marcin Borkowski
Subject: Re: How to save custom variable programmatically?
Date: Tue, 10 Nov 2020 21:42:19 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2020-11-10, at 20:19, Jean Louis <> wrote:

> * Michael Heerdegen <> [2020-11-10 17:36]:
>> Jean Louis <> writes:
>> > If there is anyway of storing data from Emacs that is standard I do
>> > not know about it. Welcoming tips.
>> The eieio-persistent class is made for that purpose.
>> You make your data/database/whatever an object of a class you define as
>> you like, and make that class inherit from eieio-persistent.  Then your
>> data is savable out of the box.
>>   (info "(eieio) eieio-persistent")
>> Do you need an example?
> Thank you. If you have ready simplest example it may be useful for
> review.
> 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.

You might get inspired by an old post of mine here:


Marcin Borkowski

reply via email to

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