\documentclass[a4j]{jarticle}
\begin{document}
\title{Emacs$B$N;H$$J}(B}
\author{$BKRG7Fb8&(B $B=$;N(B2$BG/(B $BJw(B $BH%;K(B}
\date{2002/4/15}
\maketitle

\section{$B%j!<%8%g%s;XDj(B}

$B;XDj$7$?$$NN0h$N0lJ}$N6y$KL\0u$r$D$1$?8e!"$b$&0lJ}$N6y$K%+!<%=%k$r0\F0$5(B
$B$;$^$9!#L\0u$r$D$1$?>l=j$H%+!<%=%k$H$N4V$,NN0h(B($B%j!<%8%g%s(B)$B$G$9!#(BEmacs$B$G(B
$B$OL\0u$r!V%^!<%/!W$H8F$S!"L\0u$r@_Dj$9$k$3$H$r!V%^!<%/$9$k!W$H$$$$$^$9!#(B
$B%^!<%/$9$k$K$O!"%+!<%=%k$r%^!<%/$9$k>l=j$^$G0\F0$7$F!"$=$3$G(B"C-Space"$B$H(B
$B%?%$%W$7$^$9!#%^!<%/$,@_Dj$5$l$k$H%_%K%P%C%U%!$K!"(B

\begin{verbatim}
	Mark set
\end{verbatim}
$B$HI=<($5$l$^$9!#(B

$B%+!<%=%k0LCV$NJ8;zA4$F$,NN0h$H$7$F;XDj$5$l$k$o$1$G$O$"$j$^$;$s!#%+!<%=%k(B
$B$N(B4$B3Q7A$N:8JU$r4p=`$H$7$FNN0h$,;XDj$5$l$^$9!#$3$N4p=`$H$J$kItJ,$r%]%$%s(B
$B%H$H8F$S$^$9!#%j!<%8%g%s$O%^!<%/$7$?$H$-$N%]%$%s%H$+$i:#$N%+!<%=%k$N%]%$(B
$B%s%H$^$G$K$J$j$^$9!#(B

\section{$B:o=|(B}

\begin{table}
 \begin{center}
  \caption{$B:o=|%-!<(B}
  \label{delete}
  \begin{tabular}{|c|c|c|}
   \hline
   $B%-!<(B &$B%3%^%s%I(B &$B5!G=(B \\
   \hline
   C-d &delete-char &1$BJ8;z:o=|(B \\
   \hline
   M-d &kill-word &1$BC18l%+%C%H(B \\
   \hline
   Del &delete-backward-char &1$BJ8;z8e$m8~$-$K:o=|(B \\
   \hline
   M-Del &backward-kill-word &1$BC18l8e$m8~$-$K%+%C%H(B \\
   \hline
   C-x Del &backward-kill-sentence &1$B%;%s%F%s%98e$m8~$-$K%+%C%H(B \\
   \hline
   C-k &kill-line &$B%+!<%=%k9T$+$i9TKv$^$G%+%C%H(B \\
   \hline
   M-k &kill-sentence &$B%+!<%=%k9T$+$i(B1$B%;%s%F%s%9%+%C%H(B \\
   \hline
  \end{tabular}
 \end{center}
\end{table}

Emacs$B$K$O!"J8;z$r%P%C%U%!$+$i<h$j=|$/%3%^%s%I$H$7$F(Bdelete$B$H(Bkill$B$,$"$j$^(B
$B$9!#(B2$B$D$H$b%P%C%U%!$+$iJ8;z$r<h$j=|$/5!G=$OF1$8$G$9$,!"(Bdelete$B$O>C5n!"(B
kill$B$O@Z$j<h$j$N0UL#9g$$$,$"$j$^$9!#(Bdelete$B$OJ8;z$N>C5n$N$_$G$9$,!"(Bkill$B$H(B
$B$D$/%3%^%s%I$O!"J8;z$r%P%C%U%!$+$i<h$j=|$/:]$K<h$j=|$$$?%F%-%9%H$r(B
kill-ring$B$H8F$P$l$kNN0h$KJ]B8$7$F$$$^$9!#(Bkill-ring$B$KJ]B8$5$l$?%F%-%9%H$O!"(B
$BJL$N%3%^%s%I$K$h$C$F<h$j=P$9$3$H$,$G$-$^$9$,!"(Bdelete$B$G>C5n$5$l$?%F%-%9%H(B
$B$O(Bundo$B$J$I$G!"A`:n<+BN$N<h>C$7$r$7$J$$$+$.$jI|3h$7$^$;$s!#(B

\subsection{$BNN0h$N:o=|(B}

$BNN0h;XDj$7$?>uBV$G(B"C-w"$B$r%?%$%W$7$F$_$^$9!#$9$k$HNN0h;XDj$5$l$?2U=j$,:o(B
$B=|$5$l$^$9!#(B

"C-w"$B$O;XDjNN0h$r:o=|$9$k%3%^%s%I(B(kill-region)$B$G$9!#(B

\section{$BJ#<L(B}

$BNN0h$r%P%C%U%!$+$i:o=|$;$:$K%-%k%j%s%0$X3JG<$9$k$K$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(B

$B%a%8%c!<%b!<%I$K$O0J2<$N$h$&$J$b$N$,$"$j$^$9(B($BB>$K$b$"$k(B)$B!#(B

\begin{itemize}
 \item fundamental-mode\\
       $BFC$K5!G=$r;}$C$F$$$J$$%b!<%I(B
 \item text-mode\\
       $BDL>o$NJ8>O$rJT=8$9$k$?$a$N%b!<%I(B
 \item c-mode c++-mode\\
       C$B8@8l$*$h$S!"(BC++$B8@8l$N%W%m%0%i%`%=!<%9%3!<%I$rJT=8$9$k$H$-$KJXMx(B
       $B$J%b!<%I(B
\end{itemize}

\subsubsection{$B%b!<%I$N%m!<%I(B}

$B?7$7$$%P%C%U%!$OFC$K2?$b;XDj$7$J$1$l$P!"2?$b5!G=$r;}$C$F$$$J$$(B
$B!V(Bfundamental-mode$B!W$K$J$j$^$9!#%a%8%c!<%b!<%I$r@_Dj$9$k$K$O$=$N%b!<%I$r(B
$B%m!<%I$7$^$9!#%b!<%I$N%m!<%I$O(B"M-x"$B$G!"%3%^%s%I$rD>@\<B9T$7$^$9!#Nc$($P!"(B
C$B%b!<%I$r@_Dj$9$k$K$O!"(B

\begin{verbatim}
	% M-x c-mode
\end{verbatim}
$B$H%?%$%W$7$^$9!#(B

$B?7$7$$%P%C%U%!$r:n@.$7$?$j%U%!%$%k$rFI$_$3$s$@$H$-$O!"%P%C%U%!L>$N3HD%;R(B
$B$+$i<+F0E*$KE,@Z$J%a%8%c!<%b!<%I$r%m!<%I$7$^$9!#$3$N@_Dj$O(B.emacs$B$K5-=R$G(B
$B$-$^$9!#(B
/usr/local/share/skel/.emacs-skel$B$K$O0J2<$N$h$&$K5-=R$5$l$F$$$^$9!#(B

\begin{verbatim}
(setq auto-mode-alist
      (append '(("\\.C$"  . c++-mode)
                ("\\.cc$" . c++-mode)
                ("\\.c$"  . c-mode)   
                ("\\.h$"  . c++-mode)   
                ) auto-mode-alist))
\end{verbatim}

\subsection{$B7S@~(B}

Emacs$B>e$G7S@~$r;H$$$?$$$H$-$O(B"@$B$1$$$;$s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"$j$^$9(B($BB>$K$b$"$k(B)$B!#(B

\begin{itemize}
 \item overwrite-mode\\
       $BDL>o(BEmacs$B$G$O!"%+!<%=%k$N0LCV$KJ8;z$rA^F~$7$^$9!#>e=q$-%b!<%I$G$O(B
       $BF~NO$5$l$?J8;z$OA^F~$5$l$:>e=q$-$5$l$^$9!#(B
 \item auto-fill-mode\\
       $B<+F0E*$KJ8>O$r0lDj$N0LCV$G2~9T$7$^$9!#<+F0@07A%b!<%I$r;H$&$H9TKv(B
       $B$r<+F0E*$K2~9T$7$^$9!#2~9T$9$k7e$O(Bfill-column$BJQ?t$G;XDj$7$?J8;z?t(B
       $B$G$9!#(B
 \item line-number-mode\\
       $B%b!<%I%i%$%s$K8=:_$N9T$rI=<($7$^$9!#(B
\end{itemize}

\subsubsection{$B%U%#%k%+%i%`$N@_Dj(B}

fill-column$BJQ?t$O%G%U%)%k%H$G(B70(72?)$B$K@_Dj$5$l$F$$$^$9!#(B1$B9T$ND9$5$rJQ99$9$k$K(B
$B$O2~9T$7$?$$$H$3$m$^$G%+!<%=%k$r0\F0$7(B"C-u C-x f"$B$HF~NO$7$^$9!#$^$?$O(B
$B%_%K%P%C%U%!$+$i(B
\begin{verbatim}
	M-x set-variable
	fill-column
	$B?t;z(B
\end{verbatim}

$B?t;z$r@_Dj$7$?$@$1$@$H$9$G$K=q$+$l$F$$$kItJ,$O@07A$5$l$J$$$N$G!"0J2<$N%3(B
$B%^%s%I$r$D$+$$$^$9!#(B

\begin{description}
 \item[M-q(fill-paragraph)] $B%Q%i%0%i%U$r@07A$7D>$9(B
 \item[M-x fill-region] $BNN0h;XDj$7$?ItJ,$r@07A$7D>$9(B
\end{description}

\section{ispell}

$B1Q8l$GJ8>O$r5-=R$9$k:]$K5$$r$D$1$J$1$l$P$J$i$J$$$N$,!"%9%Z%k%_%9$G$9!#(B
UNIX$B$N%3%^%s%I$K%9%Z%k%_%9$rD4$Y$k%9%Z%k%A%'%C%+$H8F$P$l$k%D!<%k$,$"$j$^(B
$B$9!#%9%Z%k%A%'%C%+$NBeI=E*$J%3%^%s%I$N0l$D$K(B"ispell"$B$H$$$&%3%^%s%I$,$"$j(B
$B$^$9!#(Bispell$B$O%F%-%9%H$rFI$_9~$_!"<-=q$rD4$Y$F<-=q$K$J$$C18l$r8!=P$7$^$9!#(B
$B$^$?!"8!=P$5$l$?3FC18l$KBP$7!"$I$NC18l$r4V0c$($?$N$+$r?dB,$7$F=$@58uJd$r(B
$B=PNO$7!"BPOCE*$KC18l$r=$@5$9$k$3$H$b$G$-$^$9!#$3$3$G$O(BUNIX$B$N%3%^%s%I$H$7(B
$B$F;HMQ$9$k:]$K$D$$$F$O?($l$^$;$s!#(B

Emacs$B$G$OI=(B\ref{ispell}$B$N$h$&$J%9%Z%k%A%'%C%/$N%3%^%s%I$,$"$j$^$9(B($BB>$K$b(B
$B$"$j$^$9(B)$B!#(B

\begin{table}
 \begin{center}
  \caption{ispell$B$N%3%^%s%I(B}
  \label{ispell}
  \begin{tabular}{|c|c|}
   \hline
   $B%3%^%s%I(B &$B5!G=(B \\
   \hline
   M-x ispell-buffer &$B%P%C%U%!Fb$N%F%-%9%H$N%9%Z%k%A%'%C%/$rBPOCE*$K9T$&(B \\
   \hline
   M-x ispell-region &$B%j!<%8%g%sFb$N%9%Z%k%A%'%C%/$rBPOCE*$K9T$&(B \\
   \hline
   M-x ispell-word &$B%+!<%=%k$N0LCV$N%9%Z%k%A%'%C%/$r9T$&(B \\
   \hline
  \end{tabular}
 \end{center}
\end{table}

ispell-buffer$B$H(Bispell-region$B$O!"%9%Z%k%A%'%C%/$NBP>]$,%P%C%U%!A4BN$+%j!<(B
$B%8%g%s$+$N0c$$$,$"$k$@$1$G4pK\E*$JA`:nJ}K!$OF1$8$G$9!#(B

$B%3%^%s%I(Bispell-buffer$B$r<B9T$9$k$H%9%Z%k%A%'%C%/$,3+;O$5$l!"%P%C%U%!Fb$N(B
$B%9%Z%k%_%9$N8!=P$r3+;O$7$^$9!#%9%Z%k%_%9$r8!=P$9$k$H!"%f!<%6$K@5$7$$C18l(B
$B$N8uJd$rDs<($7!"=$@5$r5a$a$^$9!#%9%Z%k%_%9$r8!=P$9$k$H!"I=(B\ref{operate}
$B$N$h$&$JA`:n$K$h$C$FC18l$r=$@5$7$?$j!"$=$N$^$^G'$a$?$j$9$k$3$H$,$G$-$^$9!#(B

\begin{table}
 \begin{center}
  \caption{ispell$B$NA`:n(B}
  \label{operate}
  \begin{tabular}{|c|c|}
   \hline
   Space &$B:#2s$N$_$3$NC18l$r<u$1IU$1$k(B \\
   \hline
   $<$number$>$ &$BHV9f$G;XDj$5$l$?=$@58uJd$KCV$-49$($k(B \\
   \hline
   R)eplace &$BF~NO$5$l$?=$@58uJd$KCV$-49$($k(B \\
   \hline
   A)ccept &$B:#2s$N%;%C%7%g%s$rDL$7$F$3$NC18l$r<u$1IU$1$k(B \\
   \hline
   I)nsert &$B$3$NC18l$r<u$1IU$1!"8D?ME*$J<-=q$KEPO?$9$k(B \\
   \hline
   L)ookup &$B%7%9%F%`<-=q$NCf$rC5$9(B \\
   \hline
   U)ncap &$B$3$NC18l$r<u$1IU$1!"8D?ME*$J<-=q$K>.J8;z$KJQ49$7$?C18l$rEPO?$9$k(B \\
   \hline
   Q)uit &$BB(:B$K=*N;$9$k!#=$@5$r9T$o$J$$(B \\
   \hline
   e(X)it &$B$3$N%U%!%$%k$N;D$j$NItJ,$N=$@5$O9T$o$:$K=*N;$9$k(B \\
   \hline
   ? &$B%X%k%W$rI=<($9$k(B \\
   \hline
  \end{tabular}
 \end{center}
\end{table}

ispell$B$,;H$($J$$?M$O$^$:%$%s%9%H!<%k$7$^$9!#(B
\begin{verbatim}
	cd /usr/ports/textproc/ispell/
	make
	make install
\end{verbatim}

\section{$BK\F|$N2]Bj(B}

$BE,Ev$J1Q8l$NJ8>O$r=q$$$F(B($B<L$7$F(B)ispell$B$r;H$C$F%9%Z%k%A%'%C%/$7$F$_$k!#(B

\section{Reference}

\begin{itemize}
 \item Emacs\&Mule {\small Manual\&Reference}
 \item Mule $B%O%s%I%V%C%/(B
\end{itemize}

\end{document}