From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Babcock Newsgroups: gmane.emacs.help Subject: Re: font-lock in rexx-mode Date: Fri, 08 Dec 2006 23:04:23 -0800 Organization: FlashNewsgroups.com Message-ID: References: NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1165650027 7890 80.91.229.10 (9 Dec 2006 07:40:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2006 07:40:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 09 08:40:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gswoq-0006n3-27 for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2006 08:40:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gswop-00009J-GN for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2006 02:40:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!208.49.83.146.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7yQUZ7CaYQxA!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Xnews/2006.08.24 Original-X-Complaints-To: abuse@flashnewsgroups.com Original-Lines: 23 Original-X-Trace: d2995457a5ff7e7020a4e23168 Original-Xref: shelby.stanford.edu gnu.emacs.help:143768 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39371 Archived-At: Stefan Monnier wrote in news:jwv8xhhg6m1.fsf-monnier+gnu.emacs.help@gnu.org: > So if in Rexx a \ should not escape the > next char, the syntax-table should be changed. > Currently rexx-mode.el does: > > (modify-syntax-entry ?\\ "\\" rexx-mode-syntax-table) > > which as that \ should be treated as an escape char. So either this > line is in error, or the \ should sometimes be treated as an escape > char and sometimes not. I don't know anything about the syntax of > Rexx, so I have no idea when \ escapes and when it doesn't. E.g. how > do you escape a " inside a string in Rexx? Thanks for the response. I don't understand why, but commenting out the above line and restarting emacs doesn't change the behavior. (I do not have a rexx-mode.elc. If I start emacs with --no-init-file, rexx-mode is not recognized.) Backslash is never an escape in Rexx. Rexx allows either single or double quotes to delimit a string, so '"' would be a double quote. A string containing both kinds of quote could be built by concatenation.