GNU bug report logs - #13755
24.3.50; regression: incorrect font-lock highlighting

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 18 Feb 2013 22:41:02 UTC

Severity: minor

Tags: notabug

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 13755-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 13755-done <at> debbugs.gnu.org
Subject: Re: bug#13755: 24.3.50; regression: incorrect font-lock highlighting
Date: Sat, 09 Mar 2013 10:52:29 -0500
> (font-lock-add-keywords
>  'emacs-lisp-mode
>  `((,(concat "(" (regexp-opt
>                   '("icicle-define-add-to-alist-command"
>                     "icicle-define-command"
>                     "icicle-define-file-command"
>                     "icicle-define-sort-command")
>                   t)
>              "\\>[ \t'\(]*\\(\\sw+\\)?")
                ^^^
There's your bug: you should use \\_>.

>    ("(\\(icicle-condition-case-no-debug\\)\\>"
                                            ^^^
Same here.


        Stefan




This bug report was last modified 9 years and 84 days ago.

Previous Next


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