I've got a file containing an emacs s-expression and I want to pretty print it from the command line: Is there an easy way of doing this? Paranoia suggests I want to do as little parsing of this data as possible
Context (stack exchange loves context...): I'm doing some processing or org file data externally in a python process. I'm pushing out s-expressions and parsing them in python (with
sexpdata) because this is easier than munging stuff into json in emacs.
I'm considering coding up my own parser, or using sexpdata to parse it, or trying to use
emacsclient -exec or similar.