all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Update magit and emacs-debbugs.
@ 2016-02-08 14:28 Alex Kost
  2016-02-08 14:28 ` [PATCH 1/4] gnu: Add emacs-with-editor Alex Kost
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Alex Kost @ 2016-02-08 14:28 UTC (permalink / raw)
  To: guix-devel

"with-editor.el" library was a part of Magit, now (since 2.5.0) it is a
separate package.

"debbugs.el" now depends on "async" library.

[PATCH 1/4] gnu: Add emacs-with-editor.
[PATCH 2/4] gnu: magit: Update to 2.5.0.
[PATCH 3/4] gnu: Add emacs-async.
[PATCH 4/4] gnu: emacs-debbugs: Update to 0.9.

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

* [PATCH 1/4] gnu: Add emacs-with-editor.
  2016-02-08 14:28 [PATCH 0/4] Update magit and emacs-debbugs Alex Kost
@ 2016-02-08 14:28 ` Alex Kost
  2016-02-08 15:23   ` Ludovic Courtès
  2016-02-08 14:28 ` [PATCH 2/4] gnu: magit: Update to 2.5.0 Alex Kost
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Alex Kost @ 2016-02-08 14:28 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-with-editor): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fc940eb..8084bb3 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -349,6 +349,31 @@ when typing parentheses directly or commenting out code line by line.")
 configuration files, such as .gitattributes, .gitignore, and .git/config.")
     (license license:gpl3+)))
 
+(define-public emacs-with-editor
+  (package
+    (name "emacs-with-editor")
+    (version "2.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/magit/with-editor/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "19gb381z61l2icg5v5pymgi1a11g3zdp5aysl2j5fh7fxxg4d4c0"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)))
+    (home-page "https://github.com/magit/with-editor")
+    (synopsis "Emacs library for using Emacsclient as EDITOR")
+    (description
+     "This package provides an Emacs library to use the Emacsclient as
+@code{$EDITOR} of child processes, making sure they know how to call home.
+For remote processes a substitute is provided, which communicates with Emacs
+on stdout instead of using a socket as the Emacsclient does.")
+    (license license:gpl3+)))
+
 (define-public magit
   (package
     (name "magit")
-- 
2.6.3

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

* [PATCH 2/4] gnu: magit: Update to 2.5.0.
  2016-02-08 14:28 [PATCH 0/4] Update magit and emacs-debbugs Alex Kost
  2016-02-08 14:28 ` [PATCH 1/4] gnu: Add emacs-with-editor Alex Kost
@ 2016-02-08 14:28 ` Alex Kost
  2016-02-08 15:24   ` Ludovic Courtès
  2016-02-08 14:28 ` [PATCH 3/4] gnu: Add emacs-async Alex Kost
  2016-02-08 14:28 ` [PATCH 4/4] gnu: emacs-debbugs: Update to 0.9 Alex Kost
  3 siblings, 1 reply; 10+ messages in thread
From: Alex Kost @ 2016-02-08 14:28 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (magit): Update to 2.5.0.
[propagated-inputs]: Add 'emacs-with-editor'.
[arguments]: Make with WITH_EDITOR_DIR.
---
 gnu/packages/emacs.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8084bb3..00aa885 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -377,7 +377,7 @@ on stdout instead of using a socket as the Emacsclient does.")
 (define-public magit
   (package
     (name "magit")
-    (version "2.4.0")
+    (version "2.5.0")
     (source (origin
              (method url-fetch)
              (uri (string-append
@@ -385,12 +385,14 @@ on stdout instead of using a socket as the Emacsclient does.")
                    version "/" name "-" version ".tar.gz"))
              (sha256
               (base32
-               "1wbam4l36061mj79qlgzrv4xbzhk2dk6gnv45610zwfnf24ikdsp"))))
+               "0i6qpx5szzc4kyfcdhaic8gif0sqdqcya1niyj93lpvw66jcxsxa"))))
     (build-system gnu-build-system)
     (native-inputs `(("texinfo" ,texinfo)
                      ("emacs" ,emacs-no-x)))
     (inputs `(("git" ,git)))
-    (propagated-inputs `(("dash" ,emacs-dash)))
+    (propagated-inputs
+     `(("dash" ,emacs-dash)
+       ("with-editor" ,emacs-with-editor)))
     (arguments
      `(#:modules ((guix build gnu-build-system)
                   (guix build utils)
@@ -408,7 +410,11 @@ on stdout instead of using a socket as the Emacsclient does.")
              (string-append "DASH_DIR="
                             (assoc-ref %build-inputs "dash")
                             "/share/emacs/site-lisp/guix.d/dash-"
-                            ,(package-version emacs-dash)))
+                            ,(package-version emacs-dash))
+             (string-append "WITH_EDITOR_DIR="
+                            (assoc-ref %build-inputs "with-editor")
+                            "/share/emacs/site-lisp/guix.d/with-editor-"
+                            ,(package-version emacs-with-editor)))
 
        #:phases
        (modify-phases %standard-phases
-- 
2.6.3

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

* [PATCH 3/4] gnu: Add emacs-async.
  2016-02-08 14:28 [PATCH 0/4] Update magit and emacs-debbugs Alex Kost
  2016-02-08 14:28 ` [PATCH 1/4] gnu: Add emacs-with-editor Alex Kost
  2016-02-08 14:28 ` [PATCH 2/4] gnu: magit: Update to 2.5.0 Alex Kost
@ 2016-02-08 14:28 ` Alex Kost
  2016-02-08 15:24   ` Ludovic Courtès
  2016-02-08 14:28 ` [PATCH 4/4] gnu: emacs-debbugs: Update to 0.9 Alex Kost
  3 siblings, 1 reply; 10+ messages in thread
From: Alex Kost @ 2016-02-08 14:28 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 00aa885..aa308cb 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -921,6 +921,27 @@ like.  It can be linked with various Emacs mail clients (Message and Mail
 mode, Rmail, Gnus, MH-E, and VM).  BBDB is fully customizable.")
     (license license:gpl3+)))
 
+(define-public emacs-async
+  (package
+    (name "emacs-async")
+    (version "1.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://elpa.gnu.org/packages/async-"
+                                  version ".tar"))
+              (sha256
+               (base32
+                "17psvz75n42x33my967wkgi7r0blx46n3jdv510j0z5jswv66039"))))
+    (build-system emacs-build-system)
+    (home-page "http://elpa.gnu.org/packages/async.html")
+    (synopsis "Asynchronous processing in Emacs")
+    (description
+     "This package provides the ability to call asynchronous functions and
+processes.  For example, it can be used to run dired commands (for copying,
+moving, etc.) asynchronously using @code{dired-async-mode}.  Also it is used
+as a library for other Emacs packages.")
+    (license license:gpl3+)))
+
 (define-public emacs-auctex
   (package
     (name "emacs-auctex")
-- 
2.6.3

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

* [PATCH 4/4] gnu: emacs-debbugs: Update to 0.9.
  2016-02-08 14:28 [PATCH 0/4] Update magit and emacs-debbugs Alex Kost
                   ` (2 preceding siblings ...)
  2016-02-08 14:28 ` [PATCH 3/4] gnu: Add emacs-async Alex Kost
@ 2016-02-08 14:28 ` Alex Kost
  2016-02-08 15:24   ` Ludovic Courtès
  3 siblings, 1 reply; 10+ messages in thread
From: Alex Kost @ 2016-02-08 14:28 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-debbugs): Update to 0.9.
[propagated-inputs]: Add 'emacs-async'.
---
 gnu/packages/emacs.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index aa308cb..48417e6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1188,15 +1188,17 @@ source code using IPython.")
 (define-public emacs-debbugs
   (package
     (name "emacs-debbugs")
-    (version "0.7")
+    (version "0.9")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://elpa.gnu.org/packages/debbugs-"
                                   version ".tar"))
               (sha256
                (base32
-                "0pbglx3paa8icazgxlg4jf40wl8war63y9j2jmbb7gbd1xp95v72"))))
+                "1wc6kw7hihqqdx8qyl01akygycnan44x400hwrcf54m3hb4isa0k"))))
     (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-async" ,emacs-async)))
     (home-page "http://elpa.gnu.org/packages/debbugs.html")
     (synopsis "Access the Debbugs bug tracker in Emacs")
     (description
-- 
2.6.3

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

* Re: [PATCH 1/4] gnu: Add emacs-with-editor.
  2016-02-08 14:28 ` [PATCH 1/4] gnu: Add emacs-with-editor Alex Kost
@ 2016-02-08 15:23   ` Ludovic Courtès
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2016-02-08 15:23 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> * gnu/packages/emacs.scm (emacs-with-editor): New variable.

OK!

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

* Re: [PATCH 2/4] gnu: magit: Update to 2.5.0.
  2016-02-08 14:28 ` [PATCH 2/4] gnu: magit: Update to 2.5.0 Alex Kost
@ 2016-02-08 15:24   ` Ludovic Courtès
  2016-02-10  7:44     ` Alex Kost
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2016-02-08 15:24 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> * gnu/packages/emacs.scm (magit): Update to 2.5.0.
> [propagated-inputs]: Add 'emacs-with-editor'.
> [arguments]: Make with WITH_EDITOR_DIR.

I fear Magit upgrades these days but well, let’s just do it.  Thanks!

Ludo’.

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

* Re: [PATCH 3/4] gnu: Add emacs-async.
  2016-02-08 14:28 ` [PATCH 3/4] gnu: Add emacs-async Alex Kost
@ 2016-02-08 15:24   ` Ludovic Courtès
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2016-02-08 15:24 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> * gnu/packages/emacs.scm (emacs-async): New variable.

OK!

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

* Re: [PATCH 4/4] gnu: emacs-debbugs: Update to 0.9.
  2016-02-08 14:28 ` [PATCH 4/4] gnu: emacs-debbugs: Update to 0.9 Alex Kost
@ 2016-02-08 15:24   ` Ludovic Courtès
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2016-02-08 15:24 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> skribis:

> * gnu/packages/emacs.scm (emacs-debbugs): Update to 0.9.
> [propagated-inputs]: Add 'emacs-async'.

OK.  Thanks!

Ludo'.

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

* Re: [PATCH 2/4] gnu: magit: Update to 2.5.0.
  2016-02-08 15:24   ` Ludovic Courtès
@ 2016-02-10  7:44     ` Alex Kost
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Kost @ 2016-02-10  7:44 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès (2016-02-08 18:24 +0300) wrote:

> Alex Kost <alezost@gmail.com> skribis:
>
>> * gnu/packages/emacs.scm (magit): Update to 2.5.0.
>> [propagated-inputs]: Add 'emacs-with-editor'.
>> [arguments]: Make with WITH_EDITOR_DIR.
>
> I fear Magit upgrades these days but well, let’s just do it.  Thanks!

He-he, this one didn't break my workflow so far :-)

Pushed, thanks!

-- 
Alex

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

end of thread, other threads:[~2016-02-10  7:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08 14:28 [PATCH 0/4] Update magit and emacs-debbugs Alex Kost
2016-02-08 14:28 ` [PATCH 1/4] gnu: Add emacs-with-editor Alex Kost
2016-02-08 15:23   ` Ludovic Courtès
2016-02-08 14:28 ` [PATCH 2/4] gnu: magit: Update to 2.5.0 Alex Kost
2016-02-08 15:24   ` Ludovic Courtès
2016-02-10  7:44     ` Alex Kost
2016-02-08 14:28 ` [PATCH 3/4] gnu: Add emacs-async Alex Kost
2016-02-08 15:24   ` Ludovic Courtès
2016-02-08 14:28 ` [PATCH 4/4] gnu: emacs-debbugs: Update to 0.9 Alex Kost
2016-02-08 15:24   ` 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.