emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to actually print single ‘\’ character?


From: Lars Ingebrigtsen
Subject: Re: How to actually print single ‘\’ character?
Date: 2020年12月23日 09:08:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pankaj Jangid <pankaj@codeisgreat.org> writes:
> I have tried:
>
> ‘"this \\ is a single embedded backslash"’
>
> inside ‘format’ and ‘message’ functions. It prints two backslashes. How
> to print single slash in a message?
(insert "this \\ is a single embedded backslash")
-> this \ is a single embedded backslashnil
Perhaps you're confused by how Emacs prin1s readable strings?
"foo \\ bar"
=> "foo \\ bar"
-- 
(domestic pets only, the antidote for overdose, milk.)
 bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]

AltStyle によって変換されたページ (->オリジナル) /