~ubuntu-branches/ubuntu/utopic/wnn7egg/utopic

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
;; Wnn7Egg is Egg modified for Wnn7, and the current maintainer 
;; is OMRON SOFTWARE Co., Ltd. <wnn-info@omronsoft.co.jp>
;;
;; This file is part of Wnn7Egg. (base code is egg-edep.el (eggV4))
;;
;;; ------------------------------------------------------------------
;;;
;;; Wnn7Egg ¡ÊWnn "€Ê€Ê"€¿€Þ€Ž¡Ë--- Wnn7 Emacs Client 
;;; 
;;; Wnn7Egg €Ï¡¢¡Ö€¿€Þ€ŽÂ裳ÈÇ¡×v3.09 €ò¥Ù¡Œ¥¹€Ë ¡Ö€¿€Þ€ŽÂ裎Èǡ׀ÎÄÌ¿®¡¢
;;; ¥é¥€¥Ö¥é¥êÉô€òÁȀ߹þ€ó€À¡¢Wnn7 €Î°Ù€ÎÀìÍÑ¥¯¥é¥€¥¢¥ó¥È€Ç€¹¡£
;;;
;;; €¹€Ù€Æ€Î¥œ¡Œ¥¹€¬ Emacs Lisp €Çµ­œÒ€µ€ì€Æ€€€ë€Î€Ç¡¢Wnn SDK/Library €òɬÍ×
;;; €È€»€º¡¢GNU Emacs µÚ€Ó XEmacs ŽÄ¶­€Ç»ÈÍÑ€¹€ë€³€È€¬€Ç€­€Þ€¹¡£»ÈÍѵöÂúŸò·ï
;;; €Ï GPL €Ç€¹¡£
;;;
;;; GNU Emacs 20.3 °Ê¹ß¡¢XEmacs 21.x °Ê¹ß€ÇÆ°ºî³Îǧ€·€Æ€€€Þ€¹¡£
;;;
;;;
;;; Wnn7Egg €Ï Wnn7 €Îµ¡Çœ€Ç€¢€ë³Ú¡¹ÆþÎÏ¡ÊÆþÎÏ͜¬¡Ë¡¢Ï¢ÁÛÊÑŽ¹€ò¥µ¥Ý¡Œ¥È
;;; €·€Æ€€€Þ€¹¡£
;;;
;;; ¡Ö€¿€Þ€Ž¡×€ÈÆÈΩ¡¿¶ŠÂž€Ç€­€ë€è€Š€Ë¡¢±Æ¶Á€¹€ëŒçÍ׀ʎؿô¡¿ÊÑ¿ôÌŸ€ò
;;; "wnn7..." €È€€€Š·Á€ËÊѹ¹€·€Æ€€€Þ€¹¡£
;;;
;;; ------------------------------------------------------------------

;; egg-edep.el --- This file serves Emacs version dependent definitions

;; Copyright (C) 1999,2000 PFU LIMITED

;; Author: NIIBE Yutaka <gniibe@chroot.org>
;;         KATAYAMA Yoshio <kate@pfu.co.jp>

;; Maintainer: TOMURA Satoru <tomura@etl.go.jp>

;; Keywords: mule, multilingual, input method

;; This file is part of EGG.

;; EGG 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.

;; EGG 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, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:


(if (featurep 'xemacs)
    (progn
      (defun set-buffer-multibyte (flag)
	(setq enable-multibyte-characters flag))
      (defun egg-chars-in-period (str pos len) len)
      (defalias 'string-as-unibyte 'identity)
      (defalias 'string-as-multibyte 'identity);;
      (defalias 'coding-system-put 'put));;
  (if (fboundp 'set-buffer-multibyte)
      (if (subrp (symbol-function 'set-buffer-multibyte))
	  ;; Emacs 20.3
	  (progn
	    (defun egg-chars-in-period (str pos len) len))
	;; Emacs 20.2
	(defun set-buffer-multibyte (flag)
	  (setq enable-multibyte-characters flag))
	(defalias 'string-as-unibyte 'identity)
	(defalias 'string-as-multibyte 'identity)
	(defalias 'coding-system-put 'put)
	(defun egg-chars-in-period (str pos len)
	  (chars-in-string (substring str pos (+ pos len)))))))

(provide 'wnn7egg-edep)

;;; wnn7egg-edep.el ends here