GNU bug report logs - #16610
24.3.50; [ruby-mode] Variables named as built-in functions font-locked incorrectly

Previous Next

Package: emacs;

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

Date: Sat, 1 Feb 2014 07:24:02 UTC

Severity: normal

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 #22 received at 16610-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Bozhidar Batsov <bozhidar <at> batsov.com>
Cc: 16610-done <at> debbugs.gnu.org
Subject: Re: bug#16610: 24.3.50;
 [ruby-mode] Variables named as built-in functions
 font-locked incorrectly
Date: Sat, 01 Feb 2014 19:09:16 +0200
Version: 24.4

On 01.02.2014 18:47, Bozhidar Batsov wrote:
> I’d say that the second option is better, since it won’t cause false
> positives.
> This would also take care of an annoying bit regarding the `p` built-in
> - each time you start
> typing something that starts with “p" the “p” briefly gets font-locked
> as built-in, before the following letter is inserted.

Yeah, okay. I haven't noticed this problem with "p" yet, but probably 
would, from now on.

Installed, with the caveat that the regexp doesn't take care of binary 
operations and keywords. Have to leave space for future improvement. :)




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

Previous Next


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