* [bug#37024] [PATCH] Add emacs-phi-search and emacs-phi-search-mc.
@ 2019-08-14 4:38 Brian Leung
2019-08-18 13:08 ` Oleg Pyhalov
0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2019-08-14 4:38 UTC (permalink / raw)
To: 37024
[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]
See attached.
[-- Attachment #1.2: Type: text/html, Size: 39 bytes --]
[-- Attachment #2: 0001-gnu-Add-emacs-phi-search.patch --]
[-- Type: text/x-patch, Size: 1705 bytes --]
From 4aee1d9dd4d3ced7477ab082cbc6c6e2dda8f98e Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Wed, 14 Aug 2019 06:35:31 +0200
Subject: [PATCH 1/2] gnu: Add emacs-phi-search.
* gnu/packages/emacs-xyz.scm (emacs-phi-search): New variable.
---
gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6e612cab56..50a9652737 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3460,6 +3460,28 @@ completion candidate when using the Company text completion framework.")
a customizable list.")
(license license:gpl3+))))
+(define-public emacs-phi-search
+ (let ((commit "9a089b8271cb1cff9640848850298c9ec855286c")
+ (revision "1"))
+ (package
+ (name "emacs-phi-search")
+ (version (git-version "20160630" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zk-phi/phi-search.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gr5plcbrfdc4pglfj905s89hf8x0kc083h30wcnd81bnw9jwz1x"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/zk-phi/phi-search")
+ (synopsis "Interactive search compatible with @code{multiple-cursors}")
+ (description "This package can be used with @code{multiple-cursors} to
+provide an incremental search that moves all fake cursors in sync.")
+ (license license:gpl2+))))
+
(define-public emacs-multiple-cursors
(package
(name "emacs-multiple-cursors")
--
2.22.0
[-- Attachment #3: 0002-gnu-Add-emacs-phi-search-mc.patch --]
[-- Type: text/x-patch, Size: 1932 bytes --]
From a512d4e91d3bf2c44a88d6296437652180c3b15d Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Wed, 14 Aug 2019 06:35:41 +0200
Subject: [PATCH 2/2] gnu: Add emacs-phi-search-mc.
* gnu/packages/emacs-xyz.scm (emacs-phi-search-mc): New variable.
---
gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 50a9652737..517159ae9a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3482,6 +3482,33 @@ a customizable list.")
provide an incremental search that moves all fake cursors in sync.")
(license license:gpl2+))))
+(define-public emacs-phi-search-mc
+ (let ((commit "7aa671910f766437089aec26c3aa7814222d1356")
+ (revision "1"))
+ (package
+ (name "emacs-phi-search-mc")
+ (version (git-version "2.2.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/knu/phi-search-mc.el.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wr86ad0yl52im6b9z0b9pzmhcn39qg5m9878yfv1nbxliw40lcd"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-phi-search" ,emacs-phi-search)
+ ("emacs-multiple-cursors" ,emacs-multiple-cursors)))
+ (home-page "https://github.com/knu/phi-search-mc.el")
+ (synopsis "Extend @code{phi-search} with additional
+@code{multiple-cursors} functionality")
+ (description "This package provides further integration between
+@code{multiple-cursors} and @code{phi-search}, a package that allows for
+interactive searches to move multiple fake cursors.")
+ (license license:bsd-2))))
+
(define-public emacs-multiple-cursors
(package
(name "emacs-multiple-cursors")
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#37024] [PATCH] Add emacs-phi-search and emacs-phi-search-mc.
2019-08-14 4:38 [bug#37024] [PATCH] Add emacs-phi-search and emacs-phi-search-mc Brian Leung
@ 2019-08-18 13:08 ` Oleg Pyhalov
0 siblings, 0 replies; 2+ messages in thread
From: Oleg Pyhalov @ 2019-08-18 13:08 UTC (permalink / raw)
To: Brian Leung; +Cc: 37024-done, 37024
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
Hello Brian,
Brian Leung <bkleung89@gmail.com> writes:
> See attached.
[…]
Thank you for those packages. I tested a search with multiple-cursors.
Works as expected. Pushed to master.
Regards,
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-18 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-14 4:38 [bug#37024] [PATCH] Add emacs-phi-search and emacs-phi-search-mc Brian Leung
2019-08-18 13:08 ` Oleg Pyhalov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).