[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/greader 68c694f9f6 10/23: Changed references from "chun
From: |
ELPA Syncer |
Subject: |
[elpa] externals/greader 68c694f9f6 10/23: Changed references from "chung" to "chunk". |
Date: |
Wed, 26 Oct 2022 05:57:48 -0400 (EDT) |
branch: externals/greader
commit 68c694f9f6dc9b8864042ceddd224b93f1c642db
Author: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Changed references from "chung" to "chunk".
---
greader.el | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/greader.el b/greader.el
index 1312a3d59e..9982fa8dda 100644
--- a/greader.el
+++ b/greader.el
@@ -159,24 +159,24 @@ customize your key definitions for greader, for example."
:tag "greader-mode hook"
:type 'hook)
-(defcustom greader-move-to-next-chung
- 'greader-forward-sentence
- "Sets the function that moves the cursor for the next chung of text.
+(defcustom greader-move-to-next-chunk
+ #'greader-forward-sentence
+ "The function that moves the cursor for the next chunk of text.
For example if you have specified `sentence-at-point' function to get
-the actual chung, you should specify `forward-sentence' for this
+the current chunk, you should specify `forward-sentence' for this
variable."
- :tag "greader move to next chung function"
+ :tag "greader move to next chunk function"
:type 'function)
-(defcustom greader-read-chung-of-text
- 'greader-sentence-at-point
- "Sets the function used to get the portion of text to read.
-The variable `greader-move-to-next-chung' must be set to a function that
+(defcustom greader-read-chunk-of-text
+ #'greader-sentence-at-point
+ "The function used to get the portion of text to read.
+The variable `greader-move-to-next-chunk' must be set to a function that
moves the cursor to the same amount of text that is set in this
variable. For example, if you specify a function that gets a
sentence, you should specify a function that moves to the next one."
:type 'function
- :tag "greader get chung of text function")
+ :tag "greader get chunk of text function")
(defcustom greader-use-prefix t
"Toggle on or off for use register feature.
if set to t, when you call function `greader-read', that function sets a
@@ -389,8 +389,8 @@ Argument PROCESS .
Argument EVENT ."
(if greader-debug
(greader-debug (format "greader-next-action: %s" event)))
- (funcall greader-move-to-next-chung)
- (funcall 'greader-read))
+ (funcall greader-move-to-next-chunk)
+ (greader-read))
(defun greader-read (&optional goto-marker)
"Start reading of current buffer.
@@ -409,18 +409,18 @@ if `GOTO-MARKER' is t and if you pass a prefix to this
(cond
((and (greader-timer-flag-p) (not (timerp greader-stop-timer)))
(greader-setup-timers)))
- (let ((chung (funcall greader-read-chung-of-text)))
- (if chung
+ (let ((chunk (funcall greader-read-chunk-of-text)))
+ (if chunk
(progn
- ; this extra verification is necessary
because espeak has a bug that,
- ; when we pass a string containing a
vocal plus only 2 .. it reads
- ; garbage.
- (if (string-suffix-p ".." chung)
- (setq chung (concat chung ".")))
+ ;; This extra verification is necessary because espeak has a bug that,
+ ;; when we pass a string containing a vocal plus only 2 .. it reads
+ ;; garbage.
+ (if (string-suffix-p ".." chunk)
+ (setq chunk (concat chunk ".")))
(greader-set-reading-keymap)
- (setq-local greader-read 'greader-read)
- (setq-local greader-backend-action 'greader-next-action)
- (greader-read-asynchronous chung))
+ (setq-local greader-read 'greader-read) ;FIXME: Unused?
+ (setq-local greader-backend-action #'greader-next-action)
+ (greader-read-asynchronous chunk))
(progn
(setq-local greader-backend-action 'greader--default-action)
(greader-set-greader-keymap)
- [elpa] externals/greader updated (2f42d2dd40 -> ae6e7524b9), ELPA Syncer, 2022/10/26
- [elpa] externals/greader 6478ca13ce 12/23: Revert "Changed `actual-backend' definitions to `current-backend'.", ELPA Syncer, 2022/10/26
- [elpa] externals/greader 017d264a9d 07/23: More work on last commit., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 077c8261e3 04/23: Functions `greader-get-sentence' and `greader-forward-sentence', ELPA Syncer, 2022/10/26
- [elpa] externals/greader faa0d5d94b 21/23: Command `greader-compile-goto-source added., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 8dbbdfb10c 15/23: greader-reading-map default bindings changed plus indentation, ELPA Syncer, 2022/10/26
- [elpa] externals/greader 54c0a2b6b5 16/23: General cleanup and restiling., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 63de204419 14/23: Removed handling of auto-tired-mode in greader-minor-mode definition, ELPA Syncer, 2022/10/26
- [elpa] externals/greader 68c694f9f6 10/23: Changed references from "chung" to "chunk".,
ELPA Syncer <=
- [elpa] externals/greader e17dbbf002 09/23: Revert "Aggiunto il diario a .gitignore", ELPA Syncer, 2022/10/26
- [elpa] externals/greader f13b963692 03/23: More work on last commit., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 976d1b11d3 06/23: greader-dehyphenate rewritten., ELPA Syncer, 2022/10/26
- [elpa] externals/greader c926c9d48a 11/23: Changed `actual-backend' definitions to `current-backend'., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 9b95142531 19/23: More restiling and minor fixes on new features., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 9da8bcf54e 18/23: General cleanup and rehorganization., ELPA Syncer, 2022/10/26
- [elpa] externals/greader bb6990c384 13/23: Removed some unused variables, ELPA Syncer, 2022/10/26
- [elpa] externals/greader 62f81b5e81 22/23: cleanup and restiling., ELPA Syncer, 2022/10/26
- [elpa] externals/greader 484ef1a836 17/23: New feature added: greader-compile., ELPA Syncer, 2022/10/26
- [elpa] externals/greader fe403c8ea1 05/23: Variable `greader-hyphen-regex' added., ELPA Syncer, 2022/10/26