GNU bug report logs - #1593
ruby-mode: problems with font-lock

Previous Next

Package: emacs;

Reported by: "Pietro Giorgianni" <giorgian <at> gmail.com>

Date: Wed, 17 Dec 2008 06:57:12 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 1593 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Pietro Giorgianni" <giorgian <at> gmail.com>
To: 1593 <at> debbugs.gnu.org
Subject: update
Date: Mon, 29 Dec 2008 15:28:55 +0100
Hi,

The %{} syntax is actually a special case of
%[<WHAT>]<DELIMITER>...<DELIMITER>, where

<WHAT>, optional, can be:
  q - single quote string, as in 'foo';
  Q - double quote string, as in "foo";
  x - command output expression, as in `foo`;
  r - regexp, as in /foo/

<DELIMITER> can by any non-alphanumeric character, including spaces
and newline, or the pairs {}, [], (), <>.

This means that things like %|"|, which is equivalent to '"' (or to
"\""), can mess up syntax highlight in emacs.

thanks again




This bug report was last modified 13 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.