From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Is there any way to have a string literal that is read "raw" Date: Fri, 08 Jul 2005 17:49:11 +0200 Message-ID: <42CEA077.8070202@student.lu.se> References: <42CE8ADB.2000007@student.lu.se> <85eka9fi9d.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120839205 23334 80.91.229.2 (8 Jul 2005 16:13:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 16:13:25 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 08 18:13:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqvT7-0006Yx-Aa for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2005 18:12:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqvUX-00062c-Fw for ged-emacs-devel@m.gmane.org; Fri, 08 Jul 2005 12:14:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqvRv-0004lF-Rg for emacs-devel@gnu.org; Fri, 08 Jul 2005 12:11:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqvQZ-0004HT-4s for emacs-devel@gnu.org; Fri, 08 Jul 2005 12:10:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqvQY-00047n-Jm for emacs-devel@gnu.org; Fri, 08 Jul 2005 12:10:10 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqvCz-0005nv-9Z; Fri, 08 Jul 2005 11:56:09 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B000331572; Fri, 8 Jul 2005 17:49:12 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: David Kastrup In-Reply-To: <85eka9fi9d.fsf@lola.goethe.zz> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40649 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40649 David Kastrup wrote: >>Is it possible to tell Emacs not to interpret escape character in a >>certain string? If I have something like this: >> >> (setq str "some\thing\escaped") >> >>Can this be changed without changing the literal so that Emacs takes >>exactly what is in the string, without escaping any characters? >> >> > >What would you need this for? > > I was thinking of an easier way of handling w32 file names. When trying to build with MSYS it fails just because of the file name Emacs got from somewhere is in w32 format. It would be more easy if there was a way to tell Emacs that "this is just a raw string, please do not escape it". In fact I think at least building with MSYS then would succeed - and that would be nice!