small doc update
[spray] / Readme.org
1 * spray.el
2
3 A speed reading mode for Emacs.
4
5 The algorithm is inspired from [[https://github.com/Miserlou/OpenSpritz][OpenSpritz]].
6
7 ** Deficiencies in similar projects which spray.el solves:
8
9 Mostly as of June 28, 2014.
10
11 For all other projects:
12 - It is very difficult to save your place and come back later. Emacs has lots of built in features like bookmarks or just making a note which make this easy.
13 - No keybinds. This is especially useful for common, quickly used functionality like pause and back up.
14
15 Specific projects:
16 - https://github.com/jbmartinez/speed-readerff firefox extension.
17 - https://github.com/cameron/squirt javascript bookmarklet.
18 - https://github.com/Miserlou/OpenSpritz javascript bookmarklet.
19 - Very difficult selecting where to start / what exactly to read.
20 - Very difficult to figure out where you are within a document.
21
22
23 - https://github.com/chaimpeck/spray website you paste text into.
24 - Very difficult to figure out where you are within a document.
25
26 - https://github.com/xypiie/spread0r Perl program.
27 - No apparent way to resize text.
28 - Very difficult to figure out where you are within a document.
29
30
31 - https://github.com/the-happy-hippo/sprits-it website or bookmarklet. Looks most promising of the web based projects.
32 - Very difficult selecting where to start / what exactly to read.
33 - Somewhat difficult to figure out where you are in a document.
34
35
36 Programs that I, Ian Kelling, didn't try, and why. They also probably have a lot of the problems listed above.
37 - https://github.com/pasky/speedread No simple way to resize text from default of too small.
38 - https://github.com/ds300/jetzt Chrome plugin: Chrome is proprietary, and its open source version is unfriendly to linux distros so they don't package it, and it's readme does not list any benefit to this program over others.
39 - https://github.com/Fr4ncis/openspritz-ios ios program. I don't have an ios device, and this does not appear to have any compelling features.
40 - https://github.com/OnlyInAmerica/OpenSpritz-Android android program. If I knew how to quickly move reading material to my phone, I would try this out. But, it's readme shows that the program is pretty sparse and would have some of the same problems as listed above, so not worth it.
41
42
43 Downsides compared to similar projects:
44 - The emacs learning curve.
45 - Would be hard to get running on a phone.
46
47
48 ** Screencast
49
50 [[screencast.gif]]
51
52 ** Installation
53
54 Put spray.el into a "load-path"ed directory, and load it in your init
55 file.
56
57 : (require 'spray)
58
59 Then you can start spraying from the cursor position with =M-x
60 spray-mode=. Binding some keys may also be useful.
61
62 : (global-set-key (kbd "<f6>") 'spray-mode)
63
64 ** Commands
65
66 In spray-mode buffers, following commands are available.
67
68 - =spray-start/stop= (SPC) ::
69 pause or resume spraying
70
71 - =spray-backward-word= (h, <left>) ::
72 pause and back to the last word
73
74 - =spray-forward-word= (l, <right>) ::
75 inverse of =spray-backward-word=
76
77 - =spray-faster= (f) ::
78 increases speed
79
80 - =spray-slower= (s) ::
81 decreases speed
82
83 - =spray-quit= (q, <return>) ::
84 quit =spray-mode=
85
86
87 ** Customization
88
89 You may customize spray by modifying following items:
90
91 - [Variable] spray-wpm
92 - [Variable] spray-height
93 - [Variable] spray-margin-top
94 - [Variable] spray-margin-left
95 - [Keymap] spray-mode-map
96 - [Face] spray-base-face
97 - [Face] spray-accent-face
98
99
100 ** Contributions are welcome!
101
102 There's lots of features and enhancements to do. The algorithm has lots of room for improvement. Also, other projects may have algorithm improvements we can port over to this one.