unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Harald Jörg" <haj@posteo.de>
Cc: emacs-devel@gnu.org
Subject: Re: cperl-mode: Eliminating references to obsolete packages
Date: Thu, 24 Sep 2020 13:09:04 -0400	[thread overview]
Message-ID: <jwv1rirp0vw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <b636d94c-6205-0853-d99b-f22849bdcdde@posteo.de> ("Harald Jörg"'s message of "Thu, 24 Sep 2020 17:34:48 +0200")

> The point of *this* post was to actually _eliminate_ some fboundp
> conditionals in cperl-mode.el, so it feels a bit weird to introduce a
> new one in the same step.

Either way is fine by me.

> But replacement of deprecated / old stuff does occasionally happens
> across the Emacs repository.

Yes.

> This may hit cperl-mode.el at any time, like it did with time-convert
> and format-prompt.  So, every now and then, the Emacs repository will
> contain a cperl-mode.el which won't work with Emacs 26, until someone
> notices it and someone prepares another backporting-patch.

That's right.  We have that problem for all 17 current GNU ELPA packages
distributed directly from the `emacs.git` repository.

For example that "format-prompt" problem currently also affects the
python.el GNU ELPA package.  Luckily, AFAICT we haven't yet released
a new python.el package (because the version number has not been
bumped), but the problem is real.

In practice it hasn't been too problematic, in part because it's very
easy to make/distribute/download/install a new release that fixes
the problem.

> Or until cperl-mode.el gets a place or procedure where these changes
> don't hit.

Some automated tests that try to build&compile (and treat warnings as
errors) those packages on the corresponding oldest Emacs version
supported would come in handy.


        Stefan




  reply	other threads:[~2020-09-24 17:09 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
2020-09-23 19:50     ` Stefan Monnier
2020-09-24 15:34       ` Harald Jörg
2020-09-24 17:09         ` Stefan Monnier [this message]
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=jwv1rirp0vw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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).