[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60454: 30.0.50; `format-message' does not allow displaying "`" and "
From: |
Ihor Radchenko |
Subject: |
bug#60454: 30.0.50; `format-message' does not allow displaying "`" and "'" verbatim |
Date: |
Sat, 31 Dec 2022 17:06:36 +0000 |
Gregory Heytings <gregory@heytings.org> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>