From 1defd8cd2e4efe3fa2c5532d6e560dfc37e44820 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 1 Sep 2015 10:10:36 +0200 Subject: gnu: Add emacs-let-alist. * gnu/packages/emacs.scm (let-alist): New variable. --- gnu/packages/emacs.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index b0a8b08dbe..7bb302c49f 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -487,6 +487,53 @@ (define (copy-to-dir dir files) programs.") (license license:gpl3+))) +(define-public let-alist + (package + (name "emacs-let-alist") + (version "1.0.4") + (source (origin + (method url-fetch) + (uri (string-append "http://elpa.gnu.org/packages/let-alist-" + version ".el")) + (sha256 + (base32 + "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils) + (guix build emacs-utils)) + + #:builder (begin + (use-modules (guix build emacs-utils) + (guix build utils)) + + (let* ((out (assoc-ref %outputs "out")) + (lispdir (string-append out + "/share/emacs/site-lisp/" + "guix.d/let-alist-" + ,version)) + (emacs (assoc-ref %build-inputs "emacs"))) + + (mkdir-p lispdir) + (copy-file (assoc-ref %build-inputs "source") + (string-append lispdir "/let-alist.el")) + + (setenv "PATH" (string-append emacs "/bin")) + (emacs-byte-compile-directory lispdir) + #t)))) + (native-inputs `(("emacs" ,emacs-no-x))) + (home-page "http://elpa.gnu.org/packages/let-alist.html") + (synopsis "Easily let-bind values of an assoc-list by their names") + (description + "This package offers a single Emacs Lisp macro, @code{let-alist}. This +macro takes a first argument, whose value must be an alist (association list), +and a body. + +The macro expands to a let form containing the body, where each dotted symbol +inside body is let-bound to their cdrs in the alist. Only those present in +the body are let-bound and this search is done at compile time.") + (license license:gpl3+))) + ;;; ;;; Web browsing. -- cgit v1.2.3 From 6e3fdbbe264b2a233f32f521e2547e4b6175578b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 1 Sep 2015 10:16:32 +0200 Subject: gnu: Add emacs-flycheck. * gnu/packages/emacs.scm (flycheck): New variable. --- gnu/packages/emacs.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 7bb302c49f..57d45c22b3 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -534,6 +534,34 @@ (define-public let-alist the body are let-bound and this search is done at compile time.") (license license:gpl3+))) +(define-public flycheck + (package + (name "emacs-flycheck") + (version "20150831.1343") + (source (origin + (method url-fetch) + (uri (string-append "http://melpa.org/packages/flycheck-" + version ".tar")) + (sha256 + (base32 + "0a0iyvki62rqi24dbrcdq3i1wdygdi350gcjsfrfr6fz8fasz42l")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-let-alist" ,let-alist))) + (home-page "https://www.flycheck.org") + (synopsis "On-the-fly syntax checking") + (description + "This package provides on-the-fly syntax checking for GNU Emacs. It is a +replacement for the older Flymake extension which is part of GNU Emacs, with +many improvements and additional features. + +Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax +checking for over 30 programming and markup languages with more than 70 +different tools. It highlights errors and warnings inline in the buffer, and +provides an optional IDE-like error list.") + (license license:gpl3+))) ;+GFDLv1.3+ for the manual + ;;; ;;; Web browsing. -- cgit v1.2.3 From 0b928076c748789f62e0761e8f01f5090c34a8af Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Tue, 1 Sep 2015 21:18:44 +0300 Subject: gnu: emacs-flycheck: Use the upstream release instead of MELPA. * gnu/packages/emacs.scm (flycheck): Change version to 0.23. Replace MELPA tarball with the upstream release. --- gnu/packages/emacs.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 57d45c22b3..594e842008 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -537,14 +537,15 @@ (define-public let-alist (define-public flycheck (package (name "emacs-flycheck") - (version "20150831.1343") + (version "0.23") (source (origin (method url-fetch) - (uri (string-append "http://melpa.org/packages/flycheck-" - version ".tar")) + (uri (string-append + "https://github.com/flycheck/flycheck/releases/download/" + version "/flycheck-" version ".tar")) (sha256 (base32 - "0a0iyvki62rqi24dbrcdq3i1wdygdi350gcjsfrfr6fz8fasz42l")))) + "1n2cifzsl5dbv42l82bi3y1vk6q33msi8dd4bj7b9nvnl9jfjj5b")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-dash" ,emacs-dash) -- cgit v1.2.3 From 6fc92598ac7f76568545f4218173b529a3df9fdc Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Thu, 3 Sep 2015 23:22:05 +0300 Subject: gnu: magit: Update to 2.2.2. * gnu/packages/emacs.scm (magit): Update to 2.2.2. --- gnu/packages/emacs.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 594e842008..742f2ae9da 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -310,7 +310,7 @@ (define-public git-modes (define-public magit (package (name "magit") - (version "2.2.1") + (version "2.2.2") (source (origin (method url-fetch) (uri (string-append @@ -318,7 +318,7 @@ (define-public magit version "/" name "-" version ".tar.gz")) (sha256 (base32 - "0bjdj4468i5w3j2i945b6psb6n04z34vhjaqr0iz4xgixk3wiqmh")))) + "1imkj4prprnivhbpdn1mdpiryxkckzy5hbnqaahv7gixwac1irh8")))) (build-system gnu-build-system) (native-inputs `(("texinfo" ,texinfo) ("emacs" ,emacs-no-x))) -- cgit v1.2.3 From 6fd66b6c9934ac88608dac7195eb9fa657b319bb Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 11 Sep 2015 21:52:51 +0200 Subject: gnu: Add emacs-debbugs. * gnu/packages/emacs.scm (emacs-debbugs): New variable. --- gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 742f2ae9da..f7ad4e3a19 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1071,3 +1071,30 @@ (define-public emacs-ob-ipython (description "This package adds support to Org-Babel for evaluating Python source code using IPython.") (license license:gpl3+))) + +(define-public emacs-debbugs + (package + (name "emacs-debbugs") + (version "0.7") + (source (origin + (method url-fetch) + (uri (string-append "http://elpa.gnu.org/packages/debbugs-" + version ".tar")) + (sha256 + (base32 + "0pbglx3paa8icazgxlg4jf40wl8war63y9j2jmbb7gbd1xp95v72")))) + (build-system emacs-build-system) + (home-page "http://elpa.gnu.org/packages/debbugs.html") + (synopsis "Access the Debbugs bug tracker in Emacs") + (description + "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug +Tracker} from within Emacs. + +For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs, +and the command @code{M-x debbugs-gnu-search} for bug searching. If you +prefer the listing of bugs as TODO items of @code{org-mode}, you could use +@code{M-x debbugs-org} and related commands. + +A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug +Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.") + (license license:gpl3+))) -- cgit v1.2.3