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

Patch: Fixing a Typo And Adding Noquery to the Speaker Process



Hi,

First off, I had a typo in the bookshare module that caused multiple lines to be created in ~/.authinfo.gpg. I fixed it in this patch.

Also, I’ve set the query flag on the Speaker process to nil, meaning that Emacs will act like it does with sighted folks, namely you won’t get a prompt that there are processes running when it’s just Emacspeak.

The patch is below.

2 files changed, 2 insertions(+), 1 deletion(-)
lisp/dtk-speak.el           | 1 +
lisp/emacspeak-bookshare.el | 2 +-

modified   lisp/dtk-speak.el
@@ -1710,6 +1710,7 @@ program. Port defaults to dtk-local-server-port"
         (process nil))
     (setq process (apply #'start-process name nil program dtk-program-args))
     (set-process-coding-system process 'utf-8 'utf-8)
+    (set-process-query-on-exit-flag process nil)
     (tts-env-set-process-env process
                              (tts-env-get (tts-env-key dtk-program)))
     process))
modified   lisp/emacspeak-bookshare.el
@@ -200,7 +200,7 @@ Returns a cons cell where the car is email, and the cdr is password."
                 :host "api.bookshare.org"
                 :port 'https
                 :create t
-                :require '(:username :secret)))))
+                :require '(:user :secret)))))
     (when found
       (let ((user (plist-get found :user))
             (secret (plist-get found :secret))


|May 1995 - Last Year |Current Year|


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

Contact Info Page