all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>, Alex Kost <alezost@gmail.com>
Subject: Re: haskell-mode
Date: Tue, 18 Aug 2015 17:50:32 +0200	[thread overview]
Message-ID: <87bne4oat3.fsf@gnu.org> (raw)
In-Reply-To: <CAKrPhPMzgAESuGcv-_RGUvGc7vOk0T+CaVeJpP2exGtxxNq7RA@mail.gmail.com> (Federico Beffa's message of "Wed, 5 Aug 2015 12:11:01 +0200")

Federico Beffa <beffa@ieee.org> skribis:

> On Mon, Aug 3, 2015 at 2:36 PM, Alex Kost <alezost@gmail.com> wrote:
>> Federico Beffa (2015-08-03 10:50 +0300) wrote:

[...]

>>> From my point of view, if we want to be consistent we should use the
>>> same prefix for all packages providing Emacs libraries/extensions.
>>> Choices based on feelings are just going to make things confusing.

Agreed.

So I agree we should rename the other packages as well.  The problem
that will make it disruptive is that the UIs don’t know about renames,
so ‘guix package -u’ for instance will never upgrade ‘geiser’ etc. and
people may not notice.

Maybe we should fix that first.

A simple idea that comes to mind would be to have definitions like:

  (define-syntax-rule (define-deprecated-alias variable pkg old-name)
    (define-public variable
      (package
        (inherit pkg)
        (name old-name)
        (properties `((deprecated-alias . ,pkg))))))

  ;; The new package is called “emacs-geiser”; previous it was called
  ;; “geiser”.
  (define-deprecated-alias old-geiser geiser "geiser")

and somehow have (guix profiles) handle it nicely.  That is, installing
“geiser” would automatically install “emacs-geiser” and emit a warning;
upgrading a profile containing “geiser” would upgrade to “emacs-geiser”
and emit a warning.

Any takers?

Ludo’.

      reply	other threads:[~2015-08-18 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01 16:18 haskell-mode Federico Beffa
2015-08-02 11:59 ` haskell-mode Alex Kost
2015-08-03  7:50   ` haskell-mode Federico Beffa
2015-08-03  9:59     ` haskell-mode Andreas Enge
2015-08-05 10:06       ` haskell-mode Federico Beffa
2015-08-03 12:36     ` haskell-mode Alex Kost
2015-08-05 10:11       ` haskell-mode Federico Beffa
2015-08-18 15:50         ` Ludovic Courtès [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bne4oat3.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.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.