From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tribhuvan Newsgroups: gmane.emacs.help Subject: cperl-mode $variable Date: Tue, 17 Dec 2002 04:34:58 GMT Organization: Optimum Online Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3DFEA9C6.8070005@rcn.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040099766 24940 80.91.224.249 (17 Dec 2002 04:36:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 04:36:06 +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 18O9Sd-0006Ty-00 for ; Tue, 17 Dec 2002 05:36:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O9SF-00015o-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2002 23:35:39 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!cyclone2.usenetserver.com!news.webusenet.com!news01.optonline.net!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 24.189.235.22 Original-X-Trace: news4.srv.hcvlny.cv.net 1040099698 24.189.235.22 (Mon, 16 Dec 2002 23:34:58 EST) Original-NNTP-Posting-Date: Mon, 16 Dec 2002 23:34:58 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:108199 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4728 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4728 SUBJECT: cperl-mode not interperting "$" as in $variable causing emacs to bypass the font-lock color setting. emacs 21.1 perl 5.8 cperl-mode.el (installed correctly) cperl-mode works beautifully, but not recognising that a "$" in the source is a variable and should therefore use the (font-lock-variable-name-face ((t (:bold t :foreground "DeepSkyBlue4")))) setting like every other mode does. (including perl-mode) HINT: with the cursor on a $variable in the source - go to emacs-menu: edit-> TextProperties-> ListProperties returns: Text property at 298: fontified t (rather than the special qualities of a $variable) edit-> TextProperties-> DisplayFaces and emacs shows the correct color (like all other modes also show correctly) So I think it's something in cperl-mode.el that is not catching the "$" and treating the $variable as plain (default) text. Any suggestions? Namaskar, Tribhuvanji