all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Nathan Trapuzzano <nbtrap@nbtrap.com>
Cc: 15778@debbugs.gnu.org
Subject: bug#15778: 24.3; cperl-mode causes emacs to lock up
Date: Sun, 03 Nov 2013 20:39:45 +0100	[thread overview]
Message-ID: <8761s9w9z2.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <87k3gpsi1l.fsf@nbtrap.com> (Nathan Trapuzzano's message of "Sun,  03 Nov 2013 08:59:02 -0500")

On Sun, 03 Nov 2013 08:59:02 -0500 Nathan Trapuzzano <nbtrap@nbtrap.com> wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> I also tried and failed to get Edebug to kick in here, but I did make an
>> observation that surprised me but I assume is somehow relevant: if I
>> start Emacs with -Q, insert your sample perl code in a new buffer,
>> invoke cperl-mode, go to line 44 and type C-k, Emacs hangs, as you
>> discovered -- but if, after starting with -Q and inserting the sample
>> code I first invoke perl-mode and after the buffer fontifies invoke
>> cperl-mode, now when I go to line 44, C-k kills the line as it should
>> and there is no other problem, even if I then change the buffer to some
>> other mode and then back to cperl-mode again.
>
> Since there seems to be inconsistend behavior, would you mind trying my
> patch and making sure none of the scenarios you've tried so far causes
> Emacs to hang?

After applying your patch and byte-compiling the patched cperl-mode.el,
the above recipe no longer makes Emacs infloop.  (It still infloops when
I just apply the patch and evaluate the patched
cperl-font-lock-fontify-region-function without compiling the library).

Steve Berman





  reply	other threads:[~2013-11-03 19:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-01 11:19 bug#15778: 24.3; cperl-mode causes emacs to lock up Nathan Trapuzzano
2013-11-01 11:46 ` Eli Zaretskii
2013-11-01 12:16   ` Nathan Trapuzzano
2013-11-01 14:41     ` Eli Zaretskii
2013-11-01 14:59       ` Nathan Trapuzzano
2013-11-01 16:26         ` Eli Zaretskii
2013-11-01 17:21           ` Nathan Trapuzzano
2013-11-01 20:23             ` Stephen Berman
2013-11-03  0:00               ` Stephen Berman
2013-11-03 12:00                 ` Nathan Trapuzzano
2013-11-03 13:41                   ` Stephen Berman
2013-11-03 13:59                     ` Nathan Trapuzzano
2013-11-03 19:39                       ` Stephen Berman [this message]
2013-11-03 19:48                         ` Nathan Trapuzzano
2013-11-03 22:22                           ` Stephen Berman
2013-11-03 22:50                             ` Nathan Trapuzzano
2013-11-04  1:48                               ` Stefan Monnier
2013-11-04  2:29                                 ` Nathan Trapuzzano
2013-11-04  3:52                                   ` Stefan Monnier
2013-11-03 14:15                   ` Stefan Monnier
2013-11-03 14:23                     ` Nathan Trapuzzano

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=8761s9w9z2.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=15778@debbugs.gnu.org \
    --cc=nbtrap@nbtrap.com \
    /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.