[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master de2260f 07/62: Documented the population commands
From: |
Ian Dunn |
Subject: |
[elpa] master de2260f 07/62: Documented the population commands |
Date: |
Sat, 9 Dec 2017 14:33:56 -0500 (EST) |
branch: master
commit de2260f2918b55a37fde8c5bf7d3cb131786cf3e
Author: Ian Dunn <address@hidden>
Commit: Ian Dunn <address@hidden>
Documented the population commands
* paced.el: Added documentation for each population command.
---
paced.el | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/paced.el b/paced.el
index 0a59842..bd7bd8b 100644
--- a/paced.el
+++ b/paced.el
@@ -700,7 +700,8 @@ Return non-nil if setup was successful and population can
continue.")
:type string
:label "File"
:custom (file :tag "File")
- :documentation "File from which to populate.")))
+ :documentation "File from which to populate."))
+ "Populates a dictionary from all words in a single file.")
(cl-defmethod paced-population-command-source-list ((cmd
paced-file-population-command))
(list (oref cmd file)))
@@ -714,7 +715,10 @@ Return non-nil if setup was successful and population can
continue.")
:type string
:label "Buffer"
:custom (string :tag "Buffer")
- :documentation "Name of the buffer from which to populate.")))
+ :documentation "Name of the buffer from which to populate."))
+ "Populates a dictionary from all words in a given buffer.
+
+That buffer must be a string, and must exist during population.")
(cl-defmethod paced-population-command-source-list ((cmd
paced-buffer-population-command))
(list (oref cmd buffer)))
@@ -742,7 +746,12 @@ Return non-nil if setup was successful and population can
continue.")
:type function
:label "Setup Function"
:custom (function :tag "Setup Function")
- :documentation "Additional setup function.")))
+ :documentation "Additional setup function."))
+ "Populate from a given file, using a setup function.
+
+That function is called with no arguments, with a temporary
+buffer containing the file's contents, and must return non-nil if
+population may continue.")
(cl-defmethod paced-population-command-source-list ((cmd
paced-file-function-population-command))
(list (oref cmd file)))
@@ -788,7 +797,8 @@ match a regular expression.")
:type function
:label "Generator"
:custom (function :tag "Generator")
- :documentation "Function of no arguments that returns a list of
files.")))
+ :documentation "Function of no arguments that returns a list of
files."))
+ "Populate a dictionary from a list of files.")
(cl-defmethod paced-population-command-source-list ((cmd
paced-file-list-population-command))
(funcall (oref cmd generator)))
- [elpa] master 9b61ee5 03/62: Added ede/proj-aux to bootstrap.sh, (continued)
- [elpa] master 9b61ee5 03/62: Added ede/proj-aux to bootstrap.sh, Ian Dunn, 2017/12/09
- [elpa] master 428098b 04/62: Added bzrignore file, Ian Dunn, 2017/12/09
- [elpa] master d854f3d 02/62: Fixed typos, Ian Dunn, 2017/12/09
- [elpa] master 52c8a88 10/62: Fixed usage of bzr send in documentation, Ian Dunn, 2017/12/09
- [elpa] master 262d99f 13/62: Added package requirements to paced.el, Ian Dunn, 2017/12/09
- [elpa] master 79c22c2 06/62: Added new customization options for paced-load-all-dictionaries, Ian Dunn, 2017/12/09
- [elpa] master e404950 14/62: Alias if-let* and when-let* for backwards compatibility, Ian Dunn, 2017/12/09
- [elpa] master 6c014ae 15/62: Remove rx pcase form for compatibility, Ian Dunn, 2017/12/09
- [elpa] master ecb2f9d 12/62: Fixed up info title, Ian Dunn, 2017/12/09
- [elpa] master c369964 16/62: Reduce required Emacs version to 25.3, Ian Dunn, 2017/12/09
- [elpa] master de2260f 07/62: Documented the population commands,
Ian Dunn <=
- [elpa] master febb200 08/62: Added function to submit a bug report, Ian Dunn, 2017/12/09
- [elpa] master b925c0b 17/62: Updated links in documentation, Ian Dunn, 2017/12/09
- [elpa] master 38979b5 18/62: Fixed up contributing documentation, Ian Dunn, 2017/12/09
- [elpa] master 4162bd4 22/62: Changed name of registered checker, Ian Dunn, 2017/12/09
- [elpa] master 302d4b4 28/62: Added convenience method for adding population commands, Ian Dunn, 2017/12/09
- [elpa] master 4824306 21/62: Make the registered dictionary map a hash table, Ian Dunn, 2017/12/09
- [elpa] master e751e4f 24/62: Update case-handling slot name in Documentation, Ian Dunn, 2017/12/09
- [elpa] master dada473 19/62: Push of info page, Ian Dunn, 2017/12/09
- [elpa] master 6e7d6d7 29/62: Updated method names in paced-repopulate-dictionary-async, Ian Dunn, 2017/12/09
- [elpa] master ce7a2be 20/62: Changed case-sensitivity to case-handling, Ian Dunn, 2017/12/09