Mercurial > emacs
annotate leim/quail/pypunct-b5.el @ 70258:5dfde453f39e
(defgroup grep): Doc fix.
(grep-auto-highlight): Remove.
(grep-template): New defcustom.
(grep-find-template): Rename from grep-tree-template.
(grep-files-aliases): Rename from grep-tree-files-aliases.
Remove "all" alias, add "l" alias.
(grep-tree-ignore-case, grep-tree-ignore-CVS-directories): Remove.
(grep-find-ignored-directories): New defcustom to replace
grep-tree-ignore-CVS-directories, to facilitate ignoring
subdirectories for multiple version control systems.
(grep-mode-map): Add Recursive grep item to GREP menu.
(grep-regexp-history, grep-files-history): New defvars.
(grep-probe): New helper function.
(grep-compute-defaults): Use it to simplify code.
Adapt to name changes.
Use `.' as base in grep-find-template rather than <D>.
(grep): Remove superfluous highlight-regexp arg. Fix doc.
Call grep-compute-defaults unconditionally.
(grep-expand-keywords): New defconst.
(grep-expand-template): Rename from grep-expand-command-macros.
Simplify via grep-expand-keywords. Look at case-fold-search instead
of grep-tree-ignore-case to add -i option.
Bind case-fold-search to nil while matching keywords.
(grep-tree-last-regexp, grep-tree-last-files): Remove.
(grep-read-regexp, grep-read-files): New helper functions.
(rgrep): Rename from grep-tree. Rework to use proper histories.
Adapt to changes in defcustoms and functions above.
(lgrep): New command, as grep, but using same interactive api as rgrep.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 28 Apr 2006 22:22:01 +0000 |
parents | 361980dbd165 |
children | 6ee41fdd69ff c156f6a9e7b5 |
rev | line source |
---|---|
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
1 ;;; pypunct-b5.el --- Quail packages for Chinese (pinyin + extra symbols) |
18803 | 2 |
69954 | 3 ;; Copyright (C) 1997, 2000, 2003 |
67657 | 4 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
5 ;; Registration Number H14PRO021 | |
18803 | 6 |
7 ;; Author: Ken'ichi HANDA <handa@etl.go.jp> | |
8 | |
9 ;; Keywords: multilingual, input method, Chienese | |
10 | |
11 ;; This file is part of GNU Emacs. | |
12 | |
13 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
14 ;; it under the terms of the GNU General Public License as published by | |
15 ;; the Free Software Foundation; either version 2, or (at your option) | |
16 ;; any later version. | |
17 | |
18 ;; GNU Emacs is distributed in the hope that it will be useful, | |
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 ;; GNU General Public License for more details. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64083 | 25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
26 ;; Boston, MA 02110-1301, USA. | |
18803 | 27 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
28 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
29 |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
30 ;;; Code: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
31 |
18966 | 32 (require 'quail) |
33 | |
18803 | 34 (load "quail/PY-b5") |
35 (load "quail/Punct-b5") | |
36 | |
37 (quail-define-package | |
51136
04c11327e7a3
("chinese-py-punct-b5"): Change the title
Kenichi Handa <handa@m17n.org>
parents:
38453
diff
changeset
|
38 "chinese-py-punct-b5" "Chinese-BIG5" "$(03<>K(B" |
18803 | 39 t |
40 "$(0&d'GTT&,!J3<5x!K(B and `v' for $(0O:X5>KHATT&,(B | |
41 | |
31430
51af891cb717
("chinese-py-punct-b5"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
19965
diff
changeset
|
42 This is the combination of the input method `chinese-py-b5' and |
51af891cb717
("chinese-py-punct-b5"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
19965
diff
changeset
|
43 `chinese-punct-b5'. |
51af891cb717
("chinese-py-punct-b5"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
19965
diff
changeset
|
44 |
51af891cb717
("chinese-py-punct-b5"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
19965
diff
changeset
|
45 You can enter normal Chinese characters by the same way as `chinese-py-b5'. |
18803 | 46 And, you can enter symbols by typing `v' followed by any key sequences |
31430
51af891cb717
("chinese-py-punct-b5"): Docstring modified.
Kenichi Handa <handa@m17n.org>
parents:
19965
diff
changeset
|
47 defined in `chinese-punct-b5'. |
18803 | 48 |
49 For instance, typing `v' and `%' insert `$(0"h(B'. | |
50 ") | |
51 | |
52 (setcar (nthcdr 2 quail-current-package) | |
53 (nth 2 (assoc "chinese-py-b5" quail-package-alist))) | |
54 | |
55 (quail-defrule "v" (nth 2 (assoc "chinese-punct-b5" quail-package-alist))) | |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
56 |
52401 | 57 ;;; arch-tag: fe8176d3-b467-47d5-9ed9-75b6e27cf29b |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
31430
diff
changeset
|
58 ;;; pypunct-b5.el ends here |