unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "artur.brzozowski" <artur.brzozowski@protonmail.com>
To: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>
Subject: Defer notmuch.el setup
Date: Thu, 02 Jun 2022 19:01:55 +0000	[thread overview]
Message-ID: <Qx4qAepefLWYLVQFzkDcxEZVMJU5gWeugmkV3-DIbcNvFaocVDYQs0kvTvFhV_YaFSxDEVMAvST5smw9UAIAVlSa5xgj49MQGk81okql_4A=@protonmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 599 bytes --]

Hi.

I am trying out notmuch and notmuch.el as an Emacs user. When adding some
funcitonality to Emacs, I usually wrap its setup inside a (with-eval-after-load)
block to defer it for when it is needed. I noticed that in case of notmuch.el,
some settings are not properly set if included in in the macro - here I mean a
quite important option 'notmuch-search-oldest-first' which I set to nil. When
included inside the (with-eval-after-load) body it remains unchanged. Of course
italso makes me wonder if any other variable acts in this way and needs to be
set at Emacs runtime.

Is that a bug?

~Artur

[-- Attachment #1.2: Type: text/html, Size: 1128 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2022-06-02 19:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02 19:01 artur.brzozowski [this message]
2022-06-02 22:10 ` Defer notmuch.el setup David Bremner
2022-06-03 10:14   ` Dan Čermák
2022-06-03 12:00     ` David Bremner
2022-06-03 12:57   ` David Bremner

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='Qx4qAepefLWYLVQFzkDcxEZVMJU5gWeugmkV3-DIbcNvFaocVDYQs0kvTvFhV_YaFSxDEVMAvST5smw9UAIAVlSa5xgj49MQGk81okql_4A=@protonmail.com' \
    --to=artur.brzozowski@protonmail.com \
    --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).