Re: [bug] Invalid function: notmuch-user-agent (was: notmuch release 0.33 now available)
Gregor Zattler writes: > > Actually this is a bit above my lisp knowledge. Do you > think your explanation suffices for a bug report against emacs? > If no-one comes up with a counter-argument in the next few days, I will submit one. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org
Re: [bug] Invalid function: notmuch-user-agent (was: notmuch release 0.33 now available)
Hi David, * David Bremner [2021-09-06; 10:00]: > Gregor Zattler 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 -- -... --- .-. . -.. ..--.. ...-.- ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org
Re: [bug] Invalid function: notmuch-user-agent (was: notmuch release 0.33 now available)
Gregor Zattler writes: > Hi David, notmuch developers, > * David Bremner [2021-09-03; 13:29]: >> Emacs >> - >> >> `notmuch` no longer sets `mail-user-agent` on load. To restore the >> previous behaviour of using notmuch to send mail by default, customize >> `mail-user-agent` to `notmuch-user-agent`. > > While reading this news, I realized, that `mail-user-agent' > is set to "message-user-agent" in my emacs instance. > > 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) 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. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org
[bug] Invalid function: notmuch-user-agent (was: notmuch release 0.33 now available)
Hi David, notmuch developers, * David Bremner [2021-09-03; 13:29]: > Emacs > - > > `notmuch` no longer sets `mail-user-agent` on load. To restore the > previous behaviour of using notmuch to send mail by default, customize > `mail-user-agent` to `notmuch-user-agent`. While reading this news, I realized, that `mail-user-agent' is set to "message-user-agent" in my emacs instance. 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 also happened from "emacs -Q" and when calling notmuch-emacs-mua --hello from the command line. Even then, `mail-user-agent' is set to "message-user-agent". This happens with: notmuch version 0.33+14~g005c620 on GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) of 2021-09-05 What to do? Thanks for notmuch and your attention, Gregor ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org
notmuch release 0.33 now available
Where to obtain notmuch 0.33 === https://notmuchmail.org/releases/notmuch-0.33.tar.xz Which can be verified with: https://notmuchmail.org/releases/notmuch-0.33.tar.xz.sha256.asc -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 883e045b4bfa2c48c9a4671062a40603a7f6165724dd54618beeba100549d26c notmuch-0.33.tar.xz -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAmEyhCkACgkQA0U5G1Wq FSGmlRAAm85hcV4Vb+ca1769t1xzQVqmEVEypiZmdUmHcfdpuyt7cydgacEDgVlX xYJi51QUA2xHrSOl3Z0Eh2Gs/HRnX06g6YxisptJzC1QHv2QQBUq9Lr9hNTGeeoX huoWxRTT1SZjCKsIha/XZxrELhmkq/YaEl65CkFU5HxulXk3mXnd4Ho88e/0G1QJ qsH6giF1Pjp+o/GJL3xipsk42BgTiWtyXLUPEe4RBJ+SfqkHN96iL7sP4YOT3fU1 yP9EfsM2+QQcvcuCToF2UiFzXH+BcK5LjW0DFk1fObcO+zqIZeowZ/VPQnYAMc2K IOzRIDcnuY0zaO5nbeKmY1P+lGkmboId2xGgzGxPf4571nqNe4HPeHDpgVR9jobU h9kxrby7bUAuZKETujAKmPj5FqqVsgwv1mU5RjppW5t9kdLvOK8zG+EmuYeEClnH gBbYNEF070FMnwJ6fj/RShbH/dT/X2SMcz9RzSOW7hO3mMiA/3YokywVT13hj1hn xqBChtPzZ7AsCSJAKLqrZ3e2MLMBUh87lsqZtOtAvap3cLrLOoGzuyeLFtQHqDKw /vkPbSTO2MsZeG0x69BoC+ZlUg6jWKrDSHh/hFfn5W/3TZc3p6zG+blIPf0Kc71X X7SQuDUd50F/56CPLXlItbO98C+/s5D6NFH2fKYnJ+hw/RffrEk= =sj+o -END PGP SIGNATURE- https://notmuchmail.org/releases/notmuch-0.33.tar.xz.asc (signed by David Bremner) What's new in notmuch 0.33 = Library --- Correct documentatation about transactions. Add a configurable automatic commit of transactions. See `database.autocommit` in notmuch-config(1). Document the algorithm used to find a database. CLI --- Define format version 5, which supports sorting the output of notmuch-show. Emacs - `notmuch` no longer sets `mail-user-agent` on load. To restore the previous behaviour of using notmuch to send mail by default, customize `mail-user-agent` to `notmuch-user-agent`. `notmuch-company` now works in `org-msg`. Improve the display of messages from long threads in unthreaded mode. Prefer email addresses over User ID when showing valid signatures. Define a new face `notmuch-jump-key`. New commands in notmuch-tree view: `notmuch-tree-filter` and `notmuch-tree-filter-by-tag`. Honour `notmuch-show-text/html-blocked-images` when using `w3m` to render html. Support toggling sort order in notmuch-tree mode. Ruby Memory management of allocated notmuch objects (database, messages, etc...) is now done via the Ruby GC. This removes all constraints on the order of object destruction. Database close and destroy are split, following an old library API change. Vim --- Respect excluded tags when showing a thread. Documentation - Fix doc build for Sphinx 4.0. Improve the markup and linking of the documentation. What is notmuch === Notmuch is a system for indexing, searching, reading, and tagging large collections of email messages in maildir or mh format. It uses the Xapian library to provide fast, full-text search with a convenient search syntax. For more about notmuch, see https://notmuchmail.org signature.asc Description: PGP signature ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org