From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.devel Subject: Re: How to actually print single =?utf-8?B?4oCYXOKAmQ==?= character? Date: Wed, 23 Dec 2020 22:14:06 +0530 Message-ID: <878s9otquh.fsf@codeisgreat.org> References: <87tusdrtbp.fsf@codeisgreat.org> <8735zxlzal.fsf@gnus.org> <87ft3w25ze.fsf@codeisgreat.org> <87mty4ybwa.fsf@codeisgreat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12779"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 23 17:45:08 2020 Return-path: Envelope-to: ged-emacs-devel@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 1ks7G8-00039P-9O for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Dec 2020 17:45:08 +0100 Original-Received: from localhost ([::1]:55934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks7G7-0005tz-BJ for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Dec 2020 11:45:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks7FE-0005T6-OM for emacs-devel@gnu.org; Wed, 23 Dec 2020 11:44:12 -0500 Original-Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:54760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ks7FD-0003ey-7y for emacs-devel@gnu.org; Wed, 23 Dec 2020 11:44:12 -0500 Original-Received: by mail-pj1-x1035.google.com with SMTP id f14so49888pju.4 for ; Wed, 23 Dec 2020 08:44:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PIhuKah8MovlLbdadU+jmrTz3qX2Qk2C5kxbkr6Tz+8=; b=PCyWVJmo0+qYQFwoGjyU6Z48E9U+I0oqti27reRgVz9v/0Xh5BD7kK4g2IcMIE77i1 5qs2RBZfwZR6yLsmI4hiVYg1xUSTdASWaKZxg2eovCSnpwV+U6yg1o29WrUxaYjURw4J zMetl5EQgoU3jYYUi9czO1wp/ZNHzO9UnLZohlI2L3jWkSaVuZdIuDRI8w24HTaYIb8Y RaCEm1FfGi1LcPiQbXPSWiPqkOpNYwBjqah2j37iHSFke2lrTZotOd1BYExtx/BEaEws U0WZJZ/RjevLx3bLAAXlaslu2eq3ow2MqKLKIsmNcxT9sJufvAzk/rrJvz3cRAnY4SzI 8oXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=PIhuKah8MovlLbdadU+jmrTz3qX2Qk2C5kxbkr6Tz+8=; b=ogXBQI8NdPxlZTn4ffDd5WbH4DQvLBSG4aGbDJoZiQASpiExvp/eaZW2LfJMx9poYE uQ8ZI2rqjis9Y7x+YaBeEW3Iis1exeYyiL5lBUTQLlvBy8886JFGUo7iwZG3/YFRfCM1 nhqUbEbK/RMhQrN8QTslMKomzoXeut2vZVFRQzfB02lieVZ3v665UipGB8AjQv99PjJ/ 8Y87GDNN+/HJZQHZdFIxK0KAMJV1bVMgWxCZDS2ne9dzPX0QRFxxGMJlDCKyL8cwB4eO on/S4hjrCRe3CH3NF0lHo6bAdFf8Q45d0ufUSiaef//rim7iojRc+TBDwp48WOs6LsJk xtUg== X-Gm-Message-State: AOAM530NYX4DonrVwjJT8CL6uGFAtn3IwQJT5AqhI1ggBm4cD3wyjGuC VqJFx1oscrRZbksqABTF2Zt78g4eKgEUKQ== X-Google-Smtp-Source: ABdhPJz2TKBjnrvHZ2ERIhja2ulQzWTPepKnmOOW7pLGvQZXpqEr+n0tcNn2/xHqUnw6EomAukmQdg== X-Received: by 2002:a17:902:db84:b029:dc:2efb:659b with SMTP id m4-20020a170902db84b02900dc2efb659bmr24891885pld.83.1608741849793; Wed, 23 Dec 2020 08:44:09 -0800 (PST) Original-Received: from lt ([2405:201:5c06:70bb:a64e:31ff:fe0c:338c]) by smtp.gmail.com with ESMTPSA id l13sm26144675pgq.51.2020.12.23.08.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 08:44:09 -0800 (PST) Mail-Followup-To: Eli Zaretskii , emacs-devel@gnu.org In-Reply-To: (Eli Zaretskii's message of "Wed, 23 Dec 2020 14:35:09 +0200") Received-SPF: none client-ip=2607:f8b0:4864:20::1035; envelope-from=pankaj@codeisgreat.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261616 Archived-At: Eli Zaretskii writes: >> Now I have confusion with single backslash. See following two forms, >> their output and return values: >>=20 >> (message "this \\ is a single embedded backslash") =E2=8A=A3 "this \ is a >> single >> embedded backslash" =E2=87=92 "this \\ is a single embedded backslash" >>=20 >> (message "this \ is a single embedded backslash") =E2=8A=A3 "this is a s= ingle >> embedded backslash" =E2=87=92 "this is a single embedded backslash" >>=20 >> Why the output and return same for string with single backslash? > > Because the return value should be suitable for the Lisp reader. Got it. whatever is the output (print), the consumer of the return value should be able to produce the same output. i.e. (message "this \ is a single embedded backslash") and (message (message "this \ is a single embedded backslash")) should produce same output.