From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#60454: 30.0.50; `format-message' does not allow displaying "`" and "'" verbatim Date: Sat, 31 Dec 2022 17:06:36 +0000 Message-ID: <87o7rj8pur.fsf@localhost> References: <87tu1b8vi3.fsf@localhost> <0a62cbaeff9cde095dd2@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6404"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60454@debbugs.gnu.org, Stefan Monnier To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 31 18:07:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pBfKJ-0001Ry-Ft for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Dec 2022 18:07:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBfKA-0002xi-FN; Sat, 31 Dec 2022 12:07:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBfK3-0002xK-Gc for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 12:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBfK1-00055K-OP for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 12:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBfK1-0008CY-Hk for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 12:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2022 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60454 X-GNU-PR-Package: emacs Original-Received: via spool by 60454-submit@debbugs.gnu.org id=B60454.167250638331473 (code B ref 60454); Sat, 31 Dec 2022 17:07:01 +0000 Original-Received: (at 60454) by debbugs.gnu.org; 31 Dec 2022 17:06:23 +0000 Original-Received: from localhost ([127.0.0.1]:39745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBfJO-0008BZ-J4 for submit@debbugs.gnu.org; Sat, 31 Dec 2022 12:06:22 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:53861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBfJM-0008BI-SF for 60454@debbugs.gnu.org; Sat, 31 Dec 2022 12:06:21 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D942724025D for <60454@debbugs.gnu.org>; Sat, 31 Dec 2022 18:06:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672506374; bh=V5XJsUMo7uoia2SvgkHo2ScI8ubLjHNpUPGngNj/o1s=; h=From:To:Cc:Subject:Date:From; b=QZrzRN4h0pcg6ANclcgedMdCHuAM3q7eFDmnDtW0rgB+QOoOyz+p9TSN3DMF4L6jH 3ajfdKwqbC4Lf6T07qKwqKXgaSDrxC4P5nyrhfQusJgLetB5RaleU4oEK5hcAjHzPP ZilcNz/6ysIFWobvZQTfLnfs/ONwXuMe9bNLDHMrsYO1tLCbswMnrrj9G6fPqBe60R I+KI76YPmySUJySN9C5A1gjn9MxQJzznMHas5y5394uC+rFJfY3qPC+67v8nE3c/tJ 2qCfdpj0WWpzWLLRzpfAuO0Ud8dZcrNPM+M3aDqEPNyrO8YKXqsM3oJ963Vd5W5yzM 3wBFDhlSXcFjw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NkpS05LGgz9rxG; Sat, 31 Dec 2022 18:06:08 +0100 (CET) In-Reply-To: <0a62cbaeff9cde095dd2@heytings.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252208 Archived-At: Gregory Heytings writes: >> Would it be possible to introduce some kind of escape mechanism in >> `format-message' to produce literal "'" and "`" when needed? >> > > Just let-bind text-quoting-style: > > (let ((text-quoting-style 'grave)) > (format-message "foo `bar' baz")) This won't work when I sometimes actually want the replacement to happen: (format-message "This is variable `foo', and the code 'bar") -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at