[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cperl-mode does not highlight function names properly
From: |
Radomir Hejl |
Subject: |
Re: Cperl-mode does not highlight function names properly |
Date: |
Mon, 28 Feb 2005 21:09:34 +0100 |
"Jérôme Marant" <jerome@marant.org> pí¹e v diskusním pøíspìvku
news:mailman.1704.1109366592.32256.bug-gnu-emacs@gnu.org...
> This bug report will be sent to the Free Software Foundation,
> not to your local site managers!
> Please write in English, because the Emacs maintainers do not have
> translators to read other languages for them.
>
> Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
> and to the gnu.emacs.bug news group.
>
> In GNU Emacs 21.3.1 (powerpc-unknown-linux-gnu, X toolkit, Xaw3d scroll
> bars)
> of 2005-02-06 on voltaire, modified by Debian
> configured using `configure '--build=powerpc-linux' '--host=powerpc-linux'
> '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
> '--localstatedir=/var/lib' '--infodir=/usr/share/info'
> '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes'
> '--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2'
> 'build_alias=powerpc-linux' 'host_alias=powerpc-linux''
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: fr_FR@euro
> locale-coding-system: iso-latin-9
> default-enable-multibyte-characters: t
>
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> Hi,
>
> Cperl-mode does not highlight properly function names that contain
> Perl keywords.
>
> Here is a test case.
>
> ------------
>
> #!/usr/bin/perl
>
> sub test_read_file ()
> {
>
> }
>
> sub func ()
> {
>
> }
>
> ------------
>
> You will notice that 'read' in test_read_file is highlighted as
> a keyword whereas 'func' is hightlighted as a function name.
>
> I could reproduce the problem with current CVS trunk as well.
>
> Cheers,
>
Hi,
I use GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600). The highlighting
issues were true for 4.23 cperl-mode which was the version I've had
to date. Now I have cperl 5.0 and the mentioned bug (and others) is gone.
But
this newest cperl version is not included in emacs distribution
(even in 21.4.2).
Radek H.
Re: Cperl-mode does not highlight function names properly,
Radomir Hejl <=