branch: externals/greader
commit e6de15fd3fef8703bf2021a810016476ec7c5883
Author: Michelangelo Rodriguez <[email protected]>
Commit: Michelangelo Rodriguez <[email protected]>
Bump version to 0.19.2
Changes since 0.19.1:
* greader.el (greader--current-buffer): Set correctly in
greader-reading-mode and greader-mode keymap-switching functions.
* greader.el: Refactor all keymap definitions from defvar+let block to
defvar+(make-sparse-keymap)+top-level define-key calls. Keeps
minor-mode-map-alist in sync when a keymap defvar is re-evaluated
during development.
* greader.el (greader-move-default-seconds): New defcustom (default 30).
(greader-move-default-minutes): New defcustom (default 1).
(greader-move-by-time): New function. Computes a word offset from the
backend WPM rate and moves point by that amount, then snaps to the
nearest sentence boundary — unless the sentence at the destination is
longer than the offset, in which case point stays at the raw
word-level position.
(greader--seek): New internal function. Stop reading, move by time,
update the register, and resume reading.
(greader-move-by-seconds-backward, greader-move-by-seconds-forward)
(greader-move-by-minutes-backward, greader-move-by-minutes-forward):
New interactive commands, bound to C-<left>/C-<right> and
M-<left>/M-<right> in greader-reading-map. Accept a numeric prefix
argument to override the default seek amount.
* readme.md, greader.texi: Document the four new seek commands and
their customization variables. Fix broken Markdown table in the
Navigation subsection of greader.texi.
---
greader.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/greader.el b/greader.el
index 24e98809a8..af763da03e 100644
--- a/greader.el
+++ b/greader.el
@@ -7,7 +7,7 @@
;; Keywords: tools, accessibility
;; URL: https://gitlab.com/michelangelo-rodriguez/greader
-;; Version: 0.19.1
+;; Version: 0.19.2
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by