guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode.


From: Liliana Marie Prikler
Subject: [bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode.
Date: Sun, 12 Dec 2021 01:39:55 +0100
User-agent: Evolution 3.34.2

Hi,

Am Samstag, den 11.12.2021, 19:09 -0500 schrieb Morgan Smith:
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> > Rather than a new package, I think we can very well edit the
> > existing package in-place, so that we don't need to add a
> > meaningless deprecation.  For all intents and purposes, this still
> > is emacs-recutils -- it's still hosted alongside recutils even
> > though it's no longer bundled with it.
> 
> I have no clue if this is the intention or not but I always find that
> the emacs package names are in the format: emacs-FEATURE.  As in I
> can just do (load "FEATURE") to load the package and start
> exploring.  I was very confused when I first downloaded the package
> as (load "recutils") did nothing and I had to do (load "rec-
> mode").  I realize this convention isn't written down anywhere but I
> think maybe it should be because it's very helpful to me personally.
For the record, the convention is usually to use the upstream name, but
that's not always reasonable.  In this particular case, I'd argue that
emacs-recutils is equally good as it's still close enough to upstream,
plus the package does not solely contain rec-mode and ob-rec could
equally be seen as entry point.

As for loading FEATURE, that again only works for single-feature
libraries.  In addition, you shouldn't typically rely on (load
"FEATURE") or (require 'FEATURE) outside of other libraries anyway. 
Autoloads exist and Guix handles them.

Cheers






reply via email to

[Prev in Thread] Current Thread [Next in Thread]