From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Raw string literals in Emacs lisp. Date: Sun, 27 Jul 2014 21:27:35 +0900 Message-ID: <8761ijng08.fsf@uwakimon.sk.tsukuba.ac.jp> References: <878ungor1v.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1406464093 20073 80.91.229.3 (27 Jul 2014 12:28:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2014 12:28:13 +0000 (UTC) Cc: chad , "emacs-devel@gnu.org" To: Matthew Plant Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 27 14:28:06 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 1XBNYb-0006Ig-Jw for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2014 14:28:05 +0200 Original-Received: from localhost ([::1]:34866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBNYb-0005fD-5V for ged-emacs-devel@m.gmane.org; Sun, 27 Jul 2014 08:28:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBNYR-0005eA-Le for emacs-devel@gnu.org; Sun, 27 Jul 2014 08:28:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBNYK-0004hO-6s for emacs-devel@gnu.org; Sun, 27 Jul 2014 08:27:55 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:59508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBNYJ-0004eF-Sd for emacs-devel@gnu.org; Sun, 27 Jul 2014 08:27:48 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 3AA283FA0B31; Sun, 27 Jul 2014 21:27:35 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 2D2941A28DD; Sun, 27 Jul 2014 21:27:35 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.223 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:173174 Archived-At: Matthew Plant writes: > Although this data is convincing in some respects, I would like to note > that xemacs is dead. The reports of the death of XEmacs are premature. > The download off their main page did not even have any > raw string literals. XEmacs 21.4 will never have them. Of course almost all of the uses of raw strings are for regexps. Most non-regexp strings don't use string escapes, except for the occasional TAB or LF. Format strings use an alternative operator character %, so don't have the problem of string escape colliding with the operator character. Sure, you can do a lot for readability as PCRE or Python regexps have done, but regexps are unreadable almost by design, and those regexp syntaxes benefit from rawstrings, too. Almost anything (that doesn't involve changing the meaning of existing legal programs) that improves readability of regexps is worthwhile. Rawstrings are cheap and effective.