From 34b45c3e2bc87984cd7b60ad0680c3b092960585 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 8 Jul 2022 01:33:47 +0530 Subject: issues: Request Emacs interface. * issues/emacs-interface.gmi: New file. --- issues/emacs-interface.gmi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 issues/emacs-interface.gmi (limited to 'issues') diff --git a/issues/emacs-interface.gmi b/issues/emacs-interface.gmi new file mode 100644 index 0000000..a1dec07 --- /dev/null +++ b/issues/emacs-interface.gmi @@ -0,0 +1,19 @@ +# Emacs interface + +* tags: enhancement, help wanted + +We have a web and CLI interfaces. It would be nice to also have an Emacs interface. We can use the current CLI interface with Emacs' shell mode, but the less pager does not play too well with it. + +## Interfacing Emacs with tissue + +To interface tissue with Emacs, we could take inspiration from the --format=sexp option of notmuch search. When notmuch search is passed a --format=sexp option, it prints out results as machine-readable S-expressions instead of as plain text. This makes the output easy to read using elisp's read function. +=> https://notmuch.readthedocs.io/en/latest/man1/notmuch-search.html notmuch search documentation + +## UI + +The Emacs UI should probably use something like Tabulated List mode. Bonface also had some ideas for using transient. +=> https://www.gnu.org/software/emacs/manual/html_node/elisp/Tabulated-List-Mode.html Tabulated List mode in the Emacs Lisp manual +=> https://github.com/magit/transient transient +=> https://issues.genenetwork.org/issues/gnbug/add-transient.html Bonface's original proposal on issues.genenetwork.org + +It would be very cool to have inifinite scroll and asynchronous loading of issues in the Emacs interface. On the other hand, if it is too complicated to achieve, it might not be worth it. -- cgit v1.2.3