4c1e0a4b1c6cfb3e246128fb2404f57b7e99d8b0
[riece] / HACKING.ja
1 -*- mode: text; coding: iso-2022-jp -*-
2
3 \e$B$3$NJ8=q$G$O!"\e(BRiece \e$B$N3+H/%W%m%;%9$dFbIt9=B$$J$I!"3+H/$KI,MW$J>pJs$r$^\e(B
4 \e$B$H$a$F$$$^$9!#3+H/$K;22C$7$F$$$?$@$1$kJ}$O;29M$K$7$F$/$@$5$$!#\e(B
5
6 * Development process
7
8 ** CVS
9
10 Riece \e$B$N3+H/$K$O\e(B CVS \e$B$rMxMQ$7$F$$$^$9!#8x3+\e(B CVS \e$B%5!<%P$+$i:G?7HG$N%=!<\e(B
11 \e$B%9%3!<%I$r<hF@$9$k$K$O0J2<$N$h$&$K$7$^$9!#\e(B
12
13 CVS \e$BHG$N%=!<%9%3!<%I$O!"$"$/$^$G3+H/ES>e$N$b$N$G$"$j!"MxMQ$O8D?M$N@UG$\e(B
14 \e$B$G$*4j$$$7$^$9!#\e(BCVS \e$BHG$K4X$9$k%P%0Js9p$O0l@Z<u$1IU$1$^$;$s!#\e(B
15
16 (1) CVS \e$B%5!<%P$X$N%m%0%$%s\e(B
17
18     cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root login
19     CVS password: [CR] # NULL string
20
21 (2) \e$B%b%8%e!<%k$N%A%'%C%/%"%&%H\e(B
22
23     cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root checkout riece
24
25 (3) configure \e$B%9%/%j%W%H$N@8@.\e(B
26
27     autoreconf -f -i -v
28
29 \e$B$3$N:n6H$K$O:G?7$N\e(B GNU Automake \e$B$,I,MW$+$b$7$l$^$;$s!#\e(B
30
31 ** Debug output
32
33 \e$BJQ?t\e(B riece-debug \e$B$r\e(B t \e$B$K@_Dj$9$k$H!"\e(BRiece \e$B$N<B9TCf$K%G%P%C%0>pJs$,=PNO\e(B
34 \e$B$5$l$k$h$&$K$J$j$^$9!#%G%P%C%0>pJs$O\e(B *Debug* \e$B%P%C%U%!$KC_@Q$5$l$^$9!#\e(B
35
36 \e$B$^$?!"\e(BIRC \e$B%5!<%P$H$N$d$j$H$j$,\e(B " *IRC*<IRC \e$B%5!<%P$NL>A0\e(B>" \e$B%P%C%U%!$KC_\e(B
37 \e$B@Q$5$l$^$9!#%P%C%U%!$NL>A0$,6uGr\e(B " " \e$B$G;O$^$k$3$H$K$4Cm0U$/$@$5$$!#\e(B
38
39 ** Bug report
40
41 \e$B%P%0Js9p$O!"%D!<%k%P!<$NCn%\%?%s$r2!$9$+!"\e(BM-x riece-submit-bug-report 
42 \e$B$G:n@.$7$F$/$@$5$$!#$^$?!"%P%0Js9p$N:n@.$NA0$K\e(B riece-debug \e$B$r\e(B t \e$B$K@_Dj\e(B
43 \e$B$9$kI,MW$,$"$j$^$9!#\e(B
44
45 * Internals
46
47 ** Modules
48
49 Riece \e$B$r9=@.$9$k\e(B elisp \e$B%b%8%e!<%k$r0J2<$KNs5s$7$^$9!#0MB84X78$N>e0L$K\e(B
50 \e$B$"$k$b$N$r@h$K5s$2$^$9!#\e(B
51
52 - riece-globals
53   \e$BBg0hJQ?t$NDj5A\e(B 
54
55 - riece-options
56   \e$B%f!<%6%*%W%7%g%s$NDj5A\e(B 
57
58 - riece-version
59   \e$B%P!<%8%g%s$NDj5A\e(B 
60
61 - riece-coding
62   \e$B%3!<%G%#%s%0%7%9%F%`4XO"$N4X?t$NDj5A\e(B 
63
64 - riece-complete
65   \e$B%_%K%P%C%U%!$G$NJd40$r=u$1$k4X?t$NDj5A\e(B 
66
67 - riece-addon
68   \e$B%"%I%*%s4IM}\e(B
69
70 - riece-mode
71   riece-channel/riece-user \e$B%*%V%8%'%/%H$N%b!<%I4IM}\e(B
72
73 - riece-identity
74   riece-channel/riece-user \e$B%*%V%8%'%/%H\e(B \e$B$NBg0hI=5-$rA`:n$9$k4X?t$NDj5A\e(B 
75
76 - riece-channel
77   riece-channel \e$B%*%V%8%'%/%H\e(B \e$B4XO"$NDj5A\e(B 
78
79 - riece-user
80   riece-user \e$B%*%V%8%'%/%H\e(B \e$B4XO"$NDj5A\e(B 
81
82 - riece-misc
83   \e$B;(B?$J4X?t$NDj5A\e(B
84
85 - riece-signal
86   \e$B%7%0%J%k4IM}\e(B
87
88 - riece-layout
89   \e$B%&%#%s%I%&%l%$%"%&%H4IM}\e(B
90
91 - riece-display
92   \e$BI=<(MQ%P%C%U%!$N4IM}\e(B 
93
94 - riece-server
95   IRC \e$B%5!<%P$H$N@\B34IM}\e(B 
96
97 - riece-naming
98   \e$B%A%c%s%M%k$X$N%f!<%6$N;22C!&N%C&$r4IM}$9$k\e(B mediator
99
100 - riece-message
101   riece-message \e$B%*%V%8%'%/%H\e(B \e$B4XO"$NDj5A\e(B 
102
103 - riece-filter
104   \e$B%W%m%;%9%U%#%k%?$N%(%s%H%j%]%$%s%H\e(B 
105
106 - riece-handle
107   \e$BDL>o$N%a%C%;!<%8$N%O%s%I%i!#\e(Briece-filter \e$B$+$i8F$P$l$k\e(B 
108
109 - riece-000
110   000\e$BHVBf$N\e(B numeric reply \e$B$N%O%s%I%i!#\e(Briece-filter \e$B$+$i8F$P$l$k\e(B 
111
112 - riece-200
113   200\e$BHVBf$N\e(B numeric reply \e$B$N%O%s%I%i!#\e(Briece-filter \e$B$+$i8F$P$l$k\e(B 
114
115 - riece-300
116   300\e$BHVBf$N\e(B numeric reply \e$B$N%O%s%I%i!#\e(Briece-filter \e$B$+$i8F$P$l$k\e(B 
117
118 - riece-400
119   400\e$BHVBf$N\e(B numeric reply \e$B$N%O%s%I%i!#\e(Briece-filter \e$B$+$i8F$P$l$k\e(B 
120
121 - riece-500
122   500\e$BHVBf$N\e(B numeric reply \e$B$N%O%s%I%i!#\e(Briece-filter \e$B$+$i8F$P$l$k\e(B 
123
124 - riece-commands
125   \e$B%3%^%s%I$NDj5A\e(B 
126
127 - riece-irc
128   IRC \e$B%W%m%H%3%k$KBP1~$7$?\e(B process-filter \e$B$J$I$N@_Dj\e(B
129
130 - riece
131   \e$B5/F0;~$N%(%s%H%j%]%$%s%H!#3F%P%C%U%!$N%a%8%c!<%b!<%I$N@_Dj$J$I\e(B
132
133 ** Namespace management
134
135 Riece \e$B$OF1;~$KJ#?t$N\e(B IRC \e$B%5!<%P$K@\B3$G$-$k$N$G!"\e(BIRC \e$B%5!<%PKh$KJL!9$N\e(B
136 \e$BL>A06u4V$r4IM}$9$kI,MW$,$"$j$^$9!#$3$N$h$&$JL>A06u4V$K$O!"\e(BIRC \e$B%5!<%P$H\e(B
137 \e$B$N@\B3%W%m%;%9$K7k$SIU$1$i$l$?%P%C%U%!$N%m!<%+%kJQ?t$r2p$7$F%"%/%;%9$7\e(B
138 \e$B$^$9!#\e(B
139
140 *** Obtaining server buffer
141
142 IRC \e$B%5!<%P$H$N@\B3%W%m%;%9$r<hF@$9$k$K$O\e(B IRC \e$B%5!<%P$NL>A0$rCN$kI,MW$,\e(B
143 \e$B$"$j$^$9!#\e(BIRC \e$B%5!<%P$NL>A0$O0J2<$K5s$2$k$$$/$D$+$NJ}K!$G<hF@$G$-$^$9!#\e(B
144
145 (1) \e$BJQ?t\e(B riece-overrinding-server-name \e$B$NCM\e(B
146
147 (2) \e$BJQ?t\e(B riece-server-name \e$B$NCM\e(B
148
149 riece-server-name \e$B$,%+%l%s%H%P%C%U%!$N%m!<%+%kJQ?t$G$"$k$J$i$P!"4{$K%W\e(B
150 \e$B%m%;%9$N%P%C%U%!$K$$$k$H$_$J$;$k$N$G!"\e(Briece-server-name \e$B$NCM$=$N$b$N\e(B
151
152 (3) riece-identity \e$B%*%V%8%'%/%H$+$i@Z$j=P$7$?\e(B IRC \e$B%5!<%P$NL>A0\e(B
153
154 \e$B$3$&$7$F<hF@$7$?\e(B IRC \e$B%5!<%P$NL>A0$r0z?t$K4X?t\e(B riece-server-process \e$B$r\e(B
155 \e$B8F=P$7!"%5!<%P$N%W%m%;%9$r<hF@$7$^$9!#\e(B
156
157 *** Identity
158
159 \e$BJ#?t$N\e(B IRC \e$B%5!<%P$K@\B3$7$F$$$k>l9g!"%A%c%s%M%kL>$d%K%C%/%M!<%`$rBg0h\e(B
160 \e$BE*$K6hJL$9$kI,MW$,@8$8$^$9!#$3$N$h$&$JL>A0$rI=8=$9$k$N$,\e(B 
161 riece-identity \e$B%*%V%8%'%/%H$G$9!#\e(B
162
163 riece-identity \e$B%*%V%8%'%/%H$O0J2<$N\e(B 2 \e$B$D$NMWAG$r$b$D%Y%/%?!<$G$9!#\e(B
164
165 - prefix
166   \e$B%A%c%s%M%kL>$d%K%C%/%M!<%`$J$I!"\e(BIRC \e$B%5!<%P$K8GM-$NL>A0\e(B
167 - server
168   IRC \e$B%5!<%P$NL>A0\e(B
169
170 riece-identity \e$B%*%V%8%'%/%H$KE,MQ2DG=$JA`:n$K$O0J2<$N$h$&$J$b$N$,$"$j$^$9!#\e(B
171
172 - riece-make-identity prefix &optional server
173   riece-identity \e$B%*%V%8%'%/%H$r?75,$K:n@.$7$^$9!#\e(Bserver \e$B0z?t$,>JN,$5$l$?\e(B
174   \e$B>l9g$K$O!"4X?t\e(B riece-find-server-name \e$B$G<hF@$7$?%5!<%PL>$r;H$$$^$9\e(B
175
176 - riece-identity-prefix identity
177   riece-identity \e$B%*%V%8%'%/%H$+$i\e(B IRC \e$B%5!<%P$K8GM-$NL>A0$r@Z$j=P$7$^$9!#\e(B
178
179 - riece-identity-server identity
180   riece-identity \e$B%*%V%8%'%/%H$+$i%5!<%P$NL>A0$r@Z$j=P$7$^$9!#\e(B
181
182 - riece-identity-equal ident1 ident2
183   2 \e$B$D$N\e(B riece-identity \e$B%*%V%8%'%/%H$,F1Ey$G$"$k$+D4$Y$^$9!#\e(B
184
185 - riece-identity-equal-no-server ident1 ident2
186   2 \e$B$D$N\e(B riece-identity \e$B%*%V%8%'%/%H$N!"\e(BIRC \e$B%5!<%P$K8GM-$NL>A0$,F1Ey$G$"\e(B
187   \e$B$k$+D4$Y$^$9!#\e(B
188
189 - riece-identity-member elt list
190   riece-identity \e$B%*%V%8%'%/%H\e(B elt \e$B$,\e(B list \e$B$K4^$^$l$k$+D4$Y$^$9!#\e(B
191
192 *** Channel and user management
193
194 riece-identity \e$B%*%V%8%'%/%H$+$i@Z$j=P$5$l$?\e(B IRC \e$B%5!<%P$K8GM-$NL>A0!"$9\e(B
195 \e$B$J$o$A%A%c%s%M%kL>$H$H%K%C%/%M!<%`$K$h$jI=$o$5$l$k%A%c%s%M%k$H%f!<%6$N\e(B
196 \e$B<BBN$O$=$l$>$l\e(B riece-channel \e$B%*%V%8%'%/%H$H\e(B riece-user \e$B%*%V%8%'%/%H$G\e(B
197 \e$BI=8=$5$l$^$9!#\e(B
198
199 **** Channels
200
201 riece-channel \e$B$O%A%c%s%M%k$rI=$9%*%V%8%'%/%H$G!"0J2<$NMWAG$r;}$A$^$9!#\e(B
202
203 - users
204   \e$B;22C$7$F$$$k%f!<%6$N%K%C%/%M!<%`$N%j%9%H\e(B
205
206 - operators
207   \e$B%*%Z%l!<%?8"8B$r$b$D%f!<%6$N%K%C%/%M!<%`$N%j%9%H\e(B
208
209 - speakers
210   \e$BH/8@8"$r$b$D%f!<%6$N%K%C%/%M!<%`$N%j%9%H\e(B
211
212 - modes
213 \e$B%A%c%s%M%k$N%b!<%I\e(B
214
215 - banned
216   MODE +b \e$B$G;XDj$5$l$?%Q%?!<%s$N0lMw\e(B
217
218 - invited
219   MODE +I \e$B$G;XDj$5$l$?%Q%?!<%s$N0lMw\e(B 
220
221 - uninvited
222   MODE +e \e$B$G;XDj$5$l$?%Q%?!<%s$N0lMw\e(B
223
224 **** Users
225
226 riece-user \e$B$O!"\e(BIRC \e$B$K;22C$7$F$$$k%f!<%6$rI=$9%*%V%8%'%/%H$G!"0J2<$NMW\e(B
227 \e$BAG$r;}$A$^$9!#\e(B
228
229 - channels
230   \e$B;22C$7$F$$$k%A%c%s%M%kL>$N%j%9%H\e(B
231
232 - user-at-host
233   "<user>@<host>" \e$B$N7A$GM?$($i$l$k%f!<%6$N@\B3>pJs\e(B
234
235 - modes
236   \e$B%f!<%6$N%b!<%I\e(B
237
238 - away
239   \e$BN%@JCf$+$I$&$+\e(B 
240
241 **** Mediator pattern
242
243 \e$B%A%c%s%M%k$X$N%f!<%6$N;22C!&N%C&$r4IM}$9$k$?$a$K!"\e(B riece-naming \e$B%b%8%e!<\e(B
244 \e$B%k$r;H$$$^$9!#\e(Briece-naming \e$B$O!"%G%6%$%s%Q%?!<%s$G$$$&$H$3$m$N\e(B Mediator 
245 \e$B%Q%?!<%s$KAjEv$9$k$b$N$G$9!#\e(B
246
247 riece-naming \e$B$r2p$9$k$3$H$G!"A0=R$N\e(B riece-channel, riece-user \e$B%*%V%8%'\e(B
248 \e$B%/%H$rD>@\A`:n$9$k$3$H$J$/!"0BA4$KL>A06u4V$K%"%/%;%9$9$k$3$H$,$G$-$^$9!#\e(B
249
250 riece-naming \e$B$,Ds6!$9$k<g$J4X?t$O0J2<$N\e(B 3 \e$B$D$G$9!#\e(B
251
252 - riece-naming-assert-join user-name channel-name
253   \e$B%f!<%6$,%A%c%s%M%k$K;22C$7$?$3$H$rI=L@$7$^$9\e(B
254
255 - riece-naming-assert-part user-name channel-name
256   \e$B%f!<%6$,%A%c%s%M%k$+$iN%C&$7$?$3$H$rI=L@$7$^$9\e(B 
257
258 - riece-naming-assert-rename old-name new-name
259   \e$B%f!<%6$NL>A0$,JQ99$5$l$?$3$H$rI=L@$7$^$9\e(B 
260
261 ** Signals
262
263 \e$B%7%0%J%k$H$O!"2hLL$N:FIA2h$r8zN(NI$/9T$&$?$a$K!"%$%Y%s%H$HIA2hBP>]$N%*\e(B
264 \e$B%V%8%'%/%H\e(B(\e$B%P%C%U%!$d!"%b!<%I%i%$%s$N0u\e(B)\e$B$r7k$SIU$1$k5!9=$G$9!#\e(B
265
266 \e$B%&%#%s%I%&$N:FIA2h$rH<$&%$%Y%s%H$,H/@8$9$k$H!"%7%0%J%k$,Aw=P$5$l$^$9!#\e(B
267 \e$B%7%0%J%k$N35G0$O!"\e(BQt \e$B$d\e(B GTK+ \e$B$H$$$C$?0lHLE*$J\e(B GUI \e$B%D!<%k%-%C%H$KMQ0U$5\e(B
268 \e$B$l$F$$$k$b$N$HF1MM$G$9!#\e(B
269
270 \e$B%7%0%J%k$rAw?.$9$k$K$O!"\e(Briece-emit-signal \e$B$r;H$$$^$9!#\e(B
271
272 - riece-emit-signal signal-name &rest args
273 \e$B0z?t\e(B signal-name \e$B$G;X<($5$l$k%7%0%J%k$r!"0z?t\e(B args \e$B$H$H$b$KAw=P$7$^$9\e(B
274
275 \e$B%7%0%J%k$K1~Ez$9$k=hM}$O!"\e(Briece-connect-signal \e$B$r;H$C$FDj5A$7$^$9!#\e(B
276
277 - riece-connect-signal signal-name slot-function &optional
278                        filter-function handback
279
280   \e$B0z?t\e(B signal-name \e$B$G;XDj$5$l$?%7%0%J%k$K1~Ez$9$k4X?t\e(B slot-function \e$B$r\e(B
281   \e$B@_Dj$7$^$9!#\e(Bslot-function \e$B$K;XDj$5$l$?4X?t$O\e(B 2 \e$B$D$N0z?t$r<h$j$^$9!#\e(B
282   \e$B$R$H$D$O%7%0%J%k$G!"$b$&0l$D$O!"0z?t\e(B handback \e$B$GM?$($i$l$?%*%V%8%'%/\e(B
283   \e$B%H$,$=$N$^$^EO$5$l$^$9!#\e(B
284
285   \e$B0z?t\e(B filter-function \e$B$O!"<u?.$7$?%7%0%J%k$K1~Ez$9$Y$-$+$I$&$+$rH=Dj\e(B
286   \e$B$9$k4X?t$G$9!#$3$N4X?t$O0z?t$H$7$F%7%0%J%k%*%V%8%'%/%H$r<u$1<h$j!"\e(B
287   nil \e$B$^$?$O\e(B t \e$B$rJV$7$^$9!#JV$jCM$,\e(B nil \e$B$N>l9g$K$O!"\e(Bslot-function \e$B$O<B\e(B
288   \e$B9T$5$l$^$;$s!#\e(B
289
290 \e$B%7%0%J%k%*%V%8%'%/%H$K%"%/%;%9$9$k$K$O!"0J2<$N4X?t$r;H$$$^$9!#\e(B
291
292 - riece-signal-name signal
293   \e$B%7%0%J%k$NL>A0$rJV$7$^$9!#\e(B
294
295 - riece-signal-args
296   \e$B%7%0%J%k$NAw?.;~$KM?$($i$l$?0z?t$rJV$7$^$9!#\e(B
297
298 \e$B8=:_!"0J2<$N%7%0%J%k$,;HMQ$5$l$F$$$^$9!#\e(B
299
300 - channel-list-changed
301   \e$B;22C$7$F$$$k%A%c%s%M%k$N0lMw$NJQ2=\e(B
302
303 - user-list-changed
304   \e$B%A%c%s%M%k$N;22C<T0lMw$NJQ2=\e(B
305   (\e$B0z?t$O%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
306
307 - channel-switched
308   \e$B8=:_$N%A%c%s%M%k$r0\F0\e(B
309
310 - user-joined-channel
311   \e$B%f!<%6$,%A%c%s%M%k$K;22C\e(B
312   (\e$B0z?t$O!"%f!<%6$*$h$S%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
313
314 - user-left-channel
315   \e$B%f!<%6$,%A%c%s%M%k$+$iN%C&\e(B
316   (\e$B0z?t$O!"%f!<%6$*$h$S%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
317
318 - user-renamed
319   \e$B%f!<%6$,L>A0$rJQ99\e(B
320   (\e$B0z?t$O!"0JA0$H8=:_$NL>A0$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
321
322 - user-away-changed
323   \e$B%f!<%6$NN%@J>uBV$NJQ2=\e(B
324   (\e$B0z?t$O!"%f!<%6$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
325
326 - user-operator-changed
327   \e$B%f!<%6$N%*%Z%l!<%?>uBV$NJQ2=\e(B
328   (\e$B0z?t$O!"%f!<%6$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
329
330 - channel-topic-changed
331   \e$B%A%c%s%M%k$N%H%T%C%/$NJQ2=\e(B
332   (\e$B0z?t$O!"%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
333
334 - channel-modes-changed
335   \e$B%A%c%s%M%k$N%b!<%I$NJQ2=\e(B
336   (\e$B0z?t$O!"%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
337
338 - channel-operators-changed
339   \e$B%A%c%s%M%k$G%*%Z%l!<%?8"8B$r;}$D%f!<%6$N0lMw$NJQ2=\e(B
340   (\e$B0z?t$O!"%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
341
342 - channel-speakers-changed
343   \e$B%A%c%s%M%k$GH/8@8"$r;}$D%f!<%6$N0lMw$NJQ2=\e(B
344   (\e$B0z?t$O!"%A%c%s%M%k$KAjEv$9$k\e(B riece-identity \e$B%*%V%8%'%/%H\e(B)
345
346 - buffer-freeze-changed
347   \e$B%P%C%U%!$NE`7k>uBV$NJQ2=\e(B
348   (\e$B0z?t$O%P%C%U%!\e(B)
349
350 ** Writing add-ons
351
352 \e$B%"%I%*%s$N>r7o$rK~$?$9%b%8%e!<%k$O0J2<$N4X?t$rDs6!$7$^$9!#\e(B
353
354 - <\e$B%b%8%e!<%kL>\e(B>-requires
355   \e$B0MB8$9$kB>$N%"%I%*%s\e(B(\e$B%7%s%\%k$N%j%9%H\e(B)\e$B$rJV$7$^$9\e(B(\e$B%*%W%7%g%s\e(B)
356
357 - <\e$B%b%8%e!<%kL>\e(B>-insinuate
358   \e$B=i4|2==hM}$r9T$$$^$9\e(B
359
360 \e$B$^$?!"%"%I%*%s$N4JC1$J@bL@$r!"JQ?t\e(B <\e$B%b%8%e!<%kL>\e(B>-description \e$B$K@_Dj$9\e(B
361 \e$B$k$HNI$$$G$7$g$&!#$3$NJ8;zNs$O\e(B C-c ^ (M-x riece-command-list-addons) 
362 \e$B$K$h$k%"%I%*%s$N0lMw$GI=<($5$l$^$9!#\e(B
363
364 \e$BM-8z2=!&L58z2=$KBP1~$7$?%"%I%*%s$O!"JQ?t\e(B <\e$B%b%8%e!<%kL>\e(B>-enabled \e$B$K8=:_\e(B
365 \e$B$N>uBV$rJ];}$7$^$9!#$3$NJQ?t$NCM$,\e(B nil \e$B$G$"$l$PL58z!"\e(Bt \e$B$G$"$l$PM-8z$G\e(B
366 \e$B$9!#2C$($F!"0J2<$N4X?t$rDs6!$7$^$9!#\e(B
367
368 - <\e$B%b%8%e!<%kL>\e(B>-enable
369 \e$B%"%I%*%s$rM-8z$K$7$^$9\e(B
370
371 - <\e$B%b%8%e!<%kL>\e(B>-disable
372 \e$B%"%I%*%s$rL58z$K$7$^$9\e(B
373
374 Riece \e$B$O5/F0;~$K0J2<$N=hM}$r9T$$$^$9!#\e(B
375
376 (1) \e$BJQ?t\e(B riece-addons \e$B$KNs5s$5$l$?%b%8%e!<%k$rFI$_9~$`\e(B
377
378 (2) \e$B$=$l$>$l$N%b%8%e!<%k$KBP$7!"\e(B<\e$B%b%8%e!<%kL>\e(B>-requires \e$B$,MQ0U\e(B
379     \e$B$5$l$F$$$l$P8F$S=P$7!"0MB8%0%i%U$r:n$k\e(B
380
381 (3) \e$B0MB8%0%i%U$KBP$7$F%H%]%m%8%+%k%=!<%H$r9T$&\e(B
382
383 (4) \e$BF@$i$l$?0MB8=g=x$K=>$C$F\e(B <\e$B%b%8%e!<%kL>\e(B>-insinuate \e$B8F$S=P$9\e(B
384
385 (5) \e$B$b$7!"%"%I%*%s$,M-8z2=!&L58z2=$KBP1~$7$F$*$j!"L@<(E*$KL58z2=$5$l$F\e(B
386     \e$B$$$J$1$l$P!"\e(B<\e$B%b%8%e!<%kL>\e(B>-enable \e$B$r8F$S=P$9!#\e(B
387
388 \e$B:n@.$7$?%"%I%*%s$O!"\e(Bload-path \e$B$NDL$C$?%G%#%l%/%H%j$+!"\e(B
389 ~/.riece/addons/ \e$B0J2<$KG[CV$9$k$HAH$_9~$_2DG=$J>uBV$K$J$j$^$9!#\e(B
390
391 ** Handler hooks
392
393 Riece \e$B$K$O!"%O%s%I%i%U%C%/$H8F$P$l$kFCJL$J0UL#$r;}$D%U%C%/$,$"$j$^$9!#\e(B
394 \e$B%O%s%I%i%U%C%/$O\e(B IRC \e$B$N%a%C%;!<%8$r<u$1<h$C$?A08e$G<B9T$5$l$^$9!#\e(B
395
396 \e$B@bL@$N$?$a$K\e(B message \e$B$r\e(B IRC \e$B%W%m%H%3%k$N%a%C%;!<%8$N<oN`$rA4$F>.J8;z$K\e(B
397 \e$B$7$?$b$N$H$7$^$9!#\e(B
398
399 - riece-<message>-hook
400   message \e$B$,FO$$$?$H$-$K:G=i$K8F$P$l$k%U%C%/\e(B
401
402 - riece-after-<message>-hook
403   message \e$B$N=hM}$,=*$o$C$?8e$K8F$P$l$k%U%C%/\e(B
404
405 \e$B$3$3$G\e(B riece-<message>-hook \e$B$NJV$jCM$K$O0UL#$,$"$j!"\e(Bt \e$B$rJV$9$b$N$,$"$l\e(B
406 \e$B$P!"$=$N8e$N=hM}$r$*$3$J$$$^$;$s!#$^$?!"$=$N>l9g$K$O\e(B 
407 riece-after-<message>-hook \e$B$b8F$S=P$5$l$^$;$s!#\e(B
408
409 \e$B%U%C%/$N0z?t$K$O\e(B RFC2812 \e$B$N\e(B prefix \e$B$H\e(B parameters \e$B$,EO$j$^$9!#\e(B