unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "John Wiegley" <johnw@gnu.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>,
	37976@debbugs.gnu.org, Terje Larsen <terlar@gmail.com>
Subject: bug#37976: 27.0.50; Dependency reversal of seq-subseq and cl-subseq causes regression when using seq from ELPA
Date: Fri, 15 Nov 2019 14:56:08 -0500	[thread overview]
Message-ID: <jwv1ru8ex9i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m2ftiphrot.fsf@newartisans.com> (John Wiegley's message of "Fri,  15 Nov 2019 11:20:50 -0800")

> SM> It does look like the problem is on NixOS's side, indeed.
> I can confirm that stubbing this in Nix based on the Emacs version fixes the
> problem for me:
>
>     seq = if super.emacs.version == "27.0"
>       then mkDerivation rec {
>         name = "seq-stub";
>         version = "stub";
>         src = ./.;
>         phases = [ "installPhase" ];
>         installPhase = ''
>           mkdir $out
>           touch $out/.empty
>         '';
>       }
>       else super.seq;
>
> We'll have to ask the maintainers of the Emacs portion of nixpkgs to do
> something similar on their side.

I don't think they need to do something special for Emacs≥27, instead
they should install those packages without touching load-path but
instead making sure package.el sees those installed packages so *it* can
activate those packages properly (adding them to `load-path` and loading
their <pkg>-autoloads.el files, all while obeying `package-load-list`).

I'd be surprised if their system doesn't introduce bugs in
Emacs<27 already.


        Stefan






  reply	other threads:[~2019-11-15 19:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 10:15 bug#37976: 27.0.50; Dependency reversal of seq-subseq and cl-subseq causes regression when using seq from ELPA Terje Larsen
2019-11-04  9:21 ` Michael Heerdegen
2019-11-05  6:14   ` Terje Larsen
2019-11-08 17:44     ` Michael Heerdegen
2019-11-12 22:26       ` Stefan Monnier
2019-11-13 11:30         ` Terje Larsen
2019-11-13 13:42           ` Stefan Monnier
2019-11-15 19:20             ` John Wiegley
2019-11-15 19:56               ` Stefan Monnier [this message]
2020-08-25 23:32                 ` Stefan Kangas

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=jwv1ru8ex9i.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=37976@debbugs.gnu.org \
    --cc=johnw@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=terlar@gmail.com \
    /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).