[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mutating existing persistent data
From: |
Ihor Radchenko |
Subject: |
Re: Mutating existing persistent data |
Date: |
Tue, 07 Dec 2021 11:33:02 +0800 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> (setf (sticky-value foo) 'bar)
Before you go too far into specific implementation, could you also
consider buffer-local persistent values or even generalised key:value
storage?
Org mode uses its own take on persistent storage to cache parsed
representation of individual buffers [1]. Our persistent values have to
be associated with specific files/buffer hashes. It's not just storage
of one global variable-symbol:value pair, but rather a generalised
key:value pair with key constructed from the variable symbol and also
file name + buffer hash.
[1]
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-persist.el
Best,
Ihor
- Re: Mutating existing persistent data, (continued)
- Re: Mutating existing persistent data, tomas, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, tomas, 2021/12/07
- Re: Mutating existing persistent data, Andreas Schwab, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data,
Ihor Radchenko <=
- Re: Mutating existing persistent data, Eli Zaretskii, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Eli Zaretskii, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Stefan Kangas, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Bob Rogers, 2021/12/07
- Re: Mutating existing persistent data, Joost Kremers, 2021/12/07
- Re: Mutating existing persistent data, Joost Kremers, 2021/12/07
- Re: Mutating existing persistent data, Richard Stallman, 2021/12/08