From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#60454: 30.0.50; `format-message' does not allow displaying "`" and "'" verbatim Date: Sat, 31 Dec 2022 15:42:44 +0000 Message-ID: <0a62cbaeff9cde095dd2@heytings.org> References: <87tu1b8vi3.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10339"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60454@debbugs.gnu.org, Stefan Monnier To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 31 16:43:07 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 1pBe0p-0002VJ-LM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Dec 2022 16:43:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBe0l-0001ZU-A8; Sat, 31 Dec 2022 10:43:03 -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 1pBe0k-0001ZL-6B for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 10:43:02 -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 1pBe0j-0002tO-U9 for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 10:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBe0j-00060y-Jx for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 10:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2022 15:43: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.167250136723099 (code B ref 60454); Sat, 31 Dec 2022 15:43:01 +0000 Original-Received: (at 60454) by debbugs.gnu.org; 31 Dec 2022 15:42:47 +0000 Original-Received: from localhost ([127.0.0.1]:39650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBe0V-00060V-08 for submit@debbugs.gnu.org; Sat, 31 Dec 2022 10:42:47 -0500 Original-Received: from heytings.org ([95.142.160.155]:53232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBe0T-00060M-3P for 60454@debbugs.gnu.org; Sat, 31 Dec 2022 10:42:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1672501364; bh=dytPr/LTdJ4KSpDEGL3HP1tKacATKiHFoI5PQudPrjM=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=GZGMJq07kHoC2FQmnCYMPcFDy1kitx5vd+2UQrTJQPYC875JLRzg4icZXNsF42du1 qe+AMskJUr0hpJfuYZywJtMz/S8318Len9+VjvhFC9rTlB0ARxFTZben+a+aQnru0G ckfPMuCGyJrrxRNVVSnGgp27Oo2aAAnWhb3XAkvWghKjjSDMMoAwPS6zUrabQha8lg LbIYyR+A5mWu1z+5vExariSb3VPaEDA9afDuXb+qwfrwcA3PbiwQJoHbiReXXcXSQn 1snbtBTjfwDkrcIahGzaTq3kzJvfTCPHIYMidIw/HP+4j5wLgZCyVUvccd0RMac6vd KtcTO5cP/VgYQ== In-Reply-To: <87tu1b8vi3.fsf@localhost> 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:252200 Archived-At: > > 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"))