[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacspeak-speak-modeline
- To: bep@argv.org
- Subject: Re: emacspeak-speak-modeline
- From: Kazunori MINATANI <99112004@gakushuin.ac.jp>
- Date: Fri, 26 Jan 2001 12:36:13 +0900
- Delivered-To: mailing list bep@argv.org
- Mailing-List: contact bep-help@argv.org; run by ezmlm
- User-Agent: Wanderlust/2.5.4 (Smooth) EMY/1.13.9 (Art is long, life is short) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
南谷です。
言い出しっぺの法則的にwlのplugedのon/offを通知するコードを書いてみなし
た。ただし、このadviceで全てのplugedのon/offを検知できるのかちょっと自信
がありません。
#"pluged on"/"pluged off"と言わせているのですが、英語として正しいのかよ
#く分かりません。
よかったらマージなどして下さい。
;;; emacspeak-wl2.el
;;; 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)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defadvice wl-toggle-plugged (after emacspeak pre act )
"speak folder's pluged status"
(if wl-plugged
(dtk-speak "pluged on")
(dtk-speak "pluged off")))
(provide 'emacspeak-wl2)