Re: [BUG] Devices with spaces in names

2024-09-28 Thread Pengji Zhang
Hi! Nicolas Graves writes: Hi! Thanks for notmuch. I have a device which for some reason have a space in its name. It's the default installation, I surely don't remember setting such a name myself. This creates some issues with notmuch, which seems to inject this variable without quoti

Re: searching for a message by path

2024-09-21 Thread Pengji Zhang
Frederick Eaton writes: No, I already have that configuration. The first sentence described what I already know how to do, the second sentence is what I'm trying to do. Suppose the filter script reads a message from a particular file and decides that it is spam. How does the filter tell Not

Re: searching for a message by path

2024-09-20 Thread Pengji Zhang
Hi Frederick, Frederick Eaton writes: I am trying to figure out how to adapt a script I wrote for filtering messages, to apply notmuch tags to each message. A difficulty is that the messages are already in the Notmuch database, because another tool has delivered them to a maildir and run "n

[PATCH] emacs: Generate and install autoloads

2024-08-18 Thread Pengji Zhang
cstring.stamp diff --git a/emacs/autoloads-gen.el b/emacs/autoloads-gen.el new file mode 100644 index ..9a1a7254 --- /dev/null +++ b/emacs/autoloads-gen.el @@ -0,0 +1,79 @@ +;;; autoloads-gen.el --- help generate autoloads -*- lexical-binding: t -*- +;; +;; Copyright (C) 2024 Pengji Zhang

[PATCH] emacs/mua: Correct autoload cookies

2024-08-16 Thread Pengji Zhang
This is a follow-up to [1: 8d06dfce]. Per Info node '(elisp)Autoload', autoload cookies should start with ';;;###'. 1: 2024-04-04 8d06dfce175593aebae9a759c9167df4988a3444 emacs: Autoload notmuch-user-agent related functions --- emacs/notmuch-mua.el | 10 +- 1 file changed, 5 insertions

Emacs: Generate autoloads during installation?

2024-08-12 Thread Pengji Zhang
Hello! I found that with the shipped Makefile, installing the Emacs Lisp package does not generate autoloads, even though many entry points have been marked with the autoload cookie. Namely, after: ./configure make make install one still has to 'require' the library in order to use,