Re: notmuch-mode snippet: auto-select "inbox" widget when launching

Subject: Re: notmuch-mode snippet: auto-select "inbox" widget when launching

Date: Mon, 02 Aug 2021 07:08:21 -0300

To: Christian Tietze,


From: David Bremner

Christian Tietze <> writes:

> The existing hooks are kinda wonky for this,
> though. `notmuch-hello-mode-hook` is executed too early, before
> widgets are available to move the point to, for example. And adding an
> advice around notmuch-hello doesn't help because that's executed for
> every refresh, it seems.

Did you try notmuch-hello-refresh-hook? Maybe set a varible in
notmuch-hello-mode-hook to say "new invocation" and do the jump in

> Do you have any suggestions? I don't want to propose a patch that
> changes when the hook is executed because I don't know why the hook
> runs before the widgets are available.

Some "not really solution" ideas:

- you can remove notmuch-hello-insert-header from
  notmuch-hello-sections, which means less tabbing

- by default there are key-sequences starting with j that jump to each
  configured saved-search
notmuch mailing list --
To unsubscribe send an email to