Thread View: fj.kanakan.misc
5 messages
5 total messages
Started by NAKAJI Hiroyuki
Mon, 15 Dec 1997 00:00
[Q] I want to input ?->? etc.
Author: NAKAJI Hiroyuki
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
85 lines
3201 bytes
3201 bytes
中治@京大防災研です。
mule-2.3@19.34でCanna32p2を使っています。やりたい事は
?を変換する時に?を候補に出す。
或は、
日本語入力時(左下が[ あ ]の時)には?キーに対して?ではなくて?を入力する。
です。なお、?だけではなく、0123456789や/<>もです。どのような設定をすれ
ば良いのでしょうか?
現在、.emacsで、
(if (and (boundp 'CANNA) CANNA)
(progn
(setq canna-underline t)
(load-library "can-n-egg")
(setq canna-do-keybind-for-functionkeys t)
(setq canna-server "zeisei3")
(setq canna-file (expand-file-name "~/.canna-emacs"))
(can-n-egg)
)
)
とし、.canna-emacsは
;;;; -*- Emacs-Lisp -*-
(setq romkana-table "default.kp")
;; 互換性確保のためのモードを定義します
(defmode zen-hira-kakutei-mode "<全あ>" "default.kp" '(hiragana zenkaku kakutei))
(defmode zen-kata-kakutei-mode "<全ア>" "default.kp" '(katakana zenkaku kakutei))
(defmode zen-alpha-kakutei-mode "<全英>" "default.kp" '(romaji zenkaku kakutei))
(defmode han-kata-kakutei-mode "<半ア>" "default.kp" '(katakana hankaku kakutei))
(defmode han-alpha-kakutei-mode "<半英>" "default.kp" '(romaji hankaku kakutei))
(use-dictionary
"iroha"
"fuzokugo"
"hojomwd"
"hojoswd"
:bushu "bushu"
:user "user"
:user "idic"
)
(setq cursor-wrap t)
(setq select-direct nil)
(setq numerical-key-select t)
(setq bunsetsu-kugiri nil)
(setq character-based-move t)
(setq reverse-widely nil)
(setq gakushu t)
(setq quit-if-end-of-ichiran nil)
(setq kakutei-if-end-of-bunsetsu nil)
(setq stay-after-validate t)
(setq break-into-roman nil)
(setq gramatical-question t)
(setq n-henkan-for-ichiran 2)
(setq kouho-count t)
(setq kojin t)
(setq auto nil)
(setq n-kouho-bunsetsu 16)
(setq abandon-illegal-phonogram nil)
(setq hex-direct nil)
(setq allow-next-input t)
(setq index-hankaku nil)
(setq ignore-case nil)
(setq romaji-yuusen nil)
(setq auto-sync t)
(setq n-keys-to-disconnect 500)
(setq quickly-escape-from-kigo-input nil)
(let ((mode 'ichiran-mode))
(set-key mode "\C-o" (sequence 'quit 'extend))
(set-key mode "\C-i" (sequence 'quit 'shrink))
)
(global-set-key "\Delete" 'delete-previous)
となっています。よろしくお願いします。
----====----====----====----
NAKAJI Hiroyuki (中治 弘行)
Graduate School of Engineering, Kyoto University
Re: [Q] I want to input ?->? etc.
Author: TAKAHASHI Masafumi
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
39 lines
1599 bytes
1599 bytes
In message <6734sh$8ns$1@psyche.rcep.dpri.kyoto-u.ac.jp>
NAKAJI Hiroyuki <nakaji@zeisei.dpri.kyoto-u.ac.jp> writes:
> ?を変換する時に?を候補に出す。
> 或は、
> 日本語入力時(左下が[ あ ]の時)には?キーに対して?ではなくて?を入力する。
.canna-emacs に
(defsymbol ?? "?")
と書いてみて下さい。
> です。なお、?だけではなく、0123456789や/<>もです。どのような設定をすれ
> ば良いのでしょうか?
これも同様です。
(defsymbol
?0 "0"
?1 "1"
?2 "2"
?3 "3"
?4 "4"
?5 "5"
?6 "6"
?7 "7"
?8 "8"
?9 "9"
?/ "/"
?< "<"
?> ">")
/usr/local/canna/lib/sample あたりにサンプルがあると思います。
--
高橋雅史 (株)エヌアイデイ
<takahasi@soft.nid.co.jp>
Re: [Q] I want to input ?->? etc.
Author: NAKAJI Hiroyuki
Date: Mon, 15 Dec 1997 00:00
Date: Mon, 15 Dec 1997 00:00
41 lines
1625 bytes
1625 bytes
中治@京大防災研です。できました(^_^)v TAKAHASHI Masafumi <takahasi@soft.nid.co.jp> writes: > > 日本語入力時(左下が[ あ ]の時)には?キーに対して?ではなくて?を入力する。 には、 > .canna-emacs に > > (defsymbol ?? "?") > > と書いてみて下さい。 > > > です。なお、?だけではなく、0123456789や/<>もです。どのような設定をすれ > > ば良いのでしょうか? > > これも同様です。 > > (defsymbol > ?0 "0" > ?1 "1" > ?2 "2" > ?3 "3" > ?4 "4" > ?5 "5" > ?6 "6" > ?7 "7" > ?8 "8" > ?9 "9" > ?/ "/" > ?< "<" > ?> ">") > /usr/local/canna/lib/sample あたりにサンプルがあると思います。 し、しまった。私の目は節穴…(^^; ----====----====----====---- NAKAJI Hiroyuki (中治 弘行) Graduate School of Engineering, Kyoto University
Re: [Q] I want to input $B!)(B->? etc.
Author: TSUMAI Yasuyuki
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
34 lines
1775 bytes
1775 bytes
fj.kanakan.misc,fj.editor.mule$B$N(B
$B5-;v(B<6734sh$8ns$1@psyche.rcep.dpri.kyoto-u.ac.jp>$B$K$*$$$F(B
nakaji@zeisei.dpri.kyoto-u.ac.jp(NAKAJI Hiroyuki)$B$5$s$O(B
$B<!$N$h$&$K=R$Y$i$l$F$$$^$9!#(B
| $B!)$rJQ49$9$k;~$K(B?$B$r8uJd$K=P$9!#(B
$B$3$A$i$O$o$+$j$^$;$s$,(B($BC1$K<-=qEPO?$G$-$^$;$s$h$M!)(B)$B!"(B
| $B0?$O!"(B
| $BF|K\8lF~NO;~(B($B:82<$,(B[ $B$"(B ]$B$N;~(B)$B$K$O(B?$B%-!<$KBP$7$F!)$G$O$J$/$F(B?$B$rF~NO$9$k!#(B
$B$3$A$i$OMF0W$G!"(B~/.canna $B$K!"(B
(defsymbol
?? "?" "$B!)(B"
?! "!" "$B!*(B")
(defsymbol
?0 "0" "$B#0(B" "$B!;(B" "$BNm(B"
?1 "1" "$B#1(B" "$B0l(B" "$B0m(B"
?2 "2" "$B#2(B" "$BFs(B" "$BFu(B"
?3 "3" "$B#3(B" "$B;0(B" "$B;2(B"
?4 "4" "$B#4(B" "$B;M(B" "$B;M(B"
?5 "5" "$B#5(B" "$B8^(B" "$B8`(B"
?6 "6" "$B#6(B" "$BO;(B" "$BO;(B"
?7 "7" "$B#7(B" "$B<7(B" "$B<7(B"
?8 "8" "$B#8(B" "$BH,(B" "$BH,(B"
?9 "9" "$B#9(B" "$B6e(B" "$B6e(B" )
$B$H$+$r=q$$$F$*$1$PNI$$$G$9!#(B
/usr/local/lib/canna/sample/sample.canna $B$"$?$j$r;29M$K!#(B
$B$H$3$m$G!"(BCanna-3.5 $B$C$F$$$D%j%j!<%9$5$l$k$N$G$7$g$&$+!)(B $B:J0f(B
Re: [Q] I want to input ?->? etc.
Author: Akihiro Morohashi 03/98
Date: Thu, 18 Dec 1997 00:00
Date: Thu, 18 Dec 1997 00:00
31 lines
1740 bytes
1740 bytes
諸橋@東工大です。
>mule-2.3@19.34でCanna32p2を使っています。やりたい事は
>?を変換する時に?を候補に出す。
あれ?この前こんな話出てませんでしたっけ?
で、.cannaに
(defsymbol
?? "?" "?")
とか
(defsymbol
?0 "0" "0" "〇" "零"
?1 "1" "1" "一" "壱"
?2 "2" "2" "二" "弐"
?3 "3" "3" "三" "参"
?4 "4" "4" "四" "四"
?5 "5" "5" "五" "伍"
?6 "6" "6" "六" "六"
?7 "7" "7" "七" "七"
?8 "8" "8" "八" "八"
?9 "9" "9" "九" "九" )
とかを書けばいいんじゃないでしょうか。
---------------------
諸橋昭浩
東京工業大学 大学院 精密工学研究所 石原・徳光研究室
morohasi@pi.titech.ac.jp 045-924-5084
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads