From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Raw strings (experimental patches inside) Date: Sat, 11 Aug 2012 02:33:43 +0400 Message-ID: <50258C47.3090004@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344638037 27110 80.91.229.3 (10 Aug 2012 22:33:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2012 22:33:57 +0000 (UTC) Cc: stephen@xemacs.org, vrrm00@gmail.com, emacs-devel@gnu.org To: monnier@IRO.UMontreal.CA Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 11 00:33:55 2012 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 1Szxm9-00085l-1F for ged-emacs-devel@m.gmane.org; Sat, 11 Aug 2012 00:33:49 +0200 Original-Received: from localhost ([::1]:49176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Szxm7-0003AZ-Tj for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2012 18:33:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Szxm4-0003AR-UA for emacs-devel@gnu.org; Fri, 10 Aug 2012 18:33:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Szxm2-0005R4-V7 for emacs-devel@gnu.org; Fri, 10 Aug 2012 18:33:44 -0400 Original-Received: from forward14.mail.yandex.net ([95.108.130.92]:37764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Szxm2-0005Qp-Ni for emacs-devel@gnu.org; Fri, 10 Aug 2012 18:33:42 -0400 Original-Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id 118A91981E1C; Sat, 11 Aug 2012 02:33:41 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1344638021; bh=4P9DniGWUwRaDiWyHCCgfvmPdkubVFyAMFgua8LeXXY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:Content-Type: Content-Transfer-Encoding; b=o7cB4UABTCYJiHY/xx/Tv7QpMPHsgEdgMJHYpSNGW8EVcnqlpR+JRQ7cdYGcBMzyR cc4Ut2Lxb/3NxlLHEQ3sIcs/eEZFzhVXt0GOF7wu7lzfxIVg21wCtxfwaLlTyKdWKJ ZkBqpxxuam1BeQUrnU54YnKyig/hdHYlw75hpf28= Original-Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id C392E7E0554; Sat, 11 Aug 2012 02:33:40 +0400 (MSK) Original-Received: from 5x164x92x232.dynamic.spb.ertelecom.ru (5x164x92x232.dynamic.spb.ertelecom.ru [5.164.92.232]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XdoOv6WP-XeoCOvLB; Sat, 11 Aug 2012 02:33:40 +0400 X-Yandex-Rcpt-Suid: monnier@IRO.UMontreal.CA X-Yandex-Rcpt-Suid: stephen@xemacs.org X-Yandex-Rcpt-Suid: vrrm00@gmail.com X-Yandex-Rcpt-Suid: emacs-devel@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1344638020; bh=4P9DniGWUwRaDiWyHCCgfvmPdkubVFyAMFgua8LeXXY=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=RLQMB/UScE28PdbSquUqcbL4dKhAHXmsVqM6epRWHl+qNrn3hKKgtjqHMA8rGuacO bmF8FcBPY6xBN4diRZC59TPdK+Q6o/YdiFwhEVcqh+4wUd4SejHa9fafiwhX6stfCO yEDWY/9Kwzq5eMbJ1LYXZAeTI1RCqaHJJg7Z1xI8= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 95.108.130.92 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:152424 Archived-At: Stefan Monnier writes: >> If insults won't persuade you, here are some real benefits. >> raw-strings are a huge convenience when writing.[1] They correspond >> to the way you enter a regexp to isearch, and to the documentation. > > And here we're back at regexps. I already agreed that they're > convenient for regexps, but pointed out that a better solution would > be to fix the regexp syntax so it doesn't backslash-escape every > special character. This would be a backward-incompatible change to the regexp engine, wouldn't it? --Dmitry