From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.help Subject: Re: cperl-mode "fatigue" Date: Mon, 28 Oct 2002 16:58:24 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035849965 2743 80.91.224.249 (29 Oct 2002 00:06:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 00:06:05 +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 186JtT-0000i0-00 for ; Tue, 29 Oct 2002 01:06: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) id 186Jtn-0000Gp-00; Mon, 28 Oct 2002 19:06:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 28 Oct 2002 18:00:06 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Linux) Original-Lines: 31 Original-X-Trace: sv3-hgLEDFQ8jiwc7bty078MTZgJ3V156gM4L1e4OJ6/Xu/QI2qR7GxcGxSYj/fzoINjplDF8bo4u7YeiAX!CoTV8sio4XWGxNSdO4apfXrye4P1J/JW3MeN/JXFaqxhWp/pDdM8M+avZvYSLhNAsIcJapf1EsAv!x4KCyK/R3zcnRgJIrDHC3BQ= Original-X-Complaints-To: abuse@speakeasy.net X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:106470 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:3020 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3020 In article , Da Witch wrote: > > > > I've noticed that sometimes, especially after I have been editing a > buffer for a long time, or if I try to use "qw( ... )", cperl-mode > begins to show signs of "fatigue" (for lack of a better word). For > example, syntax-based highlighting stops, and everything I type > appears in the default foreground text color; or else everything > appears in the color reserved for quoted strings. > > Is there a way to fix this problem? I see the same kind of thing. I just make note of the line I'm on and C-x C-v to reload the file again. If it is annoying enough to you, it should be possible to write a function to do that for you. Call it cperl-rest or something. > PS: How can I figure out what version of cperl-mode I have? Our > system has the cperl-mode.elc file only, and I don't know how to > determine the version from it. M-x describe-variable cperl-version But that may not be present. I see that in Emacs 21's cperl-mode.el. -- matt