* [bug#59417] [PATCH] gnu: Add emacs-on.
@ 2022-11-20 18:39 jgart via Guix-patches via
2022-11-21 14:40 ` Christopher Baines
0 siblings, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-11-20 18:39 UTC (permalink / raw)
To: 59417; +Cc: jgart
* gnu/packages/emacs-xyz.scm (emacs-on): New variable.
---
gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5c1138e954..232a547fb0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33845,6 +33845,28 @@ (define-public emacs-mpv
process via its IPC interface.")
(license license:gpl3+))))
+(define-public emacs-on
+ (let ((commit "83baed07a105c135190d49d7ec77f95e8f38fa54")
+ (revision "0"))
+ (package
+ (name "emacs-on")
+ (version (git-version "0.1.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ajgrf/on.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14ly3w89hf4jgd8wacirxgd8vrgj7vc0hpfn911w5wa4k2a6nzpp"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/ajgrf/on.el")
+ (synopsis "Hooks for faster Emacs startup")
+ (description
+"This package exposes a number of utility hooks and functions ported from Doom Emacs.")
+ (license license:expat))))
+
(define-public emacs-waveform
;; XXX: Upstream provides no Version keyword. Using 0 as base version.
(let ((commit "ee52c6a72b3e9890743e3a6e2fc1f3195f5687b2")
--
2.38.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#59417] [PATCH] gnu: Add emacs-on.
2022-11-20 18:39 [bug#59417] [PATCH] gnu: Add emacs-on jgart via Guix-patches via
@ 2022-11-21 14:40 ` Christopher Baines
2022-11-27 18:23 ` jgart via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2022-11-21 14:40 UTC (permalink / raw)
To: jgart; +Cc: 59417-done, 59417
[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]
jgart via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-on): New variable.
> ---
> gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
Thanks, I've pushed this to master as
f0cc7542f535cd0ccb75352cabc465a8dc1b1551.
Note that I did move the package definition to not be so close to the
bottom of the module. Thanks for following the comment and not putting
it right at the bottom, but the other important bit is "place them above
by existing packages with similar functionality or similar names".
The intent with that is to avoid Git conflicts when several packages are
added in the same place. For example, you also sent this patch
https://issues.guix.gnu.org/59429 that adds emacs-ukrainian-holidays in
the same place. That's just asking for Git trouble!
I normally just search for the start of the package name, e.g. emacs-o
and then find a similarly named package to place the new one by,
e.g. emacs-on-screen in this case.
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#59417] [PATCH] gnu: Add emacs-on.
2022-11-21 14:40 ` Christopher Baines
@ 2022-11-27 18:23 ` jgart via Guix-patches via
2022-11-27 18:26 ` ( via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-11-27 18:23 UTC (permalink / raw)
To: Christopher Baines; +Cc: 59417-done, 59417
On Mon, 21 Nov 2022 14:40:58 +0000 Christopher Baines <mail@cbaines.net> wrote:
> Thanks, I've pushed this to master as
> f0cc7542f535cd0ccb75352cabc465a8dc1b1551.
Thanks!
> Note that I did move the package definition to not be so close to the
> bottom of the module. Thanks for following the comment and not putting
> it right at the bottom, but the other important bit is "place them above
> by existing packages with similar functionality or similar names".
>
> The intent with that is to avoid Git conflicts when several packages are
> added in the same place. For example, you also sent this patch
> https://issues.guix.gnu.org/59429 that adds emacs-ukrainian-holidays in
> the same place. That's just asking for Git trouble!
Sorry about that! I'll keep it in mind for future patch sets. I think I'll
just start putting stuff in alphabetical order to avoid this altogether.
all best,
jgart
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#59417] [PATCH] gnu: Add emacs-on.
2022-11-27 18:23 ` jgart via Guix-patches via
@ 2022-11-27 18:26 ` ( via Guix-patches via
2022-11-27 18:32 ` jgart via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: ( via Guix-patches via @ 2022-11-27 18:26 UTC (permalink / raw)
To: jgart, Christopher Baines; +Cc: 59417, 59417-done
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
On Sun Nov 27, 2022 at 6:23 PM GMT, jgart via Guix-patches via wrote:
> Sorry about that! I'll keep it in mind for future patch sets. I think I'll
> just start putting stuff in alphabetical order to avoid this altogether.
It doesn't mean alphabetical order by "similar names", so I'm pretty sure that
would still be an incorrect ordering.
-- (
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#59417] [PATCH] gnu: Add emacs-on.
2022-11-27 18:26 ` ( via Guix-patches via
@ 2022-11-27 18:32 ` jgart via Guix-patches via
2022-11-27 18:51 ` ( via Guix-patches via
0 siblings, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-11-27 18:32 UTC (permalink / raw)
To: (; +Cc: 59417-done, Christopher Baines, 59417
On Sun, 27 Nov 2022 18:26:10 +0000 "(" <paren@disroot.org> wrote:
> On Sun Nov 27, 2022 at 6:23 PM GMT, jgart via Guix-patches via wrote:
> > Sorry about that! I'll keep it in mind for future patch sets. I think I'll
> > just start putting stuff in alphabetical order to avoid this altogether.
>
> It doesn't mean alphabetical order by "similar names", so I'm pretty sure that
> would still be an incorrect ordering.
I was thinking strict alphabetical ordering of packages like crates-io.scm
But I realize now that a given module that is not crates-io.scm might
have packages in random order...
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#59417] [PATCH] gnu: Add emacs-on.
2022-11-27 18:32 ` jgart via Guix-patches via
@ 2022-11-27 18:51 ` ( via Guix-patches via
0 siblings, 0 replies; 6+ messages in thread
From: ( via Guix-patches via @ 2022-11-27 18:51 UTC (permalink / raw)
To: jgart; +Cc: 59417-done, Christopher Baines, 59417
[-- Attachment #1: Type: text/plain, Size: 410 bytes --]
On Sun Nov 27, 2022 at 6:32 PM GMT, jgart wrote:
> On Sun, 27 Nov 2022 18:26:10 +0000 "(" <paren@disroot.org> wrote:
> I was thinking strict alphabetical ordering of packages like crates-io.scm
>
> But I realize now that a given module that is not crates-io.scm might
> have packages in random order...
Yup, it's only the crates-*.scm files that should be alphabetically ordered, I think.
-- (
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-11-27 18:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-20 18:39 [bug#59417] [PATCH] gnu: Add emacs-on jgart via Guix-patches via
2022-11-21 14:40 ` Christopher Baines
2022-11-27 18:23 ` jgart via Guix-patches via
2022-11-27 18:26 ` ( via Guix-patches via
2022-11-27 18:32 ` jgart via Guix-patches via
2022-11-27 18:51 ` ( via Guix-patches via
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.