2
;;; Copyright (c) 2003-2008 uim Project http://code.google.com/p/uim/
4
;;; All rights reserved.
6
;;; Redistribution and use in source and binary forms, with or without
7
;;; modification, are permitted provided that the following conditions
9
;;; 1. Redistributions of source code must retain the above copyright
10
;;; notice, this list of conditions and the following disclaimer.
11
;;; 2. Redistributions in binary form must reproduce the above copyright
12
;;; notice, this list of conditions and the following disclaimer in the
13
;;; documentation and/or other materials provided with the distribution.
14
;;; 3. Neither the name of authors nor the names of its contributors
15
;;; may be used to endorse or promote products derived from this software
16
;;; without specific prior written permission.
18
;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND
19
;;; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
;;; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21
;;; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
22
;;; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24
;;; OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25
;;; HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26
;;; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27
;;; OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31
(define look-im-name-label (N_ "Look"))
32
(define look-im-short-desc (N_ "Tiny predictive input method"))
34
(define-custom-group 'look
38
(define-custom-group 'look-keys
39
(N_ "Look key bindings")
40
(N_ "long description will be here."))
43
(define-custom 'look-dict "/usr/share/dict/words"
45
'(pathname regular-file)
46
(N_ "[Look] Use UNIX look dictionary file")
47
(N_ "long description will be here."))
49
(define-custom 'look-personal-dict-filename
50
(string-append (or (home-directory (user-name)) "") "/.look-uim-dict")
52
'(pathname regular-file)
53
(N_ "[Look] Personal dictionary file")
54
(N_ "long description will be here."))
56
(define-custom 'look-beginning-character-length 1
59
(N_ "[Look] beginning character length of predicting")
60
(N_ "long description will be here."))
62
(define-custom 'look-prepared-words 0
65
(N_ "[Look] Prepared words for prediction")
66
(N_ "long description will be here."))
68
(define-custom 'look-fence-left "{"
71
(N_ "[Look] left fence character of candidate")
72
(N_ "long description will be here"))
74
(define-custom 'look-fence-right "}"
77
(N_ "[Look] right fence character of candidate")
78
(N_ "long description will be here"))
80
(define-custom 'look-on-key generic-on-key
84
(N_ "long description will be here"))
86
(define-custom 'look-off-key generic-off-key
90
(N_ "long description will be here"))
92
(define-custom 'look-completion-key '("tab" generic-end-of-preedit-key)
95
(N_ "[Look] completion character")
96
(N_ "long description will be here"))
98
(define-custom 'look-next-char-key generic-go-right-key
101
(N_ "[Look] next character")
102
(N_ "long description will be here"))
104
(define-custom 'look-prev-char-key '(generic-backspace-key generic-go-left-key)
107
(N_ "[Look] previous character")
108
(N_ "long description will be here"))
110
(define-custom 'look-next-candidate-key '("down" "<IgnoreCase><Control>n") ;; generic-next-candidate-key
113
(N_ "[Look] next candidate")
114
(N_ "long description will be here"))
116
(define-custom 'look-prev-candidate-key '("up" "<IgnoreCase><Control>p") ;; generic-prev-candidate-key
119
(N_ "[Look] previous candidate")
120
(N_ "long description will be here"))
122
(define-custom 'look-save-dict-key '("<IgnoreCase><Control>s" "return")
125
(N_ "[Look] save dictionary")
126
(N_ "long description will be here"))
128
(define-custom 'look-load-dict-key '("<IgnoreCase><Control>l")
131
(N_ "[Look] load dictionary")
132
(N_ "long description will be here"))