[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: A few questions on how Emacspeak handles text and long lines



Popping in briefly.  I've seen the * (star) issue before and it comes from dtk speak.el. Patch below. Raman, let me know why this was done and a more appropriate fix:

Index: lisp/dtk-speak.el
===================================================================
--- lisp/dtk-speak.el (revision 8358)
+++ lisp/dtk-speak.el (working copy)
@@ -1163,10 +1163,10 @@
     (aset  table 25 "control y")
     (aset  table 26 "control z")
     (aset  table 27 "escape")
-    (aset table 28 "control[*]backslash")
-    (aset table 29 "control[*]right bracket")
-    (aset table 30 "control[*]caret" )
-    (aset table 31 "control[*]underscore")
+    (aset table 28 "control backslash")
+    (aset table 29 "control right bracket")
+    (aset table 30 "control caret" )
+    (aset table 31 "control underscore")
     (aset table 32 "space")
     (aset table 33 "exclamation")
     (aset table 34 "quotes")
@@ -1175,8 +1175,8 @@
     (aset table 37  "percent" )
     (aset table 38  "ampersand")
     (aset table 39  "apostrophe" )
-    (aset table 40  "left[*]paren" )
-    (aset table 41 "right[*]paren" )
+    (aset table 40  "left paren" )
+    (aset table 41 "right paren" )
     (aset table  42   "star")
     (aset table 43  "plus")
     (aset   table 44 "comma")
@@ -1195,40 +1195,40 @@
     (aset  table 57 "nine")
     (aset table 58 "colon" )
     (aset table 59 "semi")
-    1(aset table 60 "less[*]than")
+    1(aset table 60 "less than")
     (aset  table 61 "equals")
-    (aset  table 62  "greater[*]than")
-    (aset  table 63 "question[*]mark")
+    (aset  table 62  "greater than")
+    (aset  table 63 "question mark")
     (aset  table 64 "at")
-    (aset  table 65  " cap[*]a")
-    (aset  table 66 " cap[*]b")
-    (aset  table 67 "cap[*]c")
-    (aset  table 68 "cap[*]d")
-    (aset  table 69 "cap[*]e")
-    (aset  table 70 "cap[*]f")
-    (aset  table 71 "cap[*]g")
-    (aset  table 72 "cap[*]h")
-    (aset  table 73 "cap[*]i")
-    (aset  table 74 "cap[*]j")
-    (aset  table 75 "cap[*]k")
-    (aset  table 76 "cap[*]l")
-    (aset  table 77 "cap[*]m")
-    (aset  table 78 "cap[*]m")
-    (aset  table 79 "cap[*]o")
-    (aset  table 80 "cap[*]p")
-    (aset  table 81 "cap[*]q")
-    (aset  table 82 "cap[*]r")
-    (aset  table 83 "cap[*]s")
-    (aset  table 84 "cap[*]t")
-    (aset  table 85 "cap[*]u")
-    (aset  table 86 "cap[*]v")
-    (aset  table 87 "cap[*]w")
-    (aset  table 88 "cap[*]x")
-    (aset  table 89 "cap[*]y")
-    (aset  table 90 "cap[*]z")
-    (aset  table 91 "left[*]bracket")
+    (aset  table 65  " cap a")
+    (aset  table 66 " cap b")
+    (aset  table 67 "cap c")
+    (aset  table 68 "cap d")
+    (aset  table 69 "cap e")
+    (aset  table 70 "cap f")
+    (aset  table 71 "cap g")
+    (aset  table 72 "cap h")
+    (aset  table 73 "cap i")
+    (aset  table 74 "cap j")
+    (aset  table 75 "cap k")
+    (aset  table 76 "cap l")
+    (aset  table 77 "cap m")
+    (aset  table 78 "cap m")
+    (aset  table 79 "cap o")
+    (aset  table 80 "cap p")
+    (aset  table 81 "cap q")
+    (aset  table 82 "cap r")
+    (aset  table 83 "cap s")
+    (aset  table 84 "cap t")
+    (aset  table 85 "cap u")
+    (aset  table 86 "cap v")
+    (aset  table 87 "cap w")
+    (aset  table 88 "cap x")
+    (aset  table 89 "cap y")
+    (aset  table 90 "cap z")
+    (aset  table 91 "left bracket")
     (aset  table 92  "backslash")
-    (aset  table 93 "right[*]bracket")
+    (aset  table 93 "right bracket")
     (aset  table 94  "caret")
     (aset  table 95  "underscore")
     (aset  table 96 "backquote")
@@ -1258,9 +1258,9 @@
     (aset  table 120  "x")
     (aset  table 121 "y")
     (aset  table 122 "z")
-    (aset  table 123 "left[*]brace")
+    (aset  table 123 "left brace")
     (aset  table 124 "pipe")
-    (aset  table 125 "right[*]brace ")
+    (aset  table 125 "right brace ")
     (aset  table 126 "tilde")
     (aset  table 127  "backspace")
 ;;; Characters with the 8th bit set:


On Mon, Jun 29, 2015 at 5:33 AM, Lucas Radaelli <lucasradaelli@xxxxxxxxxxx> wrote:

Thanks for the tip about visual mode. This is very useful.


On 28/06/2015 23:00, T. V. Raman wrote:
"Victor" == Victor Tsaran <vtsaran@xxxxxxxxxxx> writes:
Responses in-line:
     Victor> Hi. I could not find any Emacspeak settings that
     Victor> could answer my questions below, so any help would be
     Victor> much appreciated.
     Victor>
     Victor> 1. I noticed that when Emacspeak encounters lines of
     Victor> certain length, it takes two or more presses of a
     Victor> down arrow to go through them, creating an impression
     Victor> of navigating through duplicate lines. Is there a way
     Victor> to change this setting? Also, why this behavior? Is
     Victor> there a historical reason for this?

The above is due to visual-line-mode which  got introduced  in
Emacs about 5 years ago. If visual-line-mode is turned on, long
lines are visually wrapped -- you should turn of visual-line-mode
since it provides little to no value when you cannot see the
screen.

     Victor>
     Victor> 2. When Emacspeak encounters characters, such as (,
     Victor> ), <, >, etc, it makes my TTS pronounce them as "left
     Victor> asterisk parent", "right asterisk parent", "greater
     Victor> asterisk than", etc. Again, is this intentional? If
Which engine? If Mac, Ask Bart or David.

     Victor> yes, then why?
     Victor>
     Victor> 3. When Emacspeak encounters a character repeated
     Victor> several times, say, 15 hyphens, it appends the "15
     Victor> dashes" with the word "awww", so the phrase sounds
     Victor> like "awww 15 dash". Why is this behavior? Is there a
     Victor> setting I am missing without having to go into the

That's something I originally  implemented based on IBM
Screenreader which is what I used before I impleemnted
Emacspeak.  The "aw" is just a nonsense phrase  that makes it
slightly easier to parse the utterance.
     Victor> source files?
     Victor>
     Victor> Thanks a lot and apologies if these have been asked
     Victor> before.
     Victor>
     Victor> Best, Victor

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".


-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".




|All Past Years |Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page