From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anna Glasgall Newsgroups: gmane.emacs.devel Subject: Re: "Raw" string literals for elisp Date: Wed, 08 Sep 2021 10:19:02 -0400 Message-ID: <609b2ae4eefeb59f41b7f2426f59412f76c8c1c6.camel@crossproduct.net> References: <4209edd83cfee7c84b2d75ebfcd38784fa21b23c.camel@crossproduct.net> <87a6knpmom.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40124"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.40.0-1 Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 08 17:08:41 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 1mNzBo-000ACE-2i for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 17:08:40 +0200 Original-Received: from localhost ([::1]:36716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNzBm-0008Md-4A for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 11:08:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNyPv-000661-Pj for emacs-devel@gnu.org; Wed, 08 Sep 2021 10:19:12 -0400 Original-Received: from singularity.crossproduct.net ([136.248.125.68]:57722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNyPt-000690-DN for emacs-devel@gnu.org; Wed, 08 Sep 2021 10:19:11 -0400 Original-Received: from cryptic.home.crossproduct.net (c-71-192-162-242.hsd1.ma.comcast.net [71.192.162.242]) by singularity.crossproduct.net (Postfix) with ESMTPSA id BBE301E00DE; Wed, 8 Sep 2021 10:19:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=crossproduct.net; s=crossproduct; t=1631110744; bh=bdWdhHllcMTSTQNEJ4XmmpZdty1SlTWQdD6KL3IbUt8=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=kQwaEnN6LRaylaaY5HtkQTsKb5qaPsHKoLn3UHADxV4csOYHPZdHHzJLnfC5J0AA8 774Gz5DjkX2bp4XqiyTdq2sjWG2iDXcFHyl7A7TN7J9XcGh1usVOWQ1bMQJDU/7Zh/ C5hCtvvE79KBUjVAs5Jz8HLFm2bY+2LikPXDlMDs= In-Reply-To: <87a6knpmom.fsf@yahoo.com> Received-SPF: pass client-ip=136.248.125.68; envelope-from=anna@crossproduct.net; helo=singularity.crossproduct.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 08 Sep 2021 11:04:30 -0400 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:274352 Archived-At: On Wed, 2021-09-08 at 15:10 +0800, Po Lu wrote: > Anna Glasgall writes: > > > I've successfully taught the elisp reader (read1 in lread.c) how to > > read r-strings. > > Previously, (r"ab") would be read as a list of the atoms r and "ab". > Does your modification retain compatibility with that behaviour? > Thanks. Oops, that's an edge case I hadn't considered. If we want to retain that behavior I'm going to have to rethink the syntax here (which it seems like I may want to do anyway based on some other mails on this thread :/ ). Thanks for giving me another test case! Anna