all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Babcock <wssddc@nospam.gis.net>
Subject: Re: font-lock in rexx-mode
Date: Fri, 08 Dec 2006 23:04:23 -0800	[thread overview]
Message-ID: <Xns989415171E211wssddcgisnet@208.49.80.252> (raw)
In-Reply-To: jwv8xhhg6m1.fsf-monnier+gnu.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> 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.

  reply	other threads:[~2006-12-09  7:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-09  0:44 font-lock in rexx-mode Bob Babcock
2006-12-09  2:16 ` Stefan Monnier
2006-12-09  7:04   ` Bob Babcock [this message]
2006-12-09 14:11     ` Stefan Monnier
2006-12-09 14:30       ` Stefan Monnier
2006-12-09 18:51       ` Bob Babcock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Xns989415171E211wssddcgisnet@208.49.80.252 \
    --to=wssddc@nospam.gis.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.