GNU bug report logs - #16914
24.3.50; [ruby-mode] Regexp literal modifiers are not font-locked

Previous Next

Package: emacs;

Reported by: Bozhidar Batsov <bozhidar <at> batsov.com>

Date: Sat, 1 Mar 2014 13:29:01 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 24.4

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Bozhidar Batsov <bozhidar <at> batsov.com>
Cc: 16914-done <at> debbugs.gnu.org
Subject: Re: bug#16914: 24.3.50;
 [ruby-mode] Regexp literal modifiers are not font-locked
Date: Sun, 02 Mar 2014 00:06:19 +0200
Version: 24.4

Bozhidar Batsov <bozhidar <at> batsov.com> writes:

> In a simple regexp like:
>
> /something/i
> %r{test}i
>
> the trailing 'i' is not font-locked. Most editor/IDEs font-lock the
> modifiers. I'd suggest the use of a different face than the string face
> used for the literal itself, but even it would be an improvement. I also
> think
> that only valid modifiers should be font-locked.

Added in 116626.




This bug report was last modified 11 years and 80 days ago.

Previous Next


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