Next: Conversion, Previous: JSON object keys, Up: Back-Ends [Contents]
The dummy back-end is a very simple implementation of the API for standoff mode back-ends. We recommend using the JSON file back-end, because with the dummy implementation, you can easily loose data. Annotations are stored in memory, bot in a buffer visiting a file. So when you quit Emacs, everything is lost, unless you dumped it before quitting. So do not forget the following command:
(u) (‘Stand-Off->Dump to file (SAVE)’) Save the annotations
as s-expressions in a Emacs lisp file. You will be prompted for a
FILENAME. It defaults to the file name of the source document, plus the
suffix .dump.el
, since that’s the name of the file that is
automatically loaded on activation.
Load annotations from a Emacs lisp file with dumped annotations. You
will be prompted for a FILENAME. It defaults to the file name of the
source document, plus the suffix .dump.el
.
Configuration options for the dummy backend:
Pointer to the function (actually the function symbol) for creating ids
used in the dummy backend. Defaults to
'standoff-util/create-uuid
, which creates a universally unique id.
Whether or not to log time and user meta data when creating markup. You
can keep out big brother by setting this to nil
. Defaults to
t
.