[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/greader 4ef8c7d 57/76: work on punctuation completed.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/greader 4ef8c7d 57/76: work on punctuation completed. |
Date: |
Fri, 8 Feb 2019 15:26:58 -0500 (EST) |
branch: externals/greader
commit 4ef8c7df9d1a70e4438df55efe14616caee30044
Author: Michelangelo Rodriguez <address@hidden>
Commit: Michelangelo Rodriguez <address@hidden>
work on punctuation completed.
---
greader-espeak.el | 13 ++++++-------
greader.el | 6 +++---
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/greader-espeak.el b/greader-espeak.el
index 604dbd5..cac7780 100644
--- a/greader-espeak.el
+++ b/greader-espeak.el
@@ -3,11 +3,11 @@
-;Copyright (C) 2019 by Michelangelo Rodriguez
+ ;Copyright (C) 2019 by Michelangelo
Rodriguez
(defgroup greader-espeak
-nil
+ nil
"back-end of espeak for greader."
:group 'greader
)
@@ -39,7 +39,7 @@ this variable determines authomatically if espeak is present
in your PATH enviro
"espeak punctuation switch."
:tag "espeak punctuation"
:type 'boolean)
-
+
;;; code
(defun greader-espeak-set-rate
(&optional rate)
@@ -92,9 +92,8 @@ this function accepts only nil or t."
greader-espeak-rate)))
('punctuation
(cond
-
(
- (or (equal arg 'yes) arg)
+ (equal arg 'yes)
(setq-local greader-espeak-punctuation t)
"--punct")
(
@@ -104,8 +103,8 @@ this function accepts only nil or t."
((not arg)
(if greader-espeak-punctuation
"--punct"
- greader-espeak-punctuation))))
-
+ nil))))
+
(command-not-implemented
'not-implemented)))
(put 'greader-espeak 'greader-backend-name "greader-espeak")
diff --git a/greader.el b/greader.el
index 6894d61..06ef1ea 100644
--- a/greader.el
+++ b/greader.el
@@ -467,15 +467,15 @@ This function sets the language of tts local for current
buffer, so if you want
(defun greader-toggle-punctuation ()
"Toggles punctuation locally for current buffer."
(interactive)
- (if (equal (greader-call-backend 'punctuation) "")
+ (if (not (greader-call-backend 'punctuation))
(progn
(greader-stop)
- (greader-set-punctuation t)
+ (greader-set-punctuation 'yes)
(message "punctuation enabled in current buffer")
(greader-read))
(progn
(greader-stop)
- (greader-set-punctuation nil)
+ (greader-set-punctuation 'no)
(message "punctuation disabled in current buffer")
(greader-read))))
- [elpa] externals/greader 3efc0a8 51/76: updated commentary., (continued)
- [elpa] externals/greader 3efc0a8 51/76: updated commentary., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 0fc03d5 52/76: greader.elc removed., Stefan Monnier, 2019/02/08
- [elpa] externals/greader ed45417 45/76: functions to handle punctuation rewritten to reflect new back-end architecture., Stefan Monnier, 2019/02/08
- [elpa] externals/greader a325ef4 54/76: Adding autoloads., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 083f14b 43/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 748cb81 44/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader ec40287 53/76: file README added., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 0db37f6 48/76: preparing to merge., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 4482ba6 56/76: initial work on punctuation., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 3186627 75/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 4ef8c7d 57/76: work on punctuation completed.,
Stefan Monnier <=
- [elpa] externals/greader 7a414f2 73/76: more work on backend completion, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 9274673 66/76: Some diffs applied to various files., Stefan Monnier, 2019/02/08
- [elpa] externals/greader aeb49fe 58/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 2d55a6f 63/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader c5bb54e 61/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 70128f8 59/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 38b08ee 65/76: Merge branch 'devel', Stefan Monnier, 2019/02/08
- [elpa] externals/greader a2c9a16 55/76: changed greader-set-rate to reflect new back-ends architecture., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 6baaffe 64/76: greader.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader f278f60 70/76: fixes, Stefan Monnier, 2019/02/08