From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Plant Newsgroups: gmane.emacs.devel Subject: Re: Raw string literals in Emacs lisp. Date: Fri, 25 Jul 2014 13:06:18 -0700 Message-ID: References: <87fvhpky9m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160bbee36ff0a04ff0a1b4f X-Trace: ger.gmane.org 1406318805 19438 80.91.229.3 (25 Jul 2014 20:06:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2014 20:06:45 +0000 (UTC) To: Matthew Plant , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 25 22:06:39 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XAllF-00086u-TH for ged-emacs-devel@m.gmane.org; Fri, 25 Jul 2014 22:06:38 +0200 Original-Received: from localhost ([::1]:56524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAllF-0000dx-77 for ged-emacs-devel@m.gmane.org; Fri, 25 Jul 2014 16:06:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAll6-0000dc-1K for emacs-devel@gnu.org; Fri, 25 Jul 2014 16:06:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAlkx-00079v-EZ for emacs-devel@gnu.org; Fri, 25 Jul 2014 16:06:27 -0400 Original-Received: from mail-lb0-f182.google.com ([209.85.217.182]:48275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAlkx-00079h-6a for emacs-devel@gnu.org; Fri, 25 Jul 2014 16:06:19 -0400 Original-Received: by mail-lb0-f182.google.com with SMTP id z11so3837906lbi.13 for ; Fri, 25 Jul 2014 13:06:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Z0CrQ7IqZUpNSJ9xjaH4JiJGRrAkYp/S9/kWltnF9aM=; b=dWoU9Y4bVP4UfL2Hf01mMMkGLEPqXapEM+Q3KBnOyatnhtoDL8voH8sl1fLS/T6vM+ m17g3S/HBLaqI2pqRPj6crVGsxN3Hx6dUoIfsa7FS1GDCN/IpuJDLzmluFRhXD16mqD+ 0XH1ofQIu3ae/WqOu3ao41LdptOrJPPvaDAZHurDpTGieZFUve9Pq3ORdwU2DTLWC7/M U788c2HC/MlEZ8xUggmjg7oqUER5ud2H9f4ShCyLkqJpedk94+MWYejOF3c+3LxgmIs5 26kpR/GMiQ4eimHuAaSFYNZ/SjhQcdPuN/vKq//ne75GAaKJWEGOYInxXesBJd7cs9p9 7LhA== X-Gm-Message-State: ALoCoQnL6w6CluJHsuiC+a3YNDWuh+l6UsC5GUMvKrk93IdPHmyOOA7axx4xpjZoPTe3UjwnMiEu X-Received: by 10.152.23.6 with SMTP id i6mr17071510laf.39.1406318778182; Fri, 25 Jul 2014 13:06:18 -0700 (PDT) Original-Received: by 10.112.185.99 with HTTP; Fri, 25 Jul 2014 13:06:18 -0700 (PDT) In-Reply-To: <87fvhpky9m.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173151 Archived-At: --089e0160bbee36ff0a04ff0a1b4f Content-Type: text/plain; charset=UTF-8 I would argue that is still workable, through various hacks. In the cond case if you wanted to specify I raw string literal you would do (("default")), which I think is still illegal. On Fri, Jul 25, 2014 at 12:56 PM, Tassilo Horn wrote: > Matthew Plant writes: > > Hi Matthew, > > > I think that raw string literals would be a really nice thing to add > > to Emacs lisp. > > Yes, indeed. > > > What if we assume that any string surrounded immediately by > > parenthesis is a raw string literal? I'm pretty sure every instance > > of ("...") is currently illegal,... > > Nope, inside a `cond', ("default") is a short alternative for (t > "default"). > > Bye, > Tassilo > --089e0160bbee36ff0a04ff0a1b4f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I would argue that is still workable, through various hack= s. In the cond case if you wanted to specify I raw string literal you would= do (("default")), which I think is still illegal.


On Fri, Jul 25, 2014 at 12:56 PM, Tassil= o Horn <tsdh@gnu.org> wrote:
Matthew Plant <maplant2@illinoi= s.edu> writes:

Hi Matthew,

> I think that raw string literals would be a really nice thing to add > to Emacs lisp.

Yes, indeed.

> What if we assume that any string surrounded immediately by
> parenthesis is a raw string literal? =C2=A0I'm pretty sure every i= nstance
> of ("...") is currently illegal,...

Nope, inside a `cond', ("default") is a short alternative for= (t
"default").

Bye,
Tassilo

--089e0160bbee36ff0a04ff0a1b4f--