GNU bug report logs - #5064
23.1.50; perl mode coloring gone if subroutine name is one letter long

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sat, 28 Nov 2009 02:50:03 UTC

Severity: normal

Fixed in version perl-doc/5.10.1-8

Done: jidanni <at> jidanni.org

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jidanni <at> jidanni.org
To: emacs-pretest-bug <at> gnu.org
Subject: bug#5064: 23.1.50; perl mode coloring gone if subroutine name is one letter long
Date: Sat, 28 Nov 2009 09:41:40 +0800
Gentlemen, consider the following perl subroutines.
Notice how the latter has all its coloring gone, just because it starts
with one letter. (perl-mode)^X^E

sub max {
    my $max = shift(@_);
    foreach $foo (@_) {
        $max = $foo if $max < $foo;
    }
    return $max;
}
sub m {
    my $max = shift(@_);
    foreach $foo (@_) {
        $max = $foo if $max < $foo;
    }
    return $max;
}



This bug report was last modified 15 years and 183 days ago.

Previous Next


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