From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Da Witch Newsgroups: gmane.emacs.help Subject: One more cperl v4.23 glitch Date: Wed, 30 Oct 2002 16:48:41 +0000 (UTC) Organization: Zero Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036001715 2447 80.91.224.249 (30 Oct 2002 18:15:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 18:15:15 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186xN4-0000dJ-00 for ; Wed, 30 Oct 2002 19:15:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 186xIW-00024O-00; Wed, 30 Oct 2002 13:10:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1035996521 10323 166.84.1.3 (30 Oct 2002 16:48:41 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 30 Oct 2002 16:48:41 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.6.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:106572 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3122 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3122 I just switched from v4.21 to v4.23 of cperl-mode (and to jit-lock for font-lock support), and I've run into a new glitch: if a scalar variable's name includes an underscore followed by a "Perl-language word" (eg. "time" in $last_time, "scalar" in $triple_scalar_product, "my" in $oh_my, "ref" in $hard_ref), then the "keyword part" of the name gets the shading it would have had if it really were a Perl-language word, the rest appears in the default text face. This happens even when the whole name should be shaded with font-lock-variable-name-face (e.g. after "my"). Is there any way around this problem? Thanks, hk