unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Harald Jörg" <haj@posteo.de>
To: 66145@debbugs.gnu.org
Subject: bug#66145: 30.0.50; cperl-mode unexpected fontification in comments
Date: Sun, 24 Sep 2023 12:57:32 +0000	[thread overview]
Message-ID: <87bkdrybib.fsf@oook.m.uunet.de> (raw)
In-Reply-To: <35b1b9cd-e2a6-9d9d-7f56-2026bbef4ef2@gmail.com> (Mauro Aranda's message of "Thu, 21 Sep 2023 17:59:28 -0300")

tags 66145 + confirmed
owner 66145 !
thanks

Mauro Aranda <maurooaranda@gmail.com> writes:

> After emacs -Q
> C-x C-f bug.pl
> M-x cperl-mode
> Type something like this:
> sub foo {
>   # Here we do something like
>   # this: $thing [ num_things ]->{prop}
> }
>
> $thing and prop get fontified.  That's unexpected.
>
> If I leave:
> # this: $thing
> it doesn't get fontified.

Ouch.  I seem to have re-introduced a behavior which had already been
fixed by Lars  (Bug#22867).  The ordering of fontification rules in
cperl-mode.el is somewhat ... delicate.
-- 
Sorry,
haj





  reply	other threads:[~2023-09-24 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21 20:59 bug#66145: 30.0.50; cperl-mode unexpected fontification in comments Mauro Aranda
2023-09-24 12:57 ` Harald Jörg [this message]
2023-10-10 12:11 ` Harald Jörg
2023-10-10 12:38   ` Mauro Aranda

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=87bkdrybib.fsf@oook.m.uunet.de \
    --to=haj@posteo.de \
    --cc=66145@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).