* [bug#55675] [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768.
@ 2022-05-27 12:52 Erik Šabič
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
` (3 more replies)
0 siblings, 4 replies; 19+ messages in thread
From: Erik Šabič @ 2022-05-27 12:52 UTC (permalink / raw)
To: 55675
* gnu/packages/emacs-xyz.scm (emacs-elm-mode): Update to 0.21.0-1.1e27768.
---
gnu/packages/emacs-xyz.scm | 43 +++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f7fb6aac35..f62c733fb5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19692,26 +19692,27 @@ (define-public emacs-ibuffer-vc
(license license:gpl3+)))
(define-public emacs-elm-mode
- (package
- (name "emacs-elm-mode")
- (version "0.21.0")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/jcollard/elm-mode")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0iwk4fmw8hq3ry4ky1zc7lgl4cpbnrjyk74c2xzddfspi3ks41fd"))))
- (propagated-inputs
- (list emacs-dash emacs-f emacs-reformatter emacs-s))
- (build-system emacs-build-system)
- (home-page "https://github.com/jcollard/elm-mode")
- (synopsis "Emacs major mode for editing Elm source code")
- (description
- "This package provides a major mode for editing Elm source code, and
+ ;; Version tag 0.21.0 was made Jan 14 2020. It doesn't work with Emacs 28
+ ;; due to missing, now-mandatory "when" arg for obsolete function alias.
+ (let ((commit "1e277684d8a6681a2410cce2dd589ee30a998369"))
+ (package
+ (name "emacs-elm-mode")
+ (version (git-version "0.21.0" "1" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcollard/elm-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1gnr61ibzcznfqy5f8capmbz75rcfikwy106rjdmp45qz2jwp4di"))))
+ (propagated-inputs (list emacs-f emacs-reformatter emacs-s))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/jcollard/elm-mode")
+ (synopsis "Emacs major mode for editing Elm source code")
+ (description
+ "This package provides a major mode for editing Elm source code, and
working with common core and third-party Elm tools. Its features are:
@itemize
@@ -19725,7 +19726,7 @@ (define-public emacs-elm-mode
@item Integration with elm-format
@item Integration with elm-test
@end itemize")
- (license license:gpl3+)))
+ (license license:gpl3+))))
(define-public emacs-helm-mode-manager
(package
base-commit: d37c7f7ad4134cc15d1558eb6c0bc4c59a0db1af
--
2.36.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19.
2022-05-27 12:52 [bug#55675] [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Erik Šabič
@ 2022-05-27 12:52 ` Erik Šabič
2022-05-27 13:12 ` Maxime Devos
` (3 more replies)
2022-05-27 13:21 ` [bug#55675] Question Erik Šabič
` (2 subsequent siblings)
3 siblings, 4 replies; 19+ messages in thread
From: Erik Šabič @ 2022-05-27 12:52 UTC (permalink / raw)
To: 55674
* gnu/packages/emacs-xyz.scm (emacs-helpful): Update to 0.19.
---
gnu/packages/emacs-xyz.scm | 39 ++++++++++++++++++++------------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f62c733fb5..6a659fabf3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20126,27 +20126,29 @@ (define-public emacs-download-region
(define-public emacs-helpful
(package
(name "emacs-helpful")
- (version "0.18")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Wilfred/helpful")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0gdjxykqkal2x765mi51m99i5ql23i1fy909wy4mzj5ajhjfgqcc"))))
+ (version "0.19")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Wilfred/helpful")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qwsifzsjw95l83m7z07fr9h1sqbhggwmcps1qgbddpan2a8ab8a"))))
(build-system emacs-build-system)
- (propagated-inputs
- (list emacs-elisp-refs emacs-dash emacs-s emacs-f emacs-shut-up))
- (native-inputs
- (list emacs-ert-runner emacs-undercover))
+ (propagated-inputs (list emacs-elisp-refs emacs-dash emacs-s emacs-f
+ emacs-shut-up))
+ (native-inputs (list emacs-ert-runner emacs-undercover))
(arguments
- `(#:tests? #t
- #:test-command '("ert-runner")))
+ ;; Tests are not passing; the author might not be using them anymore.
+ `(#:tests? #f
+ #:test-command
+ '("ert-runner")))
(home-page "https://github.com/Wilfred/helpful")
(synopsis "More contextual information in Emacs help")
- (description "@code{helpful} is an alternative to the built-in Emacs help
+ (description
+ "@code{helpful} is an alternative to the built-in Emacs help
that provides much more contextual information.
@itemize
@@ -20164,7 +20166,8 @@ (define-public emacs-helpful
@item Display any keybindings that apply to interactive functions.
@item Trace, disassemble functions from inside Helpful. This is discoverable
and doesn't require memorisation of commands.
-@end itemize\n")
+@end itemize
+")
(license license:gpl3+)))
(define-public emacs-logview
--
2.36.1
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19.
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
@ 2022-05-27 13:12 ` Maxime Devos
[not found] ` <CABeAMAkLbQHB_aGAr_Tf8+1DPzjMSW1mKSUH6Zh7fPyZQCAeBg@mail.gmail.com>
2022-05-27 14:58 ` [bug#55674] Broken tests Erik Šabič
` (2 subsequent siblings)
3 siblings, 1 reply; 19+ messages in thread
From: Maxime Devos @ 2022-05-27 13:12 UTC (permalink / raw)
To: Erik Šabič, 55674
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
Erik Šabič schreef op vr 27-05-2022 om 14:52 [+0200]:
> + ;; Tests are not passing; the author might not be using them anymore.
> + `(#:tests? #f
How do they fail? They might indicate a real problem in the code
(that's what tests are for -- detecting problems before they are
actually encountered).
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55675] Question
2022-05-27 12:52 [bug#55675] [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Erik Šabič
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
@ 2022-05-27 13:21 ` Erik Šabič
2022-05-27 13:49 ` Maxime Devos
2022-05-27 14:27 ` [bug#55675] emacs-dash Erik Šabič
2022-06-05 21:34 ` bug#55675: [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Ludovic Courtès
3 siblings, 1 reply; 19+ messages in thread
From: Erik Šabič @ 2022-05-27 13:21 UTC (permalink / raw)
To: 55675
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
I forgot to mention the removal of emacs-dash from propagated-inputs.
These are two unrelated updates in a patchset. I didn't know git send-email
would do this automatically. Is this okay? Or should I have submitted them
separately?
Thank you!
[-- Attachment #2: Type: text/html, Size: 322 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55675] [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19.
[not found] ` <CABeAMAkLbQHB_aGAr_Tf8+1DPzjMSW1mKSUH6Zh7fPyZQCAeBg@mail.gmail.com>
@ 2022-05-27 13:48 ` Maxime Devos
2022-05-27 17:23 ` Erik Šabič
0 siblings, 1 reply; 19+ messages in thread
From: Maxime Devos @ 2022-05-27 13:48 UTC (permalink / raw)
To: Erik Šabič; +Cc: 55675
[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]
[Please keep 55675@debbugs.gnu.org in CC]
Erik Šabič schreef op vr 27-05-2022 om 15:32 [+0200]:
> Well it fails on a test defined like this:
> (ert-deftest helpful--docstring ()
> "Basic docstring fetching."
> (should
> (equal
> (helpful--docstring #'test-foo t)
> "Docstring here.")))
>
> And fails like so:
> ...............s...s..Test helpful--docstring-advice backtrace:
>
> Test helpful--docstring-advice condition:
>
> (ert-test-failed
> ((should
> (equal
> (helpful--docstring ... t)
> "Docstring here too."))
> :form
> (equal "Docstring here too.\n\nThis function has :around
> advice: `ad-Advice-test-foo-advised'." "Docstring here too.")
> :value nil :explanation
> (arrays-of-different-length 84 19 "Docstring here too.\n\nThis
> function has :around advice: `ad-Advice-test-foo-advised'."
> "Docstring here too." first-mismatch-at 19)))
>
> F............................................................s......
Looks like a bug.
> I don't know anything about emacs-ert. And I wasn't able to
> figure out if it works for the upstream author.
>
> WDYT?
I don't know if it fails for the upstream author, but I don't think
that's relevant to Guix. More relevant I think, is that this bug
appears in Guix, so it can cause problems for Guix users, so some
fixing might be necessary.
I don't know much about Emacs though, so you might need to contact
upstream about the bug.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55675] Question
2022-05-27 13:21 ` [bug#55675] Question Erik Šabič
@ 2022-05-27 13:49 ` Maxime Devos
0 siblings, 0 replies; 19+ messages in thread
From: Maxime Devos @ 2022-05-27 13:49 UTC (permalink / raw)
To: Erik Šabič, 55675
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
Erik Šabič schreef op vr 27-05-2022 om 15:21 [+0200]:
> These are two unrelated updates in a patchset. I didn't know git
> send-email would do this automatically.
"git send-email" just sends the commits you made, it is up to the user
to split the commits appropriately, it doesn't do any cleanups.
> Is this okay? Or should I have submitted them
Depends, is it actually an unrelated change? Why is emacs-dash
removed?
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55675] emacs-dash
2022-05-27 12:52 [bug#55675] [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Erik Šabič
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
2022-05-27 13:21 ` [bug#55675] Question Erik Šabič
@ 2022-05-27 14:27 ` Erik Šabič
2022-06-05 21:34 ` bug#55675: [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Ludovic Courtès
3 siblings, 0 replies; 19+ messages in thread
From: Erik Šabič @ 2022-05-27 14:27 UTC (permalink / raw)
To: 55675
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
Elm-mode dropped the usage of dash.el in favor of seq.el
Merged upstream with commit:
70734a1eed6f008135c197e115ca5f197e47ee0b
Author: Steve Purcell <steve@sanityinc.com>
AuthorDate: Mon Feb 21 05:57:33 2022 +1300
[-- Attachment #2: Type: text/html, Size: 380 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] Broken tests
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
2022-05-27 13:12 ` Maxime Devos
@ 2022-05-27 14:58 ` Erik Šabič
2022-05-29 5:05 ` [bug#55674] PR accepted yarl-baudig
2022-05-29 5:13 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b yarl-baudig
3 siblings, 0 replies; 19+ messages in thread
From: Erik Šabič @ 2022-05-27 14:58 UTC (permalink / raw)
To: 55674
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
One of the tests fails. Looks like it's testing whether helpful--docstring
and
helpful--docstring-advice figure out that a function is advised.
I've tried using helpful-* functions from this updated package in Emacs,
and it works - advices are shown.
So it looks like the tests are broken.
(but I don't understand the ert tests, maybe someone else
should look at this)
[-- Attachment #2: Type: text/html, Size: 508 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19.
2022-05-27 13:48 ` [bug#55675] " Maxime Devos
@ 2022-05-27 17:23 ` Erik Šabič
0 siblings, 0 replies; 19+ messages in thread
From: Erik Šabič @ 2022-05-27 17:23 UTC (permalink / raw)
To: Maxime Devos; +Cc: 55674
Okay, I figured it out. The test is indeed broken and
it's an easy fix. I will try sending a PR on github.
I have a lot to learn. I apologise for being a nuisance :)
Please tell me if there's anything else I can improve on.
Thank you!
here's a diff for the test:
diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el
index a07aa8e..1a61a6f 100644
--- a/test/helpful-unit-test.el
+++ b/test/helpful-unit-test.el
@@ -119,7 +119,7 @@ bar")))
(should
(equal
(helpful--docstring #'test-foo-advised t)
- "Docstring here too.")))
+ "Docstring here too.\n\nThis function has :around advice:
`ad-Advice-test-foo-advised'.")))
(defun test-foo-no-docstring ()
nil)
On Fri, May 27, 2022 at 3:48 PM Maxime Devos <maximedevos@telenet.be> wrote:
>
> [Please keep 55675@debbugs.gnu.org in CC]
>
> Erik Šabič schreef op vr 27-05-2022 om 15:32 [+0200]:
> > Well it fails on a test defined like this:
> > (ert-deftest helpful--docstring ()
> > "Basic docstring fetching."
> > (should
> > (equal
> > (helpful--docstring #'test-foo t)
> > "Docstring here.")))
> >
> > And fails like so:
> > ...............s...s..Test helpful--docstring-advice backtrace:
>
>
> >
> > Test helpful--docstring-advice condition:
> >
> > (ert-test-failed
> > ((should
> > (equal
> > (helpful--docstring ... t)
> > "Docstring here too."))
> > :form
> > (equal "Docstring here too.\n\nThis function has :around
> > advice: `ad-Advice-test-foo-advised'." "Docstring here too.")
> > :value nil :explanation
> > (arrays-of-different-length 84 19 "Docstring here too.\n\nThis
> > function has :around advice: `ad-Advice-test-foo-advised'."
> > "Docstring here too." first-mismatch-at 19)))
> >
> > F............................................................s......
>
> Looks like a bug.
>
> > I don't know anything about emacs-ert. And I wasn't able to
> > figure out if it works for the upstream author.
> >
> > WDYT?
>
> I don't know if it fails for the upstream author, but I don't think
> that's relevant to Guix. More relevant I think, is that this bug
> appears in Guix, so it can cause problems for Guix users, so some
> fixing might be necessary.
>
> I don't know much about Emacs though, so you might need to contact
> upstream about the bug.
>
> Greetings,
> Maxime.
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#55674] PR accepted
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
2022-05-27 13:12 ` Maxime Devos
2022-05-27 14:58 ` [bug#55674] Broken tests Erik Šabič
@ 2022-05-29 5:05 ` yarl-baudig
2022-05-29 5:13 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b yarl-baudig
3 siblings, 0 replies; 19+ messages in thread
From: yarl-baudig @ 2022-05-29 5:05 UTC (permalink / raw)
To: 55674
Yes, your pull request have been accepted! Thank you. Mind if I update? I would like helpful to be fixed quickly.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
` (2 preceding siblings ...)
2022-05-29 5:05 ` [bug#55674] PR accepted yarl-baudig
@ 2022-05-29 5:13 ` yarl-baudig
2022-05-29 7:41 ` Liliana Marie Prikler
3 siblings, 1 reply; 19+ messages in thread
From: yarl-baudig @ 2022-05-29 5:13 UTC (permalink / raw)
To: 55674
* gnu/packages/emacs-xyz.scm (emacs-helpful): Update to 209971b
Fixes <https://issues.guix.gnu.org/55674>
Thanks to upstream pull request by Erik Šabič
---
gnu/packages/emacs-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 31822dc641..90fd8a49d6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20131,7 +20131,7 @@ (define-public emacs-download-region
(define-public emacs-helpful
(package
(name "emacs-helpful")
- (version "0.18")
+ (version "209971ba9f576ba080352642cfbf25df5692b1d7")
(source
(origin
(method git-fetch)
@@ -20140,7 +20140,7 @@ (define-public emacs-helpful
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0gdjxykqkal2x765mi51m99i5ql23i1fy909wy4mzj5ajhjfgqcc"))))
+ (base32 "1qrxr0ybvdvx6qw6akb1pv074bmffv4m57855kk8fr1vp4w07z0i"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-elisp-refs emacs-dash emacs-s emacs-f emacs-shut-up))
--
2.36.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b
2022-05-29 5:13 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b yarl-baudig
@ 2022-05-29 7:41 ` Liliana Marie Prikler
2022-05-29 9:09 ` yarl-baudig
0 siblings, 1 reply; 19+ messages in thread
From: Liliana Marie Prikler @ 2022-05-29 7:41 UTC (permalink / raw)
To: yarl-baudig, 55674
Am Sonntag, dem 29.05.2022 um 07:13 +0200 schrieb
yarl-baudig@mailoo.org:
> * gnu/packages/emacs-xyz.scm (emacs-helpful): Update to 209971b
>
> Fixes <https://issues.guix.gnu.org/55674>
> Thanks to upstream pull request by Erik Šabič
> ---
> gnu/packages/emacs-xyz.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 31822dc641..90fd8a49d6 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -20131,7 +20131,7 @@ (define-public emacs-download-region
> (define-public emacs-helpful
> (package
> (name "emacs-helpful")
> - (version "0.18")
> + (version "209971ba9f576ba080352642cfbf25df5692b1d7")
Commit hashes are not versions. Furthermore, there has been more than
just that bugfix since – as a workaround I think it'd be more
reasonable to just disable that one test until the next release.
Cheers
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b
2022-05-29 7:41 ` Liliana Marie Prikler
@ 2022-05-29 9:09 ` yarl-baudig
2022-05-29 10:12 ` Liliana Marie Prikler
0 siblings, 1 reply; 19+ messages in thread
From: yarl-baudig @ 2022-05-29 9:09 UTC (permalink / raw)
To: liliana.prikler, 55674
> Commit hashes are not versions. Furthermore, there has been more than
> just that bugfix since – as a workaround I think it'd be more
> reasonable to just disable that one test until the next release.
Or Erik Šabič might try its patch against version 0.19 then add it to the package definition and let a comment that as soon as it is updated to 0.20, the patch can go away?
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b
2022-05-29 9:09 ` yarl-baudig
@ 2022-05-29 10:12 ` Liliana Marie Prikler
2022-05-30 7:20 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 0.19 yarl-baudig
0 siblings, 1 reply; 19+ messages in thread
From: Liliana Marie Prikler @ 2022-05-29 10:12 UTC (permalink / raw)
To: yarl-baudig, 55674
Am Sonntag, dem 29.05.2022 um 11:09 +0200 schrieb
yarl-baudig@mailoo.org:
> > Commit hashes are not versions. Furthermore, there has been more
> > than just that bugfix since – as a workaround I think it'd be more
> > reasonable to just disable that one test until the next release.
>
> Or Erik Šabič might try [their] patch against version 0.19 then add
> it to the package definition and let a comment that as soon as it is
> updated to 0.20, the patch can go away?
That'd work too, but it'd be a slightly larger patch to create :)
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 0.19
2022-05-29 10:12 ` Liliana Marie Prikler
@ 2022-05-30 7:20 ` yarl-baudig
2022-05-30 19:41 ` Liliana Marie Prikler
0 siblings, 1 reply; 19+ messages in thread
From: yarl-baudig @ 2022-05-30 7:20 UTC (permalink / raw)
To: liliana.prikler, 55674
Includes fixe for test from Erik Šabič against upstream,
see details in the patch file.
* gnu/packages/patches/emacs-helpful-fix-0.19-test.patch: New file.
* gnu/packages/emacs-xyz.scm: Update emacs-helpful to 0.19, use
the patch.
* gnu/local.mk: Update dist_patch_DATA.
---
gnu/local.mk | 1 +
gnu/packages/emacs-xyz.scm | 7 ++++--
.../patches/emacs-helpful-fix-0.19-test.patch | 23 +++++++++++++++++++
3 files changed, 29 insertions(+), 2 deletions(-)
create mode 100644 gnu/packages/patches/emacs-helpful-fix-0.19-test.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index bc82c5ba9f..71f6b7669a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1029,6 +1029,7 @@ dist_patch_DATA = \
%D%/packages/patches/emacs-git-email-missing-parens.patch \
%D%/packages/patches/emacs-fix-scheme-indent-function.patch \
%D%/packages/patches/emacs-json-reformat-fix-tests.patch \
+ %D%/packages/patches/emacs-helpful-fix-0.19-test.patch \
%D%/packages/patches/emacs-highlight-stages-add-gexp.patch \
%D%/packages/patches/emacs-hyperbole-toggle-messaging.patch \
%D%/packages/patches/emacs-libgit-use-system-libgit2.patch \
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 31822dc641..c5fa725bf5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20131,7 +20131,7 @@ (define-public emacs-download-region
(define-public emacs-helpful
(package
(name "emacs-helpful")
- (version "0.18")
+ (version "0.19")
(source
(origin
(method git-fetch)
@@ -20140,7 +20140,10 @@ (define-public emacs-helpful
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0gdjxykqkal2x765mi51m99i5ql23i1fy909wy4mzj5ajhjfgqcc"))))
+ (base32 "0qwsifzsjw95l83m7z07fr9h1sqbhggwmcps1qgbddpan2a8ab8a"))
+ ;; TODO: remove this patch as soon as the package is updated to 0.20
+ ;; See explanation in the patch file
+ (patches (search-patches "emacs-helpful-fix-0.19-test.patch"))))
(build-system emacs-build-system)
(propagated-inputs
(list emacs-elisp-refs emacs-dash emacs-s emacs-f emacs-shut-up))
diff --git a/gnu/packages/patches/emacs-helpful-fix-0.19-test.patch b/gnu/packages/patches/emacs-helpful-fix-0.19-test.patch
new file mode 100644
index 0000000000..64000f2b73
--- /dev/null
+++ b/gnu/packages/patches/emacs-helpful-fix-0.19-test.patch
@@ -0,0 +1,23 @@
+Erik Šabič sent a pull request (patches 741b864 and 209971b) against 2f91e79,
+which is not a release.
+This is a diff between 0.19 and those 2 patches applied against 0.19.
+
+So, when 0.20 will be released, this patch can be removed.
+
+The procedure should be as simple as reverting the commit including
+this file then calling `guix refresh emacs-helpful`.
+diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el
+index a07aa8e..8a95129 100644
+--- a/test/helpful-unit-test.el
++++ b/test/helpful-unit-test.el
+@@ -119,7 +119,9 @@ bar")))
+ (should
+ (equal
+ (helpful--docstring #'test-foo-advised t)
+- "Docstring here too.")))
++ (if (version< emacs-version "28")
++ "Docstring here too."
++ "Docstring here too.\n\nThis function has :around advice: `ad-Advice-test-foo-advised'."))))
+
+ (defun test-foo-no-docstring ()
+ nil)
--
2.36.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 0.19
2022-05-30 7:20 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 0.19 yarl-baudig
@ 2022-05-30 19:41 ` Liliana Marie Prikler
2022-05-30 21:11 ` yarl baudig
0 siblings, 1 reply; 19+ messages in thread
From: Liliana Marie Prikler @ 2022-05-30 19:41 UTC (permalink / raw)
To: yarl-baudig, 55674
Am Montag, dem 30.05.2022 um 09:20 +0200 schrieb
yarl-baudig@mailoo.org:
> Includes fixe for test from Erik Šabič against upstream,
> see details in the patch file.
>
> * gnu/packages/patches/emacs-helpful-fix-0.19-test.patch: New file.
> * gnu/packages/emacs-xyz.scm: Update emacs-helpful to 0.19, use
> the patch.
> * gnu/local.mk: Update dist_patch_DATA.
I locally applied your changes and would be ready to push, but noticed
your mail client is not really set up well ;)
For the sake of attribution, should I set "Yarl Baudig" or something
else as committer name?
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#55674] [PATCH] gnu: emacs-helpful: Update to 0.19
2022-05-30 19:41 ` Liliana Marie Prikler
@ 2022-05-30 21:11 ` yarl baudig
2022-06-04 7:00 ` bug#55674: " Liliana Marie Prikler
0 siblings, 1 reply; 19+ messages in thread
From: yarl baudig @ 2022-05-30 21:11 UTC (permalink / raw)
To: liliana.prikler, 55674
> your mail client is not really set up well ;)
>
> For the sake of attribution, should I set "Yarl Baudig" or something
> else as committer name?
>
Yes, please. I will try to fix this.
Thank you!
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#55674: [PATCH] gnu: emacs-helpful: Update to 0.19
2022-05-30 21:11 ` yarl baudig
@ 2022-06-04 7:00 ` Liliana Marie Prikler
0 siblings, 0 replies; 19+ messages in thread
From: Liliana Marie Prikler @ 2022-06-04 7:00 UTC (permalink / raw)
To: yarl baudig, 55674-done
Am Montag, dem 30.05.2022 um 23:11 +0200 schrieb yarl baudig:
> > your mail client is not really set up well ;)
> >
> > For the sake of attribution, should I set "Yarl Baudig" or
> > something
> > else as committer name?
> >
>
> Yes, please. I will try to fix this.
> Thank you!
Used "yarl baudig" as per this mail.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#55675: [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768.
2022-05-27 12:52 [bug#55675] [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Erik Šabič
` (2 preceding siblings ...)
2022-05-27 14:27 ` [bug#55675] emacs-dash Erik Šabič
@ 2022-06-05 21:34 ` Ludovic Courtès
3 siblings, 0 replies; 19+ messages in thread
From: Ludovic Courtès @ 2022-06-05 21:34 UTC (permalink / raw)
To: Erik Šabič; +Cc: 55675-done
Hi Erik,
Erik Šabič <erik.sab@gmail.com> skribis:
> * gnu/packages/emacs-xyz.scm (emacs-elm-mode): Update to 0.21.0-1.1e27768.
It has been updated to 0.22 in the meantime.
Thank you,
Ludo’.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2022-06-05 21:35 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27 12:52 [bug#55675] [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Erik Šabič
2022-05-27 12:52 ` [bug#55674] [PATCH 2/2] gnu: emacs-helpful: Update to 0.19 Erik Šabič
2022-05-27 13:12 ` Maxime Devos
[not found] ` <CABeAMAkLbQHB_aGAr_Tf8+1DPzjMSW1mKSUH6Zh7fPyZQCAeBg@mail.gmail.com>
2022-05-27 13:48 ` [bug#55675] " Maxime Devos
2022-05-27 17:23 ` Erik Šabič
2022-05-27 14:58 ` [bug#55674] Broken tests Erik Šabič
2022-05-29 5:05 ` [bug#55674] PR accepted yarl-baudig
2022-05-29 5:13 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 209971b yarl-baudig
2022-05-29 7:41 ` Liliana Marie Prikler
2022-05-29 9:09 ` yarl-baudig
2022-05-29 10:12 ` Liliana Marie Prikler
2022-05-30 7:20 ` [bug#55674] [PATCH] gnu: emacs-helpful: Update to 0.19 yarl-baudig
2022-05-30 19:41 ` Liliana Marie Prikler
2022-05-30 21:11 ` yarl baudig
2022-06-04 7:00 ` bug#55674: " Liliana Marie Prikler
2022-05-27 13:21 ` [bug#55675] Question Erik Šabič
2022-05-27 13:49 ` Maxime Devos
2022-05-27 14:27 ` [bug#55675] emacs-dash Erik Šabič
2022-06-05 21:34 ` bug#55675: [PATCH 1/2] gnu: emacs-elm-mode: Update to 0.21.0-1.1e27768 Ludovic Courtès
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.