unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Harald Jörg" <haj@posteo.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: cperl-mode: Eliminating references to obsolete packages
Date: Wed, 23 Sep 2020 21:38:44 +0200	[thread overview]
Message-ID: <ee30c62a-b5e7-04cb-3fe9-3459129dfde3@posteo.de> (raw)
In-Reply-To: <jwvy2l0s3t8.fsf-monnier+emacs@gnu.org>

Stefan Monnier writes

>> I'd like to prepare a patch which removes all conditionals querying
>> these functions, the associate code branches, and related
>> customization variables.
> 
> Sounds good!
> In the (distant) past I tended to try and keep the code unchanged to
> minimize conflict with Ilya's upstream version, but AFAIK nowadays there
> is no "upstream version" any more, so we can clean it up.  We may want
> to keep the compatible with some older Emacsen (like Emacs-25), e.g. if
> we want to distribute the code via GNU ELPA.

I guess Ilya has retired?  Should I try to contact him?

I want to keep it compatible with at least Emacs 26, since this is the
version currently available with "stable" Linux distributions, and
this is the version used by Perlers who have shown interest or given
feedback so far.  As of now, I have found two commits which violate
that, one of which I consider fairly irrelevant (timing font-locking:
This was an issue 20 years ago, when computers where a bit slower).

I am unsure about the procedure: Should the backwards-compatible
version live in a separate branch on Emacs?  In the ELPA repository?
Or should incompatible changes just be avoided in the master branch?
There's still a lot to be done to modernize cperl-mode.el, and
manually keeping two versions in synch seems ugly.

Right now, I was lazy enough to create a branch in my own GitHub
repository which follows the master branch in the Emacs repository,
but eliminated one change so far which broke Emacs 26 compatibility:
The function format-prompt is new in Emacs 28.
-- 
Cheers,
haj



  reply	other threads:[~2020-09-23 19:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23 18:37 cperl-mode: Eliminating references to obsolete packages Harald Jörg
2020-09-23 19:16 ` Stefan Monnier
2020-09-23 19:38   ` Harald Jörg [this message]
2020-09-23 19:50     ` Stefan Monnier
2020-09-24 15:34       ` Harald Jörg
2020-09-24 17:09         ` Stefan Monnier
2020-09-24 18:43           ` Harald Jörg
2020-09-24 22:20             ` Stefan Monnier

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=ee30c62a-b5e7-04cb-3fe9-3459129dfde3@posteo.de \
    --to=haj@posteo.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).