all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Patrick Goldmann <patrick.goldmann@gmail.com>
To: "Harald Jörg" <haj@posteo.de>
Cc: 70948@debbugs.gnu.org
Subject: bug#70948: 29.3; cperl mode hangs on comments like "#___"
Date: Tue, 14 May 2024 21:38:22 +0200	[thread overview]
Message-ID: <CAMQVTgUjTJBB8FsPbFKuMkADoB0oiXP4vA+vYTPmF+jhMgM6Jg@mail.gmail.com> (raw)
In-Reply-To: <CAMQVTgWtU=8p15Cj32MtGqfEJFEEFrUFKR7d-K2V7Fh6sx-xAA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1731 bytes --]

This was bugging me, so I played around with it a bit more.

It seems this has nothing to do at all with version control etc, but with
the number of underscores.

I could reproduce it on my private machine with a clean emacs 29.3 install
by:
- C-x C-f foo.pl
- M-x cperl-mode
- just keeping underscore pressed

Emacs will slow down eventually and then hang. Haven't waited long enough
to see if it recovers.

Hope this helps.

On Tue, May 14, 2024 at 8:46 PM Patrick Goldmann <patrick.goldmann@gmail.com>
wrote:

> Just got home and tried to reproduce this on my private machine, it worked
> just fine.
>
> So I guess this is something on my work machine, maybe version control
> related or something.
> Still strange this happened while running emacs -Q.
>
> I can try your file tomorrow, but my guess is if I drop this into one of
> my project directories it won't work.
> I'll try it outside of version controlled directories, too, and provide an
> example file.
>
> But if it turns out this is somehow related to version control or
> something else in my project tree, this will be hard to debug and might not
> even be directly related to cperl-mode at all :(
>
> On Tue, May 14, 2024 at 8:20 PM Harald Jörg <haj@posteo.de> wrote:
>
>> Patrick Goldmann <patrick.goldmann@gmail.com> writes:
>>
>> > While trying to open files (with cperl-mode, perl-mode works)
>> > containing comments of this sort, emacs hangs.
>>
>> Unfortunately I can not reproduce this.  I tried on Windows with exactly
>> the same Emacs version with the attached file, and it works as expected.
>>
>> Can you pleas try this file, and provide a file where Emacs hanvs?
>> --
>> Cheers,
>> haj
>>
>>

[-- Attachment #2: Type: text/html, Size: 2624 bytes --]

  reply	other threads:[~2024-05-14 19:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-14 16:35 bug#70948: 29.3; cperl mode hangs on comments like "#___" Patrick Goldmann
2024-05-14 17:55 ` Eli Zaretskii
2024-05-14 18:20 ` Harald Jörg
2024-05-14 18:46   ` Patrick Goldmann
2024-05-14 19:38     ` Patrick Goldmann [this message]
2024-05-14 22:34       ` Harald Jörg
2024-05-15 21:54         ` Harald Jörg
2024-05-16  8:19           ` Eli Zaretskii
2024-05-16 16:43             ` Harald Jörg
2024-05-16 18:22               ` Eli Zaretskii
2024-05-16 21:00       ` Harald Jörg

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=CAMQVTgUjTJBB8FsPbFKuMkADoB0oiXP4vA+vYTPmF+jhMgM6Jg@mail.gmail.com \
    --to=patrick.goldmann@gmail.com \
    --cc=70948@debbugs.gnu.org \
    --cc=haj@posteo.de \
    /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.