From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Shell-script mode: Backslash has syntax "punctuation", not "escape". Date: Tue, 3 Jul 2007 13:06:37 +0100 Message-ID: <20070703120637.GB2304@muc.de> References: <20070703101508.GA2304@muc.de> <468A1C15.6020704@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183459169 5594 80.91.229.12 (3 Jul 2007 10:39:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 10:39:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 12:39:27 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5fn5-0008L6-Ak for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 12:39:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5fn4-0003qs-07 for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 06:39:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5fmp-0003oc-VQ for emacs-devel@gnu.org; Tue, 03 Jul 2007 06:39:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5fmo-0003mb-F9 for emacs-devel@gnu.org; Tue, 03 Jul 2007 06:39:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5fmn-0003mH-UH for emacs-devel@gnu.org; Tue, 03 Jul 2007 06:39:10 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I5fmn-0007K2-0n for emacs-devel@gnu.org; Tue, 03 Jul 2007 06:39:09 -0400 Original-Received: (qmail 98242 invoked by uid 3782); 3 Jul 2007 10:39:07 -0000 Original-Received: from acm.muc.de (p54A3D27E.dip.t-dialin.net [84.163.210.126]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Tue, 03 Jul 2007 12:39:05 +0200 Original-Received: (qmail 4687 invoked by uid 1000); 3 Jul 2007 12:06:37 -0000 Content-Disposition: inline In-Reply-To: <468A1C15.6020704@gmx.at> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: FreeBSD 4.6-4.9 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:74234 Archived-At: Hi, Martin and everybody! On Tue, Jul 03, 2007 at 11:51:17AM +0200, martin rudalics wrote: > > Hi, Emacs! > Hi, Alan! > > Load the following file into Emacs: > > > > ######################################################################### > > #!/bin/bash > > echo Backslash doesn\'t have escape syntax. > > # The rest of the file now has string fontification. > > ######################################################################### > > > > Font locking doesn't take the backslash in "doesn\'t" seriously. A > > quick C-u C-x = on this backslash shows it has "." (punctuation) syntax. > > > Stefan fixed this in the trunk. Did you try with the latest sources? No, I hadn't. I have now, and it works. Thanks! :-) Apologies for the noise. -- Alan.