From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Radomir Hejl" Newsgroups: gmane.emacs.bugs Subject: Re: Cperl-mode does not highlight function names properly Date: Mon, 28 Feb 2005 21:09:34 +0100 Organization: Czech Technical University Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1109621668 13186 80.91.229.2 (28 Feb 2005 20:14:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 20:14:28 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 28 21:14:27 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5rH1-0001xt-LN for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Feb 2005 21:13:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5rZR-0004rl-Gb for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Feb 2005 15:32:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5rRi-0005ex-1N for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2005 15:24:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5rRf-0005bi-D9 for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2005 15:24:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5rRf-0005bB-60 for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2005 15:24:47 -0500 Original-Received: from [216.168.1.22] (helo=trinity.supernews.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D5rDJ-0006sk-82 for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2005 15:09:57 -0500 Original-Received: from ns.felk.cvut.cz ([147.32.80.9]:54538) by trinity.supernews.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.42 (FreeBSD)) id 1D5rDF-000L5W-Ns for gnu-emacs-bug@moderators.isc.org; Mon, 28 Feb 2005 20:09:54 +0000 Original-Received: from ns.felk.cvut.cz (localhost [127.0.0.1]) by ns.felk.cvut.cz (8.13.1/8.13.1) with ESMTP id j1SK9eaq096808 for ; Mon, 28 Feb 2005 21:09:40 +0100 (CET) (envelope-from news@ns.felk.cvut.cz) Original-Received: (from news@localhost) by ns.felk.cvut.cz (8.13.1/8.13.1/Submit) id j1SK9dfg096807 for gnu-emacs-bug@moderators.isc.org; Mon, 28 Feb 2005 21:09:39 +0100 (CET) (envelope-from news) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 77 Original-NNTP-Posting-Host: 45.48.broadband2.iol.cz Original-X-Trace: ns.felk.cvut.cz 1109621379 96805 83.208.48.45 (28 Feb 2005 20:09:39 GMT) Original-X-Complaints-To: usenet@news.felk.cvut.cz Original-NNTP-Posting-Date: Mon, 28 Feb 2005 20:09:39 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geb-bug-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.bugs:10826 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10826 "Jérôme Marant" 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.