Hi,
In the emacs front end, I can specify authors in the format for search
results and trees. This is great when looking at received mail, but when
looking at sent mail it is not optimal. I have used mutt in the past,
and this puts "To: xxx*.xxx" in this field for sent mail, which is
much more
Jon Hurst writes:
> Hi,
>
> In the emacs front end, I can specify authors in the format for search
> results and trees. This is great when looking at received mail, but when
> looking at sent mail it is not optimal. I have used mutt in the past,
> and this puts "To: xxx*.xxx" in this field fo
Many thanks David; just what I needed.
> tested either, but I suppose you would need to write a function like
> author-or-to that decides for each message which of those to insert.
For the record:
(defun -notmuch-authors-or-to (format-string result)
(let* ((headers (plist-get result :header
On Fri, Jul 15 2022, David Bremner wrote:
> If the bindings are installed, use them to avoid one exec of notmuch
> search per message.
tnx. continues to work for me where I have symlink to nmbug in ~/bin/.
some time in the future i'll investigate whether i get
python3 path/to/nmbug.zip ... worki
Jon Hurst asked a question [1], and the the answer turned out to be
the existing, but previously undocumented feature of using functions
in format specifiers. This series tries to improve both the
customization and documentation for 3 related variables.
[1]: id:87a699e6wn@hursts.org.uk
_
This is essentially a copy of that for notmuch-tree-result-format,
aside from the default value.
---
emacs/notmuch-tree.el | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 68614623..f63ac9a5 100644
--- a/e
This example is based on one originally by Jon Hurst.
---
doc/notmuch-emacs.rst | 35 +++
1 file changed, 35 insertions(+)
diff --git a/doc/notmuch-emacs.rst b/doc/notmuch-emacs.rst
index 49111d28..44dca384 100644
--- a/doc/notmuch-emacs.rst
+++ b/doc/notmuch-emacs
When the ability to use functions was added, this example was confined
to a commit message, which is not user discoverable.
---
doc/notmuch-emacs.rst | 34 --
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/doc/notmuch-emacs.rst b/doc/notmuch-emacs.rs
It seems redundant to have the previous example, since the default
value is always show by describe variable.
Enforce more restrictions on the keys in the alist, since arbitrary
strings don't work as field names.
Document that functions can be used in lieu of field names.
---
emacs/notmuch-tree.
The main change is actually updating cross references.
---
doc/notmuch-emacs.rst | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/doc/notmuch-emacs.rst b/doc/notmuch-emacs.rst
index 44dca384..e69bd23d 100644
--- a/doc/notmuch-emacs.rst
+++ b/doc/notmuch-emacs.rst
It seems redundant to have the previous example, since the default
value is always show by describe variable.
Enforce more restrictions on the keys in the alist, since arbitrary
strings don't work as field names.
Document that functions can be used in lieu of field names.
---
emacs/notmuch.el |
Jon Hurst writes:
> Many thanks David; just what I needed.
>
>> tested either, but I suppose you would need to write a function like
>> author-or-to that decides for each message which of those to insert.
>
> For the record:
>
>
> (defun -notmuch-authors-or-to (format-string result)
> (let* ((h
Tomi Ollila writes:
> On Fri, Jul 15 2022, David Bremner wrote:
>
>> If the bindings are installed, use them to avoid one exec of notmuch
>> search per message.
>
> tnx. continues to work for me where I have symlink to nmbug in ~/bin/.
> some time in the future i'll investigate whether i get
> p
13 matches
Mail list logo