[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacspeak-its.el
- To: bep@argv.org
- Subject: Re: emacspeak-its.el
- From: Koichi INOUE <inoue@argv.org>
- Date: 20 Jan 2001 15:11:06 +0900
- Delivered-To: mailing list bep@argv.org
- Mailing-List: contact bep-help@argv.org; run by ezmlm
- Organization: Accessibility Research Group for the Visually Impaired(ARGV)
- User-Agent: T-gnus/6.14.5 (based on Gnus v5.8.7) (revision 08) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.0.95 (i386-windy-freebsd4.2) MULE/5.0 (SAKAKI)
井上です。
itsのハックありがとうございます。
なかなかいいですね。
是非BEP本体に追加したいです。
これってemacspeak-eggに入れてしまうのはまずいのでしょうか。
聴音で死ぬ問題は下のようにdtk-speakの引数をbep-get-cursor-string()に通せ
ば解決します。副作用もないと思いますが、もしあったらきっと
bep-get-cursor-stringの根本的問題です。
以下、最後の方だけ変更したemacspeak-its.elです。
;;; emacspeak-its.el --- Speech enable its -- Fluent spoken access to its(egg4)
;;; This file is not part of GNU Emacs, but the same permissions apply.
;;;
;;; GNU Emacs is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 2, or (at your option)
;;; any later version.
;;;
;;; GNU Emacs is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Emacs; see the file COPYING. If not, write to
;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
(require 'cl)
(declaim (optimize (safety 0) (speed 3)))
(require 'emacspeak-speak)
(require 'emacspeak-sounds)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defadvice its-buffer-ins/del-SYL (after emacspeak pre act )
"read the SYL(about what means SYL, please refer to its.el"
(if ad-return-value
(dtk-speak (bep-get-cursor-string output))))
(provide 'emacspeak-its)