unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch common lisp frontend for Lem
@ 2023-08-27  1:00 Timmy Douglas
  2023-08-31 13:10 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: Timmy Douglas @ 2023-08-27  1:00 UTC (permalink / raw)
  To: notmuch


I've started playing around with an emacs-like text editor/IDE written
in common lisp called Lem (https://github.com/lem-project/lem). Does
anyone know if anyone has created a notmuch frontend in common lisp?

I was thinking about doing it as a project in my free time and thought
I'd post here if anyone had any advice before I get started. I also
created an issue on the Lem side to track:
https://github.com/lem-project/lem/issues/997

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Notmuch common lisp frontend for Lem
  2023-08-27  1:00 Notmuch common lisp frontend for Lem Timmy Douglas
@ 2023-08-31 13:10 ` David Bremner
  2023-09-02  4:30   ` Timmy Douglas
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2023-08-31 13:10 UTC (permalink / raw)
  To: notmuch@notmuchmail.org

Timmy Douglas <mail@timmydouglas.com> writes:

> I've started playing around with an emacs-like text editor/IDE written
> in common lisp called Lem (https://github.com/lem-project/lem). Does
> anyone know if anyone has created a notmuch frontend in common lisp?

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.

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Notmuch common lisp frontend for Lem
  2023-08-31 13:10 ` David Bremner
@ 2023-09-02  4:30   ` Timmy Douglas
  0 siblings, 0 replies; 3+ messages in thread
From: Timmy Douglas @ 2023-09-02  4:30 UTC (permalink / raw)
  To: David Bremner, notmuch@notmuchmail.org

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-02  4:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27  1:00 Notmuch common lisp frontend for Lem Timmy Douglas
2023-08-31 13:10 ` David Bremner
2023-09-02  4:30   ` Timmy Douglas

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).