source: projects/specs/trunk/t/text-translator/vine-default-text-translator.el @ 1212

Revision 1212, 1.1 KB checked in by iwaim, 14 years ago (diff)

text-translator 0.7.1-1

Line 
1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2;;  -*- coding: utf-8-unix -*-
3;;  FSF Emacs 23 用 Vine Linux text-translator 設定
4;;    IWAI, Masaharu <iwai@alib.jp>
5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8;; text-translator の設定
9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10
11(require 'text-translator)
12(global-set-key "\C-x\M-t" 'text-translator)
13
14;;  ;; set prefix-key to M-n
15;; (setq text-translator-prefix-key "\M-n")
16
17;; use translation type auto selection (english/japanese only)
18;; set function that use auto selection
19(setq text-translator-auto-selection-func
20      'text-translator-translate-by-auto-selection-enja)
21
22;; set global-key
23(global-set-key "\C-xt" 'text-translator-translate-by-auto-selection)
24
25;; ;; if you are setting environment variables HTTP_PROXY,
26;; ;; you have not to set this.
27;; (setq text-translator-proxy-server "proxy.example.com")
28;; (setq text-translator-proxy-port   8080)
29
30(provide 'vine-default-text-translator)
31
32;; Local Variables:
33;; mode: emacs-lisp
34;; End:
Note: See TracBrowser for help on using the repository browser.