Re: Notmuch common lisp frontend for Lem

Subject: Re: Notmuch common lisp frontend for Lem

Date: Fri, 01 Sep 2023 21:30:23 -0700

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Timmy Douglas


David Bremner <bremner@unb.ca> writes:

> For what it is worth (not too much I suspect) the Emacs front end does
> not call the notmuch library API, but rather invokes the CLI, which
> generates s-exp output. Presumably lem could do the same.

Thanks. I noticed this and started with the sexp format, but then moved
to json. I noticed escape sequences like "\n" not being handled as
newlines by the lisp reader, not to mention I was a little weary of
using the common lisp reader to parse the output.

the cli has made it pretty easy to throw something together:

$ wc -l *.lisp
  41 backend.lisp
  49 notmuch-hello.lisp
  18 notmuch.lisp
  51 notmuch-search.lisp
  65 notmuch-show.lisp
  16 package.lisp

https://github.com/lem-project/lem/pull/1048/files
https://timmydouglas.com/assets/notmuch-cl-sample.mkv
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: