all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re-vitalizing cperl-mode
@ 2020-07-02 11:34 Harald Jörg
  2020-07-02 13:26 ` Eli Zaretskii
  2020-07-02 13:40 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Harald Jörg @ 2020-07-02 11:34 UTC (permalink / raw)
  To: emacs-devel

Hello Emacs devs,

Emacs comes with cperl-mode, a major mode to edit Perl programs.
I am using it, and I'm happy with it.

However, Perl is evolving... and I noticed that cperl-mode isn't
developed accordingly.  New versions of Perl might come with new
keywords for syntax highlighting (e.g. "isa" in Perl 5.32), or with
new syntactic constructs which affect highlighting, indenting, and
indexing for imenu (e.g. "package Foo { ...; }" in Perl 5.14).
These are not handled correctly by cperl-mode right now.

I come here to ask for guidance how to proceed and to offer help.

For the easy part, I created my own repository for cperl-mode at
https://github.com/HaraldJoerg/cperl-mode. While working on that, I
found that some things are easy to fix, while others need some
refactoring, so things have diverged a bit, but not too much.  I
maintain the current state of my hacking at
https://github.com/HaraldJoerg/cperl-mode/blob/master/etc/NEWS.

So I could file bug reports and pull requests against Emacs which
would be trivial in some cases... but some come with bigger changes in
the innards of cperl-mode.  There is no test suite for cperl-mode, and
my very limited experience with elisp doesn't help.

Should I just keep the status quo - and the Emacs dev team will decide
whether, and which of my changes you will adopt into the next Emacs
release?

Would it be an option to give cperl-mode a "dual life" in Emacs and in
(M)ELPA?  That way, changes in the Perl programming language could be
reacted upon without waiting for the next release of Emacs - and new
features could be tested by volunteers from the Perl community before
they are, eventually, merged into Emacs when they are considered
stable.

In any case: What rules / conventions / tools and frameworks should I
obey to make my changes palatable for Emacs and/or (M)ELPA?

In any case, I'll also ask for feedback in the Perl community.  First
casual contacts in Perl's IRC channel stirred interest, and there seem
to be as many opinions as participants.  Business as usual :)
--
Cheers, and thanks for providing Emacs and cperl-mode,
haj



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-02 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-02 11:34 Re-vitalizing cperl-mode Harald Jörg
2020-07-02 13:26 ` Eli Zaretskii
2020-07-02 14:28   ` Harald Jörg
2020-07-02 13:40 ` Stefan Monnier
2020-07-02 14:56   ` Harald Jörg

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.