Re: [PATCH] emacs: escape quote in notmuch-search-result-format docstring
Tomi Ollila writes: > On Wed, Feb 16 2022, David Bremner wrote: > > LGTM, now I remeber this syntax... > > Tomi > OK, the docstring is fixed in commit 6286b76a, which should be in the next major release (0.36). Thanks for the report, d ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org
Re: [PATCH] emacs: escape quote in notmuch-search-result-format docstring
On Wed, Feb 16 2022, David Bremner wrote: LGTM, now I remeber this syntax... Tomi > Prevent Emacs' mangling of quotes, which breaks the code sample. > --- > emacs/notmuch.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/emacs/notmuch.el b/emacs/notmuch.el > index 6abb17ff..c9cf80dc 100644 > --- a/emacs/notmuch.el > +++ b/emacs/notmuch.el > @@ -93,7 +93,7 @@ > Supported fields are: date, count, authors, subject, tags. > For example: > (setq notmuch-search-result-format > - '((\"authors\" . \"%-40s\") > + \\='((\"authors\" . \"%-40s\") > (\"subject\" . \"%s\"))) > > Line breaks are permitted in format strings (though this is > -- > 2.34.1 ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org
[PATCH] emacs: escape quote in notmuch-search-result-format docstring
Prevent Emacs' mangling of quotes, which breaks the code sample. --- emacs/notmuch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 6abb17ff..c9cf80dc 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -93,7 +93,7 @@ Supported fields are: date, count, authors, subject, tags. For example: (setq notmuch-search-result-format - '((\"authors\" . \"%-40s\") + \\='((\"authors\" . \"%-40s\") (\"subject\" . \"%s\"))) Line breaks are permitted in format strings (though this is -- 2.34.1 ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org