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: Sat, 26 Jul 2014 14:39:05 -0500 Message-ID: References: <878ungor1v.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160bbeeb7d7c404ff1dd70e X-Trace: ger.gmane.org 1406403570 3881 80.91.229.3 (26 Jul 2014 19:39:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2014 19:39:30 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 26 21:39:22 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 1XB7oP-0006j4-ES for ged-emacs-devel@m.gmane.org; Sat, 26 Jul 2014 21:39:21 +0200 Original-Received: from localhost ([::1]:60932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB7oP-0002Lb-28 for ged-emacs-devel@m.gmane.org; Sat, 26 Jul 2014 15:39:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB7oG-0002Kc-Vk for emacs-devel@gnu.org; Sat, 26 Jul 2014 15:39:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB7oA-0001W2-M7 for emacs-devel@gnu.org; Sat, 26 Jul 2014 15:39:12 -0400 Original-Received: from mail-la0-f53.google.com ([209.85.215.53]:58553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB7oA-0001Vs-Ei for emacs-devel@gnu.org; Sat, 26 Jul 2014 15:39:06 -0400 Original-Received: by mail-la0-f53.google.com with SMTP id gl10so4057069lab.40 for ; Sat, 26 Jul 2014 12:39:05 -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:cc:content-type; bh=nwohs1slLNQef9I6HeCaATj/nLd84tO2j3VIrq/9IkI=; b=WyrZZychaLvHJdQLV6Wy7pGfG6e9Y1I+fF5oHX+kZyPvvqSyj3fbbqHwqw717I6XLv ERinBuIryjJv/C6n3SqnNNYBGN9EN/9Le2vWURjAQgd81sKvtXQ6ubfYcCQiHF8O9smc evQ5wQJ26TZhLG+3eA+/jz99yb6Lv77Z/QmyhTSDnhSr/UNN/CUoYpnmtvIZjLaOn05X Q7yJR/7ZuqFK97ReDkoWzfEXMsS88CuiqmsOw7ZqyPgvNSf+E60bjYrJwInyxGH1rzHB A3M++ftzmJ56cvTpJw+x9q704wrU4uSCjG2uCJ55wgovEhdrx8lIqSXDH8lBPt+b8dIC FDuA== X-Gm-Message-State: ALoCoQlPrUHbjL3jUpZy9Cb/XJcEs9ZFM/CyEp1c/B8zvttBkAe2ICT+Guvwc724HqDLvYvZL1EA X-Received: by 10.152.23.6 with SMTP id i6mr22675501laf.39.1406403545120; Sat, 26 Jul 2014 12:39:05 -0700 (PDT) Original-Received: by 10.112.185.99 with HTTP; Sat, 26 Jul 2014 12:39:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.53 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:173168 Archived-At: --089e0160bbeeb7d7c404ff1dd70e Content-Type: text/plain; charset=UTF-8 I did a grep on the latest xemacs code base I could find, funnily enough, almost half of the instances of #r appeared in test cases. Not in facilitating them I might add, they were the test case. All of the non-test cases were regexps. Although this data is convincing in some respects, I would like to note that xemacs is dead. The download off their main page did not even have any raw string literals. I will still content that it is a useful feature to have. The cost of adding it (very minimal) are is to the benefit of having it. And why not? Emacs is also a language, unfortunately. We could all switch to guile and be done with it, but it appears the consensus is that elisp is finely tuned to do text processing. Elisp is a text processing language, and it should have as many features to facilitate in the processing of text as possible, this included. -Matt On Friday, July 25, 2014, chad wrote: > It might be helpful to canvas the use of #r"string" in [S]XEmacs > and see if anything especially nifty shows up. I think Stefan's > reservations mostly come from a feeling that the obvious problem > has a better solution elsewhere, but they have some actual experience > which might shed a different light on the topic. > > ~Chad > --089e0160bbeeb7d7c404ff1dd70e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I did a grep on the=C2=A0latest xemacs code base I could find, funnily enou= gh, almost half of the instances of #r appeared in test cases. Not in facil= itating them I might add, they were the test case. All of the non-test case= s were regexps.

Although this data is convincing in some respects, I would l= ike to note that xemacs is dead. The download off their main page did not e= ven have any raw string literals.=C2=A0

I will still= content that it is a useful feature to have. The cost=C2=A0of adding it (v= ery minimal) are is=C2=A0to the benefit of having it. And why not? Emacs is= also a language, unfortunately. We could all switch to guile and be done w= ith it, but it appears the consensus is that elisp is finely tuned to do te= xt processing. Elisp is a text processing language, and it should have as m= any features to facilitate in the processing of text as possible, this incl= uded.

-Matt

On Friday, July 25, 2014, chad <= yandros@gmail.com> wrote:
It might be helpful to canvas the use of #r"string" in [S]XEmacs<= br> and see if anything especially nifty shows up. I think Stefan's
reservations mostly come from a feeling that the obvious problem
has a better solution elsewhere, but they have some actual experience
which might shed a different light on the topic.

~Chad
--089e0160bbeeb7d7c404ff1dd70e--