From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Harald Jörg" <haj@posteo.de>
Cc: 43622@debbugs.gnu.org
Subject: bug#43622: 28.0.50; [CLEANUP][PATCH] cperl-mode: Eliminate dead code
Date: Sat, 26 Sep 2020 15:53:14 +0200 [thread overview]
Message-ID: <87k0wglk51.fsf@gnus.org> (raw)
In-Reply-To: <c7f3c986-12d5-c765-0ef7-c6942ccf380a@posteo.de> ("Harald Jörg"'s message of "Sat, 26 Sep 2020 02:35:15 +0200")
Harald Jörg <haj@posteo.de> writes:
> As recently discussed on the emacs-devel list, I'd like to eradicate
> conditional code from cperl-mode where the conditionals evaluate to nil.
>
> This is a rather large part of the cleanup, related to all that stuff
> which has changed in the last years with regard to font-lock-mode and
> cperl-mode's homegrown fontification based on features which are no
> longer available.
>
> I tested Perl code on my repositories (twiki.org code and
> https://github.com/act-psgi/Act), written by different authors in
> different styles, and could not find any change in fontification.
Looks good, so I've applied it to Emacs 28 with one change:
In end of data:
progmodes/cperl-mode.el:8525:1: Warning: the function `cperl-init-faces-weak'
is not known to be defined.
This function was removed, but the call wasn't, so I removed it (and
changed the surrounding code slightly). If you could check that I
didn't mess up that bit, that'd be nice.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2020-09-26 13:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-26 0:35 bug#43622: 28.0.50; [CLEANUP][PATCH] cperl-mode: Eliminate dead code Harald Jörg
2020-09-26 13:53 ` Lars Ingebrigtsen [this message]
2020-09-26 14:42 ` 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
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=87k0wglk51.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=43622@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 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).