[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed d0bc8c7 165/216: Update docs for ipipe
From: |
Stefan Monnier |
Subject: |
[elpa] externals/objed d0bc8c7 165/216: Update docs for ipipe |
Date: |
Tue, 8 Jan 2019 12:29:32 -0500 (EST) |
branch: externals/objed
commit d0bc8c771c775f59b64277fe99b6a0381563b43e
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>
Update docs for ipipe
---
README.asc | 3 +++
objed.el | 18 ++++++++++++++++--
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/README.asc b/README.asc
index 88663a2..91a67a2 100644
--- a/README.asc
+++ b/README.asc
@@ -330,6 +330,9 @@ commands" below):
|kbd:[&]
|Pipe object region through shell command.
+|kbd:[|]
+|Interactively pipe object region through shell or region command.
+
|kbd:[$]
|Flyspell textual content of object.
diff --git a/objed.el b/objed.el
index 97d789c..59beb2d 100644
--- a/objed.el
+++ b/objed.el
@@ -2580,14 +2580,17 @@ c: capitalize."
(defvar objed--ipipe-schedule-time 0.15
"Time frame to update the display.")
-(defvar objed--ipipe-timer nil)
+(defvar objed--ipipe-timer nil
+ "Timer used for `objed-ipipe'.")
(defun objed--ipipe-reset-timer ()
+ "Reset timer used `objed--ipipe-timer'."
(when objed--ipipe-timer
(cancel-timer objed--ipipe-timer))
(setq objed--ipipe-timer nil))
(defun objed--ipipe-schedule-timer (&rest _)
+ "Schedule timer `objed--ipipe-timer'."
(let ((mini (window-buffer (active-minibuffer-window))))
(objed--ipipe-reset-timer)
(setq objed--ipipe-timer
@@ -2633,6 +2636,9 @@ c: capitalize."
(defun objed--ipipe-parse (str)
+ "Parse string STR.
+
+Returns cons cell with cmd as car and possible arguemtns as cdr."
(with-temp-buffer
(insert str)
(goto-char (point-min))
@@ -2642,6 +2648,9 @@ c: capitalize."
(defun objed--ipipe-to-string (cmd-args str)
+ "Pipe string STR through CMD-ARGS.
+
+Return restult if any or nil."
(let* ((cmdline (minibuffer-contents))
(parsed (objed--ipipe-parse cmdline))
(cmd (car-safe parsed))
@@ -2690,7 +2699,9 @@ Exit if there is no content."
(delete-minibuffer-contents)))
(defun objed-ipipe-complete ()
- "Complete for shell commands and region commands."
+ "Completion used by `objed-ipipe'.
+
+Completes shell and region commands."
(interactive)
(let ((bounds (or (bounds-of-thing-at-point 'symbol)
(cons (point)
@@ -2709,6 +2720,9 @@ Exit if there is no content."
;; ** Entry command
(defun objed-ipipe (beg end)
+ "Pipe region between BED END through commands.
+
+Commands can be shell commands or region commands."
(interactive "r")
;; init
(setq objed--ipipe-last "")
- [elpa] externals/objed e9bfd92 156/216: Switch code order to avoid confusing compile warnings, (continued)
- [elpa] externals/objed e9bfd92 156/216: Switch code order to avoid confusing compile warnings, Stefan Monnier, 2019/01/08
- [elpa] externals/objed add4b8f 154/216: Markup again, Stefan Monnier, 2019/01/08
- [elpa] externals/objed cf1db37 140/216: Allow users to define a function to allow/prevent objed init, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 26c88ba 168/216: Revert to 0, 1 is needed for 10>, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 39095c2 143/216: Add type specifications to defcustom calls, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 5c20c43 176/216: Improve org element/block object, don't inherit from paragraph, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 30eb150 166/216: Improve exit minibuffer for ipipe, Stefan Monnier, 2019/01/08
- [elpa] externals/objed fa3b6db 161/216: Add include leading/trailing whitespace commands, Stefan Monnier, 2019/01/08
- [elpa] externals/objed de2d6e1 162/216: Toggle for repeating objed-extend, Stefan Monnier, 2019/01/08
- [elpa] externals/objed ec04ce3 182/216: Simplify exit-op logic, Stefan Monnier, 2019/01/08
- [elpa] externals/objed d0bc8c7 165/216: Update docs for ipipe,
Stefan Monnier <=
- [elpa] externals/objed ee50345 170/216: Rephrase, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 76779dc 197/216: Adjust activation condition again, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 74b3595 181/216: Adjust textblock object, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 3a983ab 205/216: Read arguments of rcmd after region is established, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 6092485 173/216: Ignore cases where object could not be found (range = nil), Stefan Monnier, 2019/01/08
- [elpa] externals/objed 736c331 193/216: Improve undo, repeat will proceed undo in object region, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 723fe2c 204/216: Adjust objed-activate again, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 7c2bc2f 206/216: Inline eval-rspec, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 3c8f74d 186/216: Make forward-word work like the other commands for extend, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 47ff6db 207/216: Provide default for replace-op, Stefan Monnier, 2019/01/08