unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Christoph <just.mychris@googlemail.com>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: Emacs front end mail-user-agent documentation and loading
Date: Sat, 2 Sep 2023 09:45:30 +0200	[thread overview]
Message-ID: <CAK9rt1p4keO8iV5NaWT5vF=nx=fAz-eC12KXG01AzbZtPxzajg@mail.gmail.com> (raw)
In-Reply-To: <8734zyn3ci.fsf@motzkin.cs.unb.ca>

> The "emacs tips" you refer to is a wiki [1], so feel free to update it.

I didn't notice that, thanks for pointing that out, I will add
something to it.

> I'm not familiar enough with use-package to comment on that.  I agree
> that notmuch could be better about autoloading things, but since I
> always load notmuch and rarely restart emacs, it hasn't been a priority
> for me personally.

`use-package' uses `eval-after-load' and `autoload' for lazy loading
packages.  It might be enough to have the `notmuch-user-agent' in its
own file, providing it as a separate feature?

That way, the `notmuch-user-agent' can be required without loading all
of notmuch and then autoloads could load the rest of notmuch when
needed?  Didn't test that, just a thought.  Maybe this doesn't work
because of the way the user-agent is used.

I will maybe play around with it when I find some time.

-- Christoph

      reply	other threads:[~2023-09-02  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-31 15:41 Emacs front end mail-user-agent documentation and loading Christoph
2023-09-01  0:29 ` David Bremner
2023-09-02  7:45   ` Christoph [this message]

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://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK9rt1p4keO8iV5NaWT5vF=nx=fAz-eC12KXG01AzbZtPxzajg@mail.gmail.com' \
    --to=just.mychris@googlemail.com \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).