From: Kyle Meyer <kyle@kyleam.com> To: piem@inbox.kyleam.com Subject: [PATCH 00/18] Initial lei support Date: Sat, 5 Jun 2021 17:13:44 -0400 [thread overview] Message-ID: <20210605211402.20304-1-kyle@kyleam.com> (raw) public-inbox's upcoming lei (local email interface) opens up a lot of possibilities for integration with Emacs. This series is focused on adding basic commands to browse search results. Here's an example sequence of commands: * `M-x piem-lei-query' <search terms> There's no keybinding in piem-dispatch yet because the plan is to add a transient with some lei-q arguments. * RET (piem-lei-query-show) or SPC (piem-lei-query-show-or-scroll-up) to see a result. * t (piem-lei-query-thread) to see an overview of the message's thread. lei supports both local and remote operations, but the changes here are assuming that the messages are available locally. Using remote externals should work (lightly tested), but it involves network activity that could be avoided if the commands were written with remote operations in mind. I'm still not sure how the interface will settle, so I'm using that as an excuse for holding off on starting the documentation. [ 1/18] lei: Add command and mode for displaying a message [ 2/18] piem-lei-show: Let caller suppress displaying buffer [ 3/18] piem-lei-show: Highlight headers and quoted text [ 4/18] lei: Add command and mode for displaying overview of search results [ 5/18] lei query: Add piem-lei-show wrapper for displaying line's message [ 6/18] lei: Add command for viewing a thread [ 7/18] lei query: Fontify results [ 8/18] piem-lei-query-thread: Position point on seed message [ 9/18] piem-lei-query-thread: Drop repeated subjects [10/18] piem-lei-query-thread: Deal with multiple "re:"s [11/18] piem-lei-query-thread: Omit main part of subject if shared [12/18] piem-lei-query-thread: Add bug#NNN special case when eliding subject [13/18] lei query: Add next/previous line variants that update message buffer [14/18] piem-lei-show: Record message ID [15/18] lei query: Add commands for showing or scrolling message buffer [16/18] lei: Configure bindings for query and show modes [17/18] lei: Wire up piem.el hooks [18/18] piem-lei-query-thread: Use piem-lei-get-mid to get message ID Makefile | 6 +- piem-lei.el | 612 ++++++++++++++++++++++++++++++++++++++++ tests/piem-lei-tests.el | 120 ++++++++ tests/piem-tests.el | 1 + 4 files changed, 737 insertions(+), 2 deletions(-) create mode 100644 piem-lei.el create mode 100644 tests/piem-lei-tests.el base-commit: 5bc055a18ee987cd950f948830e9eef8855fd41b -- 2.31.1
next reply other threads:[~2021-06-05 21:14 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-05 21:13 Kyle Meyer [this message] 2021-06-05 21:13 ` [PATCH 01/18] lei: Add command and mode for displaying a message Kyle Meyer 2021-06-05 21:13 ` [PATCH 02/18] piem-lei-show: Let caller suppress displaying buffer Kyle Meyer 2021-06-05 21:13 ` [PATCH 03/18] piem-lei-show: Highlight headers and quoted text Kyle Meyer 2021-06-05 21:13 ` [PATCH 04/18] lei: Add command and mode for displaying overview of search results Kyle Meyer 2021-06-05 21:13 ` [PATCH 05/18] lei query: Add piem-lei-show wrapper for displaying line's message Kyle Meyer 2021-06-05 21:13 ` [PATCH 06/18] lei: Add command for viewing a thread Kyle Meyer 2021-06-05 21:13 ` [PATCH 07/18] lei query: Fontify results Kyle Meyer 2021-06-05 21:13 ` [PATCH 08/18] piem-lei-query-thread: Position point on seed message Kyle Meyer 2021-06-05 21:13 ` [PATCH 09/18] piem-lei-query-thread: Drop repeated subjects Kyle Meyer 2021-06-05 21:13 ` [PATCH 10/18] piem-lei-query-thread: Deal with multiple "re:"s Kyle Meyer 2021-06-05 21:13 ` [PATCH 11/18] piem-lei-query-thread: Omit main part of subject if shared Kyle Meyer 2021-06-05 21:13 ` [PATCH 12/18] piem-lei-query-thread: Add bug#NNN special case when eliding subject Kyle Meyer 2021-06-05 21:13 ` [PATCH 13/18] lei query: Add next/previous line variants that update message buffer Kyle Meyer 2021-06-05 21:13 ` [PATCH 14/18] piem-lei-show: Record message ID Kyle Meyer 2021-06-05 21:13 ` [PATCH 15/18] lei query: Add commands for showing or scrolling message buffer Kyle Meyer 2021-06-05 21:14 ` [PATCH 16/18] lei: Configure bindings for query and show modes Kyle Meyer 2021-06-05 21:14 ` [PATCH 17/18] lei: Wire up piem.el hooks Kyle Meyer 2021-06-05 21:14 ` [PATCH 18/18] piem-lei-query-thread: Use piem-lei-get-mid to get message ID Kyle Meyer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://git.kyleam.com/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210605211402.20304-1-kyle@kyleam.com \ --to=kyle@kyleam.com \ --cc=piem@inbox.kyleam.com \ --subject='Re: [PATCH 00/18] Initial lei support' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.kyleam.com/piem/ 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).