From: Tomi Ollila <tomi.ollila@iki.fi>
To: "David Bremner" <david@tethera.net>,
"Rudolf Adamkovič" <salutis@me.com>,
notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: escape quote in notmuch-search-result-format docstring
Date: Wed, 16 Feb 2022 23:06:14 +0200 [thread overview]
Message-ID: <m24k4y4j3t.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <20220216115928.3972267-1-david@tethera.net>
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
next prev parent reply other threads:[~2022-02-16 21:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 6:40 [BUG] Bad quote in help Rudolf Adamkovič
2022-02-16 9:49 ` Tomi Ollila
2022-02-16 11:59 ` [PATCH] emacs: escape quote in notmuch-search-result-format docstring David Bremner
2022-02-16 21:06 ` Tomi Ollila [this message]
2022-02-17 0:32 ` 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=m24k4y4j3t.fsf@guru.guru-group.fi \
--to=tomi.ollila@iki.fi \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=salutis@me.com \
/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).