unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: cperl-mode "fatigue"
Date: Tue, 29 Oct 2002 08:51:00 -0500	[thread overview]
Message-ID: <20021029135100.3104A297C2@mixing.qc.dfo.ca> (raw)
In-Reply-To: Message from Da Witch <heather710101@yahoo.com>  of "Tue, 29 Oct 2002 13:31:37 GMT." <apm2jp$6i0$1@reader1.panix.com>

Da Witch <heather710101@yahoo.com> wrote:

> In <q5gznsx1vcc.fsf@lucent.com> Klaus Zeitler <kzeitler+usenet@sfsw51.lucent.com> writes:
> 
> >>>>>> "Da" == Da Witch <heather710101@yahoo.com> writes:
> >    Da> 
> >    Da> I've noticed that sometimes, especially after I have been editing a
> >    Da> buffer for a long time, or if I try to use "qw( ... )", cperl-mode
> >    Da> begins to show signs of "fatigue" (for lack of a better word).  For
> >    Da> example, syntax-based highlighting stops, and everything I type
> >    Da> appears in the default foreground text color; or else everything
> >    Da> appears in the color reserved for quoted strings.
> >    Da> 
> >I had this problem every once in a while with all emacs 20 versions, but
> >haven't observed it anymore since I switched to emacs 21. I always thought
> >that this is a font-lock problem.

Whenever font-lock stops working in a buffer, it's a very good bet that
a font-lock error occurs.  Perhaps the mode uses functions to return
matches and one of them is not behaviour correctly under certain
conditions.  Might be hard to track down (I'm not volunteering either).

> >                                  From emacs 21.1 on I've used jit-lock
> >(instead of fast-lock) as font-lock support mode.
> 
> Thanks (and to Matt too).  Nothing comes up when I type jit-lock into
> Apropos, but I am using v20.7.2.  Does jit-lock come standard with
> v21.1?  If not, where can I get it?

Yes, it's the default in emacs-21.2:

font-lock-support-mode's value is jit-lock-mode

Peter

  parent reply	other threads:[~2002-10-29 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 22:43 cperl-mode "fatigue" Da Witch
2002-10-28 23:58 ` Matt Armstrong
2002-10-29  8:51 ` Klaus Zeitler
2002-10-29 13:31   ` Da Witch
     [not found]     ` <heather710101@yahoo.com>
2002-10-29 13:51       ` Peter S Galbraith [this message]
2002-10-29 16:08 ` Stefan Monnier <foo@acm.com>
2002-10-29 21:57   ` Ilya Zakharevich
2002-10-30 16:08     ` Stefan Monnier <foo@acm.com>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021029135100.3104A297C2@mixing.qc.dfo.ca \
    --to=galbraithp@dfo-mpo.gc.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).