unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* haskell-mode
@ 2015-08-01 16:18 Federico Beffa
  2015-08-02 11:59 ` haskell-mode Alex Kost
  0 siblings, 1 reply; 8+ messages in thread
From: Federico Beffa @ 2015-08-01 16:18 UTC (permalink / raw)
  To: Guix-devel

Hi,

I would like to propose to change the name of package 'haskell-mode'
to 'emacs-haskell-mode' as we recently started doing for emacs
packages.

WDYT?
Fede

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

* Re: haskell-mode
  2015-08-01 16:18 haskell-mode Federico Beffa
@ 2015-08-02 11:59 ` Alex Kost
  2015-08-03  7:50   ` haskell-mode Federico Beffa
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Kost @ 2015-08-02 11:59 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

Federico Beffa (2015-08-01 19:18 +0300) wrote:

> Hi,
>
> I would like to propose to change the name of package 'haskell-mode'
> to 'emacs-haskell-mode' as we recently started doing for emacs
> packages.
>
> WDYT?

I agree on this, but I don't understand the convention of naming emacs
packages.  What about "geiser", "emms", "magit", "paredit"?  I have a
feeling they shouldn't be renamed into "emacs-geiser", … but I can't
explain why.

-- 
Alex

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

* Re: haskell-mode
  2015-08-02 11:59 ` haskell-mode Alex Kost
@ 2015-08-03  7:50   ` Federico Beffa
  2015-08-03  9:59     ` haskell-mode Andreas Enge
  2015-08-03 12:36     ` haskell-mode Alex Kost
  0 siblings, 2 replies; 8+ messages in thread
From: Federico Beffa @ 2015-08-03  7:50 UTC (permalink / raw)
  To: Alex Kost; +Cc: Guix-devel

On Sun, Aug 2, 2015 at 1:59 PM, Alex Kost <alezost@gmail.com> wrote:
> Federico Beffa (2015-08-01 19:18 +0300) wrote:
>
>> Hi,
>>
>> I would like to propose to change the name of package 'haskell-mode'
>> to 'emacs-haskell-mode' as we recently started doing for emacs
>> packages.
>>
>> WDYT?
>
> I agree on this, but I don't understand the convention of naming emacs
> packages.  What about "geiser", "emms", "magit", "paredit"?  I have a
> feeling they shouldn't be renamed into "emacs-geiser", … but I can't
> explain why.

The discussion on naming was very quick:
https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00309.html

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.

Fede

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

* Re: haskell-mode
  2015-08-03  7:50   ` haskell-mode Federico Beffa
@ 2015-08-03  9:59     ` Andreas Enge
  2015-08-05 10:06       ` haskell-mode Federico Beffa
  2015-08-03 12:36     ` haskell-mode Alex Kost
  1 sibling, 1 reply; 8+ messages in thread
From: Andreas Enge @ 2015-08-03  9:59 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel, Alex Kost

Hello,

On Mon, Aug 03, 2015 at 09:50:33AM +0200, Federico Beffa wrote:
> The discussion on naming was very quick:
> https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00309.html
> 
> 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.

could you maybe suggest a patch adding a section to the chapter on
naming conventions in the manual?

Thanks in advance,

Andreas

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

* Re: haskell-mode
  2015-08-03  7:50   ` haskell-mode Federico Beffa
  2015-08-03  9:59     ` haskell-mode Andreas Enge
@ 2015-08-03 12:36     ` Alex Kost
  2015-08-05 10:11       ` haskell-mode Federico Beffa
  1 sibling, 1 reply; 8+ messages in thread
From: Alex Kost @ 2015-08-03 12:36 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

Federico Beffa (2015-08-03 10:50 +0300) wrote:

> On Sun, Aug 2, 2015 at 1:59 PM, Alex Kost <alezost@gmail.com> wrote:
>> Federico Beffa (2015-08-01 19:18 +0300) wrote:
>>
>>> Hi,
>>>
>>> I would like to propose to change the name of package 'haskell-mode'
>>> to 'emacs-haskell-mode' as we recently started doing for emacs
>>> packages.
>>>
>>> WDYT?
>>
>> I agree on this, but I don't understand the convention of naming emacs
>> packages.  What about "geiser", "emms", "magit", "paredit"?  I have a
>> feeling they shouldn't be renamed into "emacs-geiser", … but I can't
>> explain why.
>
> The discussion on naming was very quick:
> https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00309.html
>
> 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.

I was confused because you proposed to rename only 'haskell-mode'.  I
think it is better to rename all emacs packages in once.

-- 
Alex

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

* Re: haskell-mode
  2015-08-03  9:59     ` haskell-mode Andreas Enge
@ 2015-08-05 10:06       ` Federico Beffa
  0 siblings, 0 replies; 8+ messages in thread
From: Federico Beffa @ 2015-08-05 10:06 UTC (permalink / raw)
  To: Andreas Enge; +Cc: Guix-devel, Alex Kost

On Mon, Aug 3, 2015 at 11:59 AM, Andreas Enge <andreas@enge.fr> wrote:
> Hello,
>
> On Mon, Aug 03, 2015 at 09:50:33AM +0200, Federico Beffa wrote:
>> The discussion on naming was very quick:
>> https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00309.html
>>
>> 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.
>
> could you maybe suggest a patch adding a section to the chapter on
> naming conventions in the manual?

Right now I don't have time. I may do it in a few weeks.

Sorry,
Fede

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

* Re: haskell-mode
  2015-08-03 12:36     ` haskell-mode Alex Kost
@ 2015-08-05 10:11       ` Federico Beffa
  2015-08-18 15:50         ` haskell-mode Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Federico Beffa @ 2015-08-05 10:11 UTC (permalink / raw)
  To: Alex Kost; +Cc: Guix-devel

On Mon, Aug 3, 2015 at 2:36 PM, Alex Kost <alezost@gmail.com> wrote:
> Federico Beffa (2015-08-03 10:50 +0300) wrote:
>
>> On Sun, Aug 2, 2015 at 1:59 PM, Alex Kost <alezost@gmail.com> wrote:
>>> Federico Beffa (2015-08-01 19:18 +0300) wrote:
>>>
>>>> Hi,
>>>>
>>>> I would like to propose to change the name of package 'haskell-mode'
>>>> to 'emacs-haskell-mode' as we recently started doing for emacs
>>>> packages.
>>>>
>>>> WDYT?
>>>
>>> I agree on this, but I don't understand the convention of naming emacs
>>> packages.  What about "geiser", "emms", "magit", "paredit"?  I have a
>>> feeling they shouldn't be renamed into "emacs-geiser", … but I can't
>>> explain why.
>>
>> The discussion on naming was very quick:
>> https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00309.html
>>
>> 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.
>
> I was confused because you proposed to rename only 'haskell-mode'.  I
> think it is better to rename all emacs packages in once.

Right, I only intended to change 'haskell-mode' because I'm probably
the only user of it. But then you mentioned the other emacs packages
and I expressed my opinion on the matter. Changing geiser, paredit,
and other emacs packages is going to be disruptive to the work flow of
many people. That's the reason why I'm not interested in doing this
change myself.

But, I agree that it would make sense to change all of them together.
So, I will not change anything, at least for now.

Regards,
Fede

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

* Re: haskell-mode
  2015-08-05 10:11       ` haskell-mode Federico Beffa
@ 2015-08-18 15:50         ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-08-18 15:50 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel, Alex Kost

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’.

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

end of thread, other threads:[~2015-08-18 15:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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         ` haskell-mode Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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