From: Gregor Zattler <telegraph@gmx.net>
To: notmuch@notmuchmail.org
Subject: Re: [bug] Invalid function: notmuch-user-agent (was: notmuch release 0.33 now available)
Date: Mon, 06 Sep 2021 19:10:26 +0200 [thread overview]
Message-ID: <87zgsppr3x.fsf@no.workgroup> (raw)
In-Reply-To: <87eea1r65c.fsf@tethera.net>
Hi David,
* David Bremner <david@tethera.net> [2021-09-06; 10:00]:
> Gregor Zattler <telegraph@gmx.net> writes:
>> I therefore tried to change `mail-user-agent' via the customization
>> interface (clicking the radio button "Other:" and providing
>> "notmuch-user-agent" as value) but then I got an error
>> message:
>>
>> custom-variable-mark-to-save: Saving mail-user-agent: Invalid function: notmuch-user-agent
>>
>
> This seems like a bug in the defcustom for mail-user-agent (i.e. a bug
> in emacs).
> I think you will find that
>
> (setq mail-user-agent 'notmuch-user-agent)
thanks, I will use this.
> works. My reading of the documentation (and either my reading or the
> docs could be wrong) is that the symbol for a mail-user-agent need not
> be a function. Quoting the docstring for define-mail-user-agent
>
> SYMBOL can be any Lisp symbol. Its function definition and/or
> value as a variable do not matter for this usage; we use only certain
> properties on its property list, to encode the rest of the arguments.
>
> Other user agents, e.g. 'gnus-user-agent, 'message-user-agent, and
> 'sendmail-user-agent do not seem to have function definition. On the
> other hand, it is a bit surprising that no-one noticed a problem with
> "Other" mail-user-agent values before now.
Actually this is a bit above my lisp knowledge. Do you
think your explanation suffices for a bug report against emacs?
Ciao; Gregor
--
-... --- .-. . -.. ..--.. ...-.-
next prev parent reply other threads:[~2021-09-06 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 20:29 notmuch release 0.33 now available David Bremner
2021-09-06 6:49 ` [bug] Invalid function: notmuch-user-agent (was: notmuch release 0.33 now available) Gregor Zattler
2021-09-06 17:00 ` David Bremner
2021-09-06 17:10 ` Gregor Zattler [this message]
2021-09-06 17:28 ` 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=87zgsppr3x.fsf@no.workgroup \
--to=telegraph@gmx.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).