unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Mark "notmuch-tree" command for autoloading
@ 2024-03-26 23:47 Dmitry Bogatov
  2024-04-04 11:22 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Bogatov @ 2024-03-26 23:47 UTC (permalink / raw)
  To: notmuch; +Cc: kaction

Some people (e.g: me) prefer to read their email with threaded
representation by default.

Without this commit, I have to run "notmuch-search" (autoloaded)
first to get "notmuch-tree" loaded.
---
 emacs/notmuch-tree.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 7fa403fc..718a3879 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -1195,6 +1195,7 @@ default sort order is defined by `notmuch-search-oldest-first'."
   (setq notmuch-search-oldest-first (not notmuch-search-oldest-first))
   (notmuch-tree-refresh-view))
 
+;;;###autoload
 (defun notmuch-tree (&optional query query-context target buffer-name
 			       open-target unthreaded parent-buffer oldest-first)
   "Display threads matching QUERY in tree view.
-- 
2.42.0

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

* Re: [PATCH] emacs: Mark "notmuch-tree" command for autoloading
  2024-03-26 23:47 [PATCH] emacs: Mark "notmuch-tree" command for autoloading Dmitry Bogatov
@ 2024-04-04 11:22 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2024-04-04 11:22 UTC (permalink / raw)
  To: Dmitry Bogatov, notmuch; +Cc: kaction

Dmitry Bogatov <kaction@disroot.org> writes:

> Some people (e.g: me) prefer to read their email with threaded
> representation by default.
>

Applied to master.

d

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

end of thread, other threads:[~2024-04-04 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 23:47 [PATCH] emacs: Mark "notmuch-tree" command for autoloading Dmitry Bogatov
2024-04-04 11:22 ` David Bremner

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).