From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60454: 30.0.50; `format-message' does not allow displaying "`" and "'" verbatim Date: Sat, 31 Dec 2022 11:39:35 -0500 Message-ID: References: <87tu1b8vi3.fsf@localhost> <87wn67d1ii.fsf@igel.home> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 60454@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 31 17:40:22 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 1pBeuE-000ASz-NC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Dec 2022 17:40:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBetx-0003TX-US; Sat, 31 Dec 2022 11:40:05 -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 1pBetv-0003T6-An for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 11:40: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 1pBetu-0008L4-Jy for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 11:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBetu-0007SZ-4d for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2022 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2022 16:40:02 +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.167250478628643 (code B ref 60454); Sat, 31 Dec 2022 16:40:02 +0000 Original-Received: (at 60454) by debbugs.gnu.org; 31 Dec 2022 16:39:46 +0000 Original-Received: from localhost ([127.0.0.1]:39707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBete-0007Rv-2Z for submit@debbugs.gnu.org; Sat, 31 Dec 2022 11:39:46 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:10847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBetb-0007Rf-Lq for 60454@debbugs.gnu.org; Sat, 31 Dec 2022 11:39:44 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9EECA100310; Sat, 31 Dec 2022 11:39:37 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 48947100178; Sat, 31 Dec 2022 11:39:36 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1672504776; bh=9z17J4InxaMHF2o+q8Foe7mlu3u16XBrgnDqB8Boe68=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aouvyuEHIralJsjT+OJ0giyabYuTmXRsTyivfd4TwYAYaqy/8nH4WXE441Spbkh4B G3QMxKc4Zw1ivfF8KiliHExvICqY/YS2sDNARJKA3QQtOE95h5UggmNEwRQ/eQ92cL coYQXERBUaNpr5PdjTgCnQdPHkilhFj5rXtLAUTvz4f9CKQhTh3ZmtHm95bMc21N7g 4nUWLWCpkks7zxSLfrxmu7c7UiHrFoSl0/eGIw2ChalIqihicQPh4TOK2FDGd3hL9+ /Tz7Kg/V0+LWR1Qejq3CVQxrE/xsPA+f6E2aEp2F25+WWeCw/XaFW6wQSM52CU/bTh 3JJyfsY6fttEA== Original-Received: from pastel (unknown [45.72.200.228]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 19E52120931; Sat, 31 Dec 2022 11:39:36 -0500 (EST) In-Reply-To: <87wn67d1ii.fsf@igel.home> (Andreas Schwab's message of "Sat, 31 Dec 2022 16:41:09 +0100") 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:252204 Archived-At: >> However, sometimes, it is desired to keep these chars literal. >> For example, `org-assert-version' displays a warning that suggests Elisp >> code: >> >> (warn "... >> It is recommended to put >> (straight-use-package 'org) >> ...") > > The mangling only happens in the format string. Pass the text as > argument and substitute it with %s. > > (warn "... > It is recommended to put > %s > ..." "(straight-use-package 'org)") That's rather cumbersome. I think it would make a lot of sense to offer escapes like %' and %` Stefan