* [bug#28216] [PATCH 0/2] Add emacs-idris-mode.
@ 2017-08-24 11:50 Peter Mikkelsen
2017-08-24 11:52 ` [bug#28216] [PATCH 1/2] gnu: Add emacs-prop-menu Peter Mikkelsen
2017-08-31 12:59 ` bug#28216: [PATCH 0/2] " Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Peter Mikkelsen @ 2017-08-24 11:50 UTC (permalink / raw)
To: 28216
The following pathces add emacs-idris-mode, and a dependency.
Peter Mikkelsen (2):
gnu: Add emacs-prop-menu.
gnu: Add emacs-idris-mode.
gnu/packages/emacs.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
--
2.14.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#28216] [PATCH 1/2] gnu: Add emacs-prop-menu.
2017-08-24 11:50 [bug#28216] [PATCH 0/2] Add emacs-idris-mode Peter Mikkelsen
@ 2017-08-24 11:52 ` Peter Mikkelsen
2017-08-24 11:52 ` [bug#28216] [PATCH 2/2] gnu: Add emacs-idris-mode Peter Mikkelsen
2017-08-31 12:59 ` bug#28216: [PATCH 0/2] " Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Peter Mikkelsen @ 2017-08-24 11:52 UTC (permalink / raw)
To: 28216
* gnu/packages/emacs.scm (emacs-prop-menu): New variable.
---
gnu/packages/emacs.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 140a53205..e7f7902c8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
+;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5380,3 +5381,35 @@ enables you to easily define search engines, bind them to keybindings, and
query them from the comfort of your editor.")
(home-page "https://github.com/hrs/engine-mode")
(license license:gpl3+)))
+
+(define-public emacs-prop-menu
+ (package
+ (name "emacs-prop-menu")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://stable.melpa.org/packages/prop-menu-"
+ version ".el"))
+ (sha256
+ (base32
+ "01bk4sjafzz7gqrkv9jg0pa85qr34vbk3q8ga2b0m61bndywzgpr"))))
+ (build-system emacs-build-system)
+ (home-page
+ "https://github.com/david-christiansen/prop-menu-el")
+ (synopsis
+ "Create and display a context menu based on text and overlay properties")
+ (description
+ "This is a library for computing context menus based on text
+properties and overlays. The intended use is to have tools that
+annotate source code and others that use these annotations, without
+requiring a direct coupling between them, but maintaining
+discoverability.
+
+Major modes that wish to use this library should first define an
+appropriate value for @code{prop-menu-item-functions}. Then, they should
+bind @code{prop-menu-by-completing-read} to an appropriate
+key. Optionally, a mouse pop-up can be added by binding
+@code{prop-menu-show-menu} to a mouse event.")
+ (license license:gpl3+)))
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#28216] [PATCH 2/2] gnu: Add emacs-idris-mode.
2017-08-24 11:52 ` [bug#28216] [PATCH 1/2] gnu: Add emacs-prop-menu Peter Mikkelsen
@ 2017-08-24 11:52 ` Peter Mikkelsen
0 siblings, 0 replies; 4+ messages in thread
From: Peter Mikkelsen @ 2017-08-24 11:52 UTC (permalink / raw)
To: 28216
* gnu/packages/emacs.scm (emacs-idris-mode): 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 e7f7902c8..91793f444 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5413,3 +5413,28 @@ bind @code{prop-menu-by-completing-read} to an appropriate
key. Optionally, a mouse pop-up can be added by binding
@code{prop-menu-show-menu} to a mouse event.")
(license license:gpl3+)))
+
+(define-public emacs-idris-mode
+ (package
+ (name "emacs-idris-mode")
+ (version "0.9.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://stable.melpa.org/packages/idris-mode-"
+ version ".tar"))
+ (sha256
+ (base32
+ "0ld4kfwnyyhlsnj5f6cbn4is4mpxdqalk2aifkw02r00mbr9n294"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-prop-menu" ,emacs-prop-menu)))
+ (home-page
+ "https://github.com/idris-hackers/idris-mode")
+ (synopsis "Major mode for editing Idris code")
+ (description
+ "This is an Emacs mode for editing Idris code. It requires the latest
+version of Idris, and some features may rely on the latest Git version of
+Idris.")
+ (license license:gpl3+)))
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#28216: [PATCH 0/2] Add emacs-idris-mode.
2017-08-24 11:50 [bug#28216] [PATCH 0/2] Add emacs-idris-mode Peter Mikkelsen
2017-08-24 11:52 ` [bug#28216] [PATCH 1/2] gnu: Add emacs-prop-menu Peter Mikkelsen
@ 2017-08-31 12:59 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-08-31 12:59 UTC (permalink / raw)
To: Peter Mikkelsen; +Cc: 28216-done
Peter Mikkelsen <petermikkelsen10@gmail.com> skribis:
> Peter Mikkelsen (2):
> gnu: Add emacs-prop-menu.
> gnu: Add emacs-idris-mode.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-31 13:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-24 11:50 [bug#28216] [PATCH 0/2] Add emacs-idris-mode Peter Mikkelsen
2017-08-24 11:52 ` [bug#28216] [PATCH 1/2] gnu: Add emacs-prop-menu Peter Mikkelsen
2017-08-24 11:52 ` [bug#28216] [PATCH 2/2] gnu: Add emacs-idris-mode Peter Mikkelsen
2017-08-31 12:59 ` bug#28216: [PATCH 0/2] " 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.