unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: "Tomi Ollila" <tomi.ollila@iki.fi>,
	"Rudolf Adamkovič" <salutis@me.com>,
	notmuch@notmuchmail.org
Subject: [PATCH] emacs: escape quote in notmuch-search-result-format docstring
Date: Wed, 16 Feb 2022 07:59:28 -0400	[thread overview]
Message-ID: <20220216115928.3972267-1-david@tethera.net> (raw)
In-Reply-To: <m28rubywd6.fsf@guru.guru-group.fi>

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

  reply	other threads:[~2022-02-16 12:00 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   ` David Bremner [this message]
2022-02-16 21:06     ` [PATCH] emacs: escape quote in notmuch-search-result-format docstring Tomi Ollila
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=20220216115928.3972267-1-david@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=salutis@me.com \
    --cc=tomi.ollila@iki.fi \
    /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).