[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/clipboard-collector 7504300 03/31: Update Docs
From: |
Stefan Monnier |
Subject: |
[elpa] externals/clipboard-collector 7504300 03/31: Update Docs |
Date: |
Sun, 6 Jan 2019 17:16:18 -0500 (EST) |
branch: externals/clipboard-collector
commit 7504300317b804420fb80d0a5db792978a1037d2
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>
Update Docs
---
README.org | 15 ++++++++++++++-
clipboard-collector.el | 3 ++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 2d274e2..80d177f 100644
--- a/README.org
+++ b/README.org
@@ -1,6 +1,19 @@
+* Introduction
+
+When collecting information using copy/paste, it would be useful if one could
+stay in the application where things are copied instead of constantly switching
+between Emacs and the other application to pase each item separately.
+
+Further it would be great if Emacs could detect clipboard entries and adjust
them
+to the format one would like to save them.
+
+This is what clipboard-collector is about. Here is an example for collecting
+contact information from a website for org capture (contact info translated to
+be used as property drawer items).
+
+
#+BEGIN_SRC elisp
-;; example capturing org propertry drawer items for org capture:
(clipboard-collector-create cc-capture-rss
(("^http.*twitter.com" ":TWITTER: %s")
("^http.*reddit.com" ":REDDIT: %s")
diff --git a/clipboard-collector.el b/clipboard-collector.el
index e03853f..a18408b 100644
--- a/clipboard-collector.el
+++ b/clipboard-collector.el
@@ -94,7 +94,8 @@ the placeholder is replaced by the clipboard contents.
If you want to transform the clipboard contents using a function
specify TRANSFORM-CLIPBOARD-FUNC. This is applied before contents
-are applied to TRANSFORM-FORMAT-STRING.")
+are applied to TRANSFORM-FORMAT-STRING and can use match-data of
+the matched regex.")
(defvar clipboard-collector--finish-function nil
"Default function used by `clipboard-collector-finish'.")
- [elpa] branch externals/clipboard-collector created (now 4610a49), Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 7504300 03/31: Update Docs,
Stefan Monnier <=
- [elpa] externals/clipboard-collector 55421be 02/31: Add clipboard-collector and Readme, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 59f85e0 13/31: Update example, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 0795dac 07/31: Fix order for finish function and update Readme, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector cdbdaad 04/31: Rephrase description, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 65fa172 10/31: Prepend "Collected:" to display collected, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 93f4c69 08/31: Rephrase descirption, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector e2e3a76 27/31: Version bump, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector b710270 21/31: Mention clipmon, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 5e59682 30/31: Update email, Stefan Monnier, 2019/01/06
- [elpa] externals/clipboard-collector 25c4bb4 25/31: Use select-enable-clipboard instead of select-enable-primary, Stefan Monnier, 2019/01/06