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

emacspeak speaking engine for personal needs

Hi folks!

I would like to use emacspeak speaking possibilities from within my
own custom commands.  But I have found some difficulties with speaking
out several messages one by one.  For example, i have written the
following simple routine to read text continuously sentence by
sentence.  However it just passes silently through all text or reads
only some part.

;;; This reads buffer sentence by sentence

(defun my-read-book ()
  (dtk-set-punctuations 'none)
  (let ((old (point)))
    (while (re-search-forward sentence-end nil t)
       (buffer-substring-no-properties old (point)))
      (setq old (point))

What is wrong with this code?  Or maybe it is a problem with my speech
server?  Has anyone this code working?

Thanks. Dmitry

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

Emacspeak Files | Subscribe | Unsubscribe | Search