From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: (cperl-mode) Problems with syntax highlighting after __DATA__ !
Date: Sat, 16 Oct 2010 07:20:46 -0700 (PDT) [thread overview]
Message-ID: <70e70be1-3110-4136-97a0-dd8d923591de@28g2000yqm.googlegroups.com> (raw)
In-Reply-To: slrnibhm2n.eh.nospam-abuse@powdermilk.math.berkeley.edu
Hi
> Ilya wrote:
> Sorry, not good enough for me. If you have *specific* examples of
> *short* stuff which causes a hanging, I may have a chance to try to
> put some workarounds.
As I said my case consists of 5000 lines of HTML-code. So a short
example is not possible.
I would greatly appreciate a possibility to switch of perl
highlighting behind __DATA__.
Some people put perl-code there most don't.
IMHO some HTML causes the highlighter to go astray in very deep back-
tracking recursion.
> And BTW "hanging" means what? One needs to press C-g, or what?
As I said slowing down when scrolling, till the point of
unresponsiveness and the need to kill emacs from shell.
Of course I tried C-g and ESC ESC ESC, but it didn't help, and at the
beginning there is a busy animation shown as mouse pointer.
> Stefan wrote:
> What happens if you use perl-mode instead of cperl-mode?
perl-mode also tries to highlight behind __DATA__, and also slows down
when scrolling sometimes showing a busy mouse pointer. But it doesn't
really hang for more than a second!
(which is no surprise since perl-mode does less highlighting than
cperl-mode - perl has a very rich syntax, maybe the richest of all
mainstream languages)
next prev parent reply other threads:[~2010-10-16 14:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 12:22 (cperl-mode) Problems with syntax highlighting after __DATA__ ! LanX
2010-10-15 6:57 ` Ilya Zakharevich
2010-10-15 10:40 ` LanX
2010-10-15 13:14 ` LanX
2010-10-15 13:35 ` LanX
2010-10-15 13:35 ` LanX
2010-10-15 22:40 ` Ilya Zakharevich
2010-10-16 14:20 ` LanX [this message]
2010-10-17 2:56 ` Stefan Monnier
2010-10-19 15:38 ` Ted Zlatanov
2010-10-20 19:40 ` Ilya Zakharevich
2010-10-20 19:42 ` Ilya Zakharevich
2010-10-21 11:43 ` LanX
2010-10-22 15:57 ` Ted Zlatanov
2010-10-24 5:59 ` Ilya Zakharevich
2010-10-17 11:03 ` Ilya Zakharevich
2010-10-15 14:25 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70e70be1-3110-4136-97a0-dd8d923591de@28g2000yqm.googlegroups.com \
--to=lanx.perl@googlemail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.