GNU bug report logs - #39320
[PATCH] gnu: Add emacs-mwim.

Previous Next

Package: guix-patches;

Reported by: Amin Bandali <mab <at> gnu.org>

Date: Mon, 27 Jan 2020 23:51:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39320 in the body.
You can then email your comments to 39320 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#39320; Package guix-patches. (Mon, 27 Jan 2020 23:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Amin Bandali <mab <at> gnu.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 27 Jan 2020 23:51:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Amin Bandali <mab <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Amin Bandali <mab <at> gnu.org>
Subject: [PATCH] gnu: Add emacs-mwim.
Date: Mon, 27 Jan 2020 18:50:36 -0500
* gnu/packages/emacs-xyz.scm (emacs-mwim): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c5214405d0..18b976796f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21125,3 +21125,27 @@ pattern guessed from thing under current cursor position.
 mercury-mode provided by Emacs as a wrapper around prolog-mode.")
       (home-page "https://github.com/ahungry/metal-mercury-mode")
       (license license:gpl3+))))
+
+(define-public emacs-mwim
+  (let ((commit "b4f3edb4c0fb8f8b71cecbf8095c2c25a8ffbf85")
+        (revision "0"))
+    (package
+      (name "emacs-mwim")
+      (version (git-version "0.4" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/alezost/mwim.el.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0l3k611gp9g2x2vfmh92wnhnda81dslpwwpb8mxmzk308man77ya"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/alezost/mwim.el")
+      (synopsis "Move to the beginning/end of line, code or comment")
+      (description "@code{mwim} provides several commands to switch between
+various line positions, like moving to the beginning/end of code, line, or
+comment.")
+      (license license:gpl3+))))
-- 
2.25.0





Information forwarded to guix-patches <at> gnu.org:
bug#39320; Package guix-patches. (Tue, 28 Jan 2020 07:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 39320 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Amin Bandali <mab <at> gnu.org>
Cc: 39320 <at> debbugs.gnu.org
Subject: Re: [bug#39320] [PATCH] gnu: Add emacs-mwim.
Date: Tue, 28 Jan 2020 08:49:13 +0100
Hello,

Amin Bandali <mab <at> gnu.org> writes:

> +(define-public emacs-mwim
> +  (let ((commit "b4f3edb4c0fb8f8b71cecbf8095c2c25a8ffbf85")
> +        (revision "0"))
> +    (package
> +      (name "emacs-mwim")
> +      (version (git-version "0.4" revision commit))

Thank you for the patch.

Is there any particular reason to prefer this particular commit over
stable 0.4 release?

If so, it may be worth mentioning as a comment.


Regards,

-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#39320; Package guix-patches. (Tue, 28 Jan 2020 08:21:01 GMT) Full text and rfc822 format available.

Message #11 received at 39320 <at> debbugs.gnu.org (full text, mbox):

From: Amin Bandali <mab <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 39320 <at> debbugs.gnu.org
Subject: Re: [bug#39320] [PATCH] gnu: Add emacs-mwim.
Date: Tue, 28 Jan 2020 03:20:30 -0500
[Message part 1 (text/plain, inline)]
Hello,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

[...]
>
> Thank you for the patch.
>

Cheers, and thank you for the feedback (addressed below).

>
> Is there any particular reason to prefer this particular commit over
> stable 0.4 release?
>
> If so, it may be worth mentioning as a comment.
>

The main reason is that commit is a fix for a reported issue [0], but
sadly isn’t part of any tagged release.  Further, the repository hasn’t
seen any activity in over a year, so I figured the likelihood of the
author tagging a new release any time soon is pretty slim.

[0]: https://github.com/alezost/mwim.el/issues/12

For what it’s worth, I’ve had this package definition in my personal
Guix channel for about six months now, and no activity in the upstream
repo through this time.

How does the following v2 look?

[0001-gnu-Add-emacs-mwim.patch (text/x-patch, inline)]
From 3832e92daebd5fd1659f00179b5ad88bfd1aeef7 Mon Sep 17 00:00:00 2001
From: Amin Bandali <mab <at> gnu.org>
Date: Tue, 28 Jan 2020 03:18:08 -0500
Subject: [PATCH v2] gnu: Add emacs-mwim.

* gnu/packages/emacs-xyz.scm (emacs-mwim): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ed03c2bddd..5788f57418 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21144,3 +21144,29 @@ mercury-mode provided by Emacs as a wrapper around prolog-mode.")
 EBDB.  It is copied more or less intact from @code{company-bbdb}, originally
 by Jan Tatarik.")
     (license license:gpl3+)))
+
+(define-public emacs-mwim
+  ;; Use the latest commit not in a release version as of yet, since it
+  ;; contains a bug fix for the cases where `comment-start-skip' is nil.
+  (let ((commit "b4f3edb4c0fb8f8b71cecbf8095c2c25a8ffbf85")
+        (revision "0"))
+    (package
+      (name "emacs-mwim")
+      (version (git-version "0.4" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/alezost/mwim.el.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0l3k611gp9g2x2vfmh92wnhnda81dslpwwpb8mxmzk308man77ya"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/alezost/mwim.el")
+      (synopsis "Move to the beginning/end of line, code or comment")
+      (description "@code{mwim} provides several commands to switch between
+various line positions, like moving to the beginning/end of code, line, or
+comment.")
+      (license license:gpl3+))))
-- 
2.25.0

[Message part 3 (text/plain, inline)]
>
>
> Regards,

Best,
amin

P.S. thanks for bumping my copyright year in emacs-xyz.scm. :-)
[signature.asc (application/pgp-signature, inline)]

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 28 Jan 2020 09:18:01 GMT) Full text and rfc822 format available.

Notification sent to Amin Bandali <mab <at> gnu.org>:
bug acknowledged by developer. (Tue, 28 Jan 2020 09:18:01 GMT) Full text and rfc822 format available.

Message #16 received at 39320-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Amin Bandali <mab <at> gnu.org>
Cc: 39320-done <at> debbugs.gnu.org
Subject: Re: [bug#39320] [PATCH] gnu: Add emacs-mwim.
Date: Tue, 28 Jan 2020 10:17:31 +0100
Amin Bandali <mab <at> gnu.org> writes:

> The main reason is that commit is a fix for a reported issue [0], but
> sadly isn’t part of any tagged release.  Further, the repository hasn’t
> seen any activity in over a year, so I figured the likelihood of the
> author tagging a new release any time soon is pretty slim.
>
> [0]: https://github.com/alezost/mwim.el/issues/12
>
> For what it’s worth, I’ve had this package definition in my personal
> Guix channel for about six months now, and no activity in the upstream
> repo through this time.
>
> How does the following v2 look?

Fine. I applied it as 19568f9e79ed74b7100d25d3f2ea245f857ca742. Thank
you.

Regards,




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Feb 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.