summaryrefslogtreecommitdiffstats
path: root/emacs-lisp
diff options
context:
space:
mode:
authorIsmael Luceno2014-07-08 23:36:38 -0300
committerIsmael Luceno2014-07-08 23:37:03 -0300
commitced607e9778a186dd7483364d7e42c9096bc3924 (patch)
treea1faccafd77cfd665ba41087e6de36490bb7976b /emacs-lisp
parent2d43ad3164efbb6524a74ef5558a75a3f78050d9 (diff)
visual-regexp: new spell, A regexp/replace command for Emacs with interactive visual feedback
Diffstat (limited to 'emacs-lisp')
-rwxr-xr-xemacs-lisp/visual-regexp/DEPENDS1
-rwxr-xr-xemacs-lisp/visual-regexp/DETAILS26
-rw-r--r--emacs-lisp/visual-regexp/HISTORY3
-rwxr-xr-xemacs-lisp/visual-regexp/PREPARE2
4 files changed, 32 insertions, 0 deletions
diff --git a/emacs-lisp/visual-regexp/DEPENDS b/emacs-lisp/visual-regexp/DEPENDS
new file mode 100755
index 0000000000..ce886b1390
--- /dev/null
+++ b/emacs-lisp/visual-regexp/DEPENDS
@@ -0,0 +1 @@
+depends EMACS
diff --git a/emacs-lisp/visual-regexp/DETAILS b/emacs-lisp/visual-regexp/DETAILS
new file mode 100755
index 0000000000..8d9d2dddb6
--- /dev/null
+++ b/emacs-lisp/visual-regexp/DETAILS
@@ -0,0 +1,26 @@
+. "$GRIMOIRE/FUNCTIONS"
+ SPELL=visual-regexp
+ VERSION=$(get_scm_version)
+ SOURCE="${SPELL}-git.tar.bz2"
+ SOURCE_URL[0]=git://github.com/benma/$SPELL.el.git
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
+ WEB_SITE="https://github.com/benma/visual-regexp.el/"
+ LICENSE[0]="GPLv3+"
+ ENTERED=20140708
+ KEYWORDS=""
+ SHORT="A regexp/replace command for Emacs with interactive visual feedback"
+cat << EOF
+visual-regexp for Emacs is like `replace-regexp`, but with live visual
+feedback directly in the buffer.
+
+While constructing the regexp in the minibuffer, you get live visual feedback
+for the matches, including group matches.
+
+While constructing the replacement in the minibuffer, you get live visual
+feedback for the replacements.
+
+It can be used to replace all matches in one go (like `replace-regexp`),
+or a decision can be made on each match (like `query-replace-regexp`).
+EOF
diff --git a/emacs-lisp/visual-regexp/HISTORY b/emacs-lisp/visual-regexp/HISTORY
new file mode 100644
index 0000000000..88b8ca81e9
--- /dev/null
+++ b/emacs-lisp/visual-regexp/HISTORY
@@ -0,0 +1,3 @@
+2014-07-08 Ismael Luceno <ismael@sourcemage.org>
+ * DEPENDS, DETAILS: spell created
+
diff --git a/emacs-lisp/visual-regexp/PREPARE b/emacs-lisp/visual-regexp/PREPARE
new file mode 100755
index 0000000000..86a507971e
--- /dev/null
+++ b/emacs-lisp/visual-regexp/PREPARE
@@ -0,0 +1,2 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+prepare_select_branch