From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Interpret #r"..." as a raw string Date: Wed, 03 Mar 2021 18:47:10 -0800 Message-ID: References: <20210227.031857.1351840144740816188.conao3@gmail.com> <83pn0mppjd.fsf@gnu.org> <87zgzqz6mu.fsf@db48x.net> <83h7ls67rv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8717"; mail-complaints-to="usenet@ciao.gmane.io" Cc: db48x@db48x.net, conao3@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii , rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 04 03:48:16 2021 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 1lHe2B-0002AU-6P for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Mar 2021 03:48:15 +0100 Original-Received: from localhost ([::1]:42252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHe2A-0001IZ-8U for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Mar 2021 21:48:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHe1P-0000sK-Mx for emacs-devel@gnu.org; Wed, 03 Mar 2021 21:47:27 -0500 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:50411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHe1M-00077Y-FY; Wed, 03 Mar 2021 21:47:26 -0500 X-Originating-IP: 24.113.169.116 Original-Received: from matts-mbp-2016.lan (24-113-169-116.wavecable.com [24.113.169.116]) (Authenticated sender: matt@rfc20.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 247331BF203; Thu, 4 Mar 2021 02:47:13 +0000 (UTC) In-Reply-To: <83h7ls67rv.fsf@gnu.org> Received-SPF: pass client-ip=217.70.183.201; envelope-from=matt@rfc20.org; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:265928 Archived-At: Eli Zaretskii writes: >> From: Richard Stallman >> Cc: monnier@iro.umontreal.ca, db48x@db48x.net, eliz@gnu.org, >> conao3@gmail.com, emacs-devel@gnu.org >> Date: Wed, 03 Mar 2021 00:53:55 -0500 >> >> In Lisp, what you put in the program _is_ a string. What you write >> in the textual code is not a "literal", it is the textual representation >> of the string to put in the program. > > What is the difference between "literal string" and "textual > representation of a string"? I don't think I understand the > difference from what you wrote. > >> I just saw that the term "literal" appears occasionally in the Emacs >> Lisp Ref Manual. Would someone like to rewrite those parts so that they >> fit the concepts of Lisp batter? > > To rewrite those parts, one needs to understand what's wrong with them > and how to express that better. For example, we also say "literal > characters" in a few places -- is that wrong as well, and if so, how? I have noticed that most Lisp reference material does not use the word "literal" to describe source code elements. Which raises the question: how does Lisp documentation typically talk about these things? In my experience, most references typically don't name them at all. E.g. when talking about strings it might say "the read syntax of a string is ..." but things that satisfy "the read syntax of a string" are never given a name like "string literal."