From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iGCFAE5nDWK1IgAAgWs5BA (envelope-from ) for ; Wed, 16 Feb 2022 22:06:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0NDBOE1nDWL96AAAauVa8A (envelope-from ) for ; Wed, 16 Feb 2022 22:06:21 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 748B247C8E for ; Wed, 16 Feb 2022 22:06:21 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4E3095F70A; Wed, 16 Feb 2022 21:06:19 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 4953E5F5EB for ; Wed, 16 Feb 2022 21:06:17 +0000 (UTC) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 6468A1B00228; Wed, 16 Feb 2022 23:06:16 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1645045576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9kc4rKAJ6pT6WjTiLu8CFpBi9ohc/61aTbD3o3bKR74=; b=pd1xf8YMRTaHE4/rLRYXEvHjC33Y2m/7R3jMP2d+lnqPpudCwlkgxm4zU2g8CpPyF5doRo OgOFPoFPJ3cTq2PugDh6xQ4eD/nEqUsigDkgCgjLjnGNRycy1ouWBSgOtTdC64RkzuVEY/ 9DhLVkf+hq6aGoIWdD6ArJIlJDixufYraGlQkCW9pkIFLWLYIrh1s/2BzHWyfp/CPaB81J u2zQzGx7QZ7WLzH85M+ah1ZJyciLrEt+RIRh0xWankwzglnOIA586yVt4Ew/xwrYYms19E rdsWjbDzz4pFlnr0Jrry4Jlo6nYwUACcBy89FuWplM5mrZjejdZWTqs3wiDgEA== From: Tomi Ollila To: David Bremner , Rudolf =?utf-8?Q?Adamkovi=C4=8D?= , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: escape quote in notmuch-search-result-format docstring In-Reply-To: <20220216115928.3972267-1-david@tethera.net> References: <20220216115928.3972267-1-david@tethera.net> User-Agent: Notmuch/0.35+4~ge2bb4cd (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1645045576; a=rsa-sha256; cv=none; b=gY1Xw2TZUrjsgrsYm8GKA7hfV7FFvlRZ7Kiw/TtzF9Q/2hRPV3sofncban064xG3VlwlJh FNu+7uEczirmwnBpivpd/j8louNx5w6cRWFwf+Hgpk/XPiCMe2jLzHO/EzrhDRIlF9MgZZ FmA4CCKgjJWLunOoz9EnX/9zCvumPUSzY5X4ncnkgs3pFaqfD9dJY+RrjoU0Xdpw7nWcEy izZcS6vL3rfjHE/szOQhLjabwuZKxUdwiImQWaW5i8KCU/OBpGPi3KPsxIE6yES0NlxXP/ 3iqRmg1nqQY5d+MdzgiLpJxclrs7UYGCpRNtU7z5VHdg1qWB2ngwZvMfo10RHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1645045576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9kc4rKAJ6pT6WjTiLu8CFpBi9ohc/61aTbD3o3bKR74=; b=BoJyUY8EW7PBSgTyqM7EKTtkHv5NyqoNej8brzPiNrxyA0e3rbwkrcAajB4o4y/uPJN3vZ w8d0HiUum8Ihq72xzzBvHTeXc1O3tfqzHW8sUEypaMUU5Fz0LWoKqrMuLsHd24JDTYsXVN nWCFcND0BkcKwyfL/vcdeopw9srXKvbONwutU7nOUyScN2foeWtNAZ5Ukf7B8GfOQjbLmy UtlAwFj/6USqfxmM5/IyvOuFuh9gZHD+7ojXOI10WviYXGm2UnBKoeVEE6XntDxAod4I2H RxWp6MRopwEqBstc6DZfRJ+/vZNVJSUaTojdPqYGtvZomsUcgLGIHuPKp6tQew== Message-ID-Hash: WOJ6ZS4UXGBKYVXXF3QJLLFHKIKUB2HC X-Message-ID-Hash: WOJ6ZS4UXGBKYVXXF3QJLLFHKIKUB2HC X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645045581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CtnwcUOrnIoKkxsNYXrySRpKN0HTAd4Yl2n/5RlHXKo=; b=X/HxrzHmaSl+UyOvqF5F4qcN2DbGV0//HiLLUKac3+lOWslHa2K3MvXN5qGnOWx/3GPRE0 ruCCdsCJhLt/tgozQmQ24+dxWdDAx+bk/GlNwqNCbVEwmcuz6kfJ9gxYChame6mN5o/k3U +ybuDHERoeahDyIvwW7PKE2ed9dkgDlqd4igxPlYdJZ6Hsv4rPd7aiWDrlvCsfPXjr3bVx xB8maMhUAB54f2DDWWLMdI3gHRX/QA5DXhqppWIQ8I9Ap7YqgbU727/zRkY7fQhSx1BdWj VF19sLKdRJGzWYhZji8hqD0hGhmNcl5IYSId1el9gHAwgZxrCT9eDa/tHFS5uQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1645045581; a=rsa-sha256; cv=fail; b=DvYCsrV9KMPyzvznOT0g3vfY5LtZE7+73M7KKSutqLgu9zh7DjzSEjsKJSQTRUEieFIuaC pFO2bC4b2BVYdMDSNS8PWX9AiDtY2NN77zrgXKL9TLF7SNCP4iDM5Zz7ePIAw85OqBsCBD qhgm9Mv9Oo2PZ9FHtBC9xMrGRsfCvmUd++8EWYOVvdExurj4iYYwXmNozvgv16k9TfOI6L WFgc441ZwyZ7PF2RoPAuned2rrHqtDvZEipv/oVAXsaPQSJ00pb7IgThlRrLBEjHUioAiQ IZp8+hnTYRkyI97mGtPcNQ2hwEiO4qMrl3sykzGbL0ejrpGpwL571aS/8ENyLw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=pd1xf8YM; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=pd1xf8YM; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 748B247C8E X-Spam-Score: -1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: hKOKFL9mucGz 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