[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



Thanks for catching that. The [*] from dtk-speak.el is being used
to generate a "morpheme boundary" both the Dectalk And Viavoice
engines happen  to use the same marker. I'll work out a  more
generic fix   later this week.
>>>>> "David" == David Tseng <davidtseng@xxxxxxxxxxx> writes:
    David> Popping in briefly. I've seen the * (star) issue
    David> before and it comes from dtk speak.el. Patch
    David> below. Raman, let me know why this was done and a more
    David> appropriate fix:
    David> 
    David> Index: lisp/dtk-speak.el
    David> ===================================================================
    David> --- lisp/dtk-speak.el (revision 8358) +++
    David> lisp/dtk-speak.el (working copy) @@ -1163,10 +1163,10
    David> @@ (aset table 25 "control y") (aset table 26 "control
    David> z") (aset table 27 "escape") - (aset table 28
    David> "control[*]backslash") - (aset table 29
    David> "control[*]right bracket") - (aset table 30
    David> "control[*]caret" ) - (aset table 31
    David> "control[*]underscore") + (aset table 28 "control
    David> backslash") + (aset table 29 "control right bracket")
    David> + (aset table 30 "control caret" ) + (aset table 31
    David> "control underscore") (aset table 32 "space") (aset
    David> table 33 "exclamation") (aset table 34 "quotes") @@
    David> -1175,8 +1175,8 @@ (aset table 37 "percent" ) (aset
    David> table 38 "ampersand") (aset table 39 "apostrophe" ) -
    David> (aset table 40 "left[*]paren" ) - (aset table 41
    David> "right[*]paren" ) + (aset table 40 "left paren" ) +
    David> (aset table 41 "right paren" ) (aset table 42 "star")
    David> (aset table 43 "plus") (aset table 44 "comma") @@
    David> -1195,40 +1195,40 @@ (aset table 57 "nine") (aset
    David> table 58 "colon" ) (aset table 59 "semi") - 1(aset
    David> table 60 "less[*]than") + 1(aset table 60 "less than")
    David> (aset table 61 "equals") - (aset table 62
    David> "greater[*]than") - (aset table 63 "question[*]mark")
    David> + (aset table 62 "greater than") + (aset table 63
    David> "question mark") (aset table 64 "at") - (aset table 65
    David> " cap[*]a") - (aset table 66 " cap[*]b") - (aset table
    David> 67 "cap[*]c") - (aset table 68 "cap[*]d") - (aset
    David> table 69 "cap[*]e") - (aset table 70 "cap[*]f") -
    David> (aset table 71 "cap[*]g") - (aset table 72 "cap[*]h")
    David> - (aset table 73 "cap[*]i") - (aset table 74
    David> "cap[*]j") - (aset table 75 "cap[*]k") - (aset table
    David> 76 "cap[*]l") - (aset table 77 "cap[*]m") - (aset
    David> table 78 "cap[*]m") - (aset table 79 "cap[*]o") -
    David> (aset table 80 "cap[*]p") - (aset table 81 "cap[*]q")
    David> - (aset table 82 "cap[*]r") - (aset table 83
    David> "cap[*]s") - (aset table 84 "cap[*]t") - (aset table
    David> 85 "cap[*]u") - (aset table 86 "cap[*]v") - (aset
    David> table 87 "cap[*]w") - (aset table 88 "cap[*]x") -
    David> (aset table 89 "cap[*]y") - (aset table 90 "cap[*]z")
    David> - (aset table 91 "left[*]bracket") + (aset table 65 "
    David> cap a") + (aset table 66 " cap b") + (aset table 67
    David> "cap c") + (aset table 68 "cap d") + (aset table 69
    David> "cap e") + (aset table 70 "cap f") + (aset table 71
    David> "cap g") + (aset table 72 "cap h") + (aset table 73
    David> "cap i") + (aset table 74 "cap j") + (aset table 75
    David> "cap k") + (aset table 76 "cap l") + (aset table 77
    David> "cap m") + (aset table 78 "cap m") + (aset table 79
    David> "cap o") + (aset table 80 "cap p") + (aset table 81
    David> "cap q") + (aset table 82 "cap r") + (aset table 83
    David> "cap s") + (aset table 84 "cap t") + (aset table 85
    David> "cap u") + (aset table 86 "cap v") + (aset table 87
    David> "cap w") + (aset table 88 "cap x") + (aset table 89
    David> "cap y") + (aset table 90 "cap z") + (aset table 91
    David> "left bracket") (aset table 92 "backslash") - (aset
    David> table 93 "right[*]bracket") + (aset table 93 "right
    David> bracket") (aset table 94 "caret") (aset table 95
    David> "underscore") (aset table 96 "backquote") @@ -1258,9
    David> +1258,9 @@ (aset table 120 "x") (aset table 121 "y")
    David> (aset table 122 "z") - (aset table 123 "left[*]brace")
    David> + (aset table 123 "left brace") (aset table 124
    David> "pipe") - (aset table 125 "right[*]brace ") + (aset
    David> table 125 "right brace ") (aset table 126 "tilde")
    David> (aset table 127 "backspace") ;;; Characters with the
    David> 8th bit set:
    David> 
    David> 
    David> On Mon, Jun 29, 2015 at 5:33 AM, Lucas Radaelli
    David> <lucasradaelli@xxxxxxxxxxx> wrote:
    David> 
    >> 
    >> 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