<!doctype linuxdoctr system>
<!-- $Id: Emacs-Beginner-HOWTO.sgml,v 1.3 2000/05/12 15:16:53 nakano Exp $ -->
<article>
<title>Emacs Beginner's HOWTO</title>
<!--O
<author>
Jeremy D. Zawodny, <htmlurl url="mailto:jzawodn@wcnet.org" name="jzawodn@wcnet.org">
</author>
-->
<author>
Jeremy D. Zawodny &lt;jzawodn@wcnet.org&gt;
</author>
<date>
v1.7, 14 October 1999
</date>

<trans>池田 克巳 <tt>&lt;cork@ops.dti.ne.jp&gt;</tt></trans>
<tdate>v1.7j, 2 February 2000</tdate>

<abstract>
<!--O
This document introduces Linux users to the Emacs editor. It assumes
minimal familiarity with <tt>vi</tt> or a similar editor. The latest
version of this document is usually available from <htmlurl url =
"http://www.wcnet.org/jzawodn/emacs/" name =
"http://www.wcnet.org/jzawodn/emacs/">
-->
この文書は Linux ユーザに Emacs エディタを紹介するものです。
この文書では <tt>vi</tt> や似たようなエディタについて、
少しは知っていると仮定しています。
この文書の最新版は <htmlurl url ="http://www.wcnet.org/jzawodn/emacs/"
name = "http://www.wcnet.org/jzawodn/emacs/"> から入手可能です。

</abstract>

<toc>

<!-- ********************************************* -->

<!--O
<sect>Introduction <label id="introduction">
-->
<sect>イントロダクション <label id="introduction">

<sect1>著作権

<p>Copyright &copy; 1998 - 1999 Jeremy D. Zawodny. Permission to
distribute and modify this document is granted under the GNU General
Public License. An on-line copy is available at <htmlurl url =
"http://www.gnu.org/copyleft/gpl.html" name =
"http://www.gnu.org/copyleft/gpl.html">

<!-- </sect1> -->

<!--O
<sect1>Audience and Intent
-->
<sect1>対象とする読者について

<!--O
<p>This document is targeted at the Linux user interested in learning
a bit about Emacs and trying it out. This actually began as the
outline of a brief tutorial that I was to give at a Toledo Area Linux
User Group meeting: <htmlurl url = "http://www.talug.org/" name =
"http://www.talug.org/">. It has since grown a bit as the result of
the helpful feedback I have received from the community. See the
Credits section for details.
-->
<p>この文書は、Emacs についてちょっと学んだり試したりしたいと
思っている Linux ユーザを対象にしています。
この文書の始まりは、実際に私が Toledo Area Linux User Group - 
<htmlurl url = "http://www.talug.org/" name = "http://www.talug.org/"> - 
の集会で行った簡単なチュートリアルの概要としてでした。
それ以来、この文書は私がコミュニティから受け取った
有益なフィードバックによって少しずつ発展してきました。
詳細はクレジットの節を参照してください。

<!--O
<p>Having said that, there is virtually nothing Linux-specific in this
document. It applies to virtually all flavors of Unix and even Emacs
running on Microsoft Windows. But since this document is part of the
Linux Documentation Project, I make a point of saying that it was
developed for Linux users-\-because it was.
-->
<p>そういうわけで、事実上この文書中には Linux 特有の部分はありません。
この文書は事実上、すべての Unix 系の Emacs と、Microsoft Windows で
動作する Emacs にさえも当てはまります。
しかし、この文書は Linux Documentation Project の一部なので、
私はこの文書が Linux ユーザのために開発されたということを主張します。
なぜなら、この文章は元々そうであったからです。

<!-- O
<p>And finally, those of you who prefer the name GNU/Linux to simply
``Linux'' (read <htmlurl
name="http://www.gnu.org/gnu/linux-and-gnu.html"
url="http://www.gnu.org/gnu/linux-and-gnu.html"> to see why one might)
are welcomed to mentally substitute GNU/Linux for all occurrences of
Linux in this document. While I don't disagree with the reasoning and
spirit behind that idea, I don't feel compelled to write GNU/Linux.
-->
<p>そして最後に、簡潔な ``Linux'' よりも GNU/Linux という名称を
好む人は、このドキュメントに現れるすべての Linux の代わりに
GNU/Linux を心の中で自由に用いてください
(その人たちの思いは <htmlurl name="http://www.gnu.org/gnu/linux-and-gnu.html"
url="http://www.gnu.org/gnu/linux-and-gnu.html"> で見ることができます)。
私はその考えの背後にある論拠と精神に同意しないことはないですが、
GNU/Linux と書くことを強いるようにしようとは思いません。

<!-- </sect1> -->

<!--O
<sect1>What is Emacs?
-->
<sect1>Emacs とは何か?

<!--O
<p>Emacs is different things to different people. Depending who you
ask, you'll could get any of the following responses:
-->
<p>Emacs は人それぞれによって違ったものとして捉えられます。
誰に尋ねたかによって、次の返答のどれでも受け取る可能性があるでしょう。

<itemize>

<!--O
<item>Text Editor
<item>Mail Client
<item>News Reader
<item>Word Processor
<item>Religion
<item>Integrated Development Environment
<item>Whatever you want it to be!
-->
<item>テキストエディタ
<item>メールクライアント
<item>ニュースリーダ
<item>ワードプロセッサ
<item>宗教
<item>統合開発環境
<item>あなたが望むものならどんなものにでも変化します!

</itemize>

<!--O
<p>But for our purposes, let's just pretend it's a text editor-\-an
amazingly flexible text editor. We'll dig deeper into the question
later on. Emacs was written by Richard Stallman (founder of the Free
Software Foundation: <htmlurl url="http://www.fsf.org/"
name="http://www.fsf.org/"> and the GNU project <htmlurl
url="http://www.gnu.org/" name="http://www.gnu.org/">) and he still
maintains it today.
-->
<p>しかし、ここでは私たちの目的に合わせて、Emacs はテキストエディタ
であるということにしましょう。
すばらしく融通のきくテキストエディタです。
Emacs が何であるかについては、後で検討しましょう。
Emacs は Richard Stallman (Free Software Foundation - 
<htmlurl url="http://www.fsf.org/" name="http://www.fsf.org/">
と GNU project
<htmlurl url="http://www.gnu.org/" name="http://www.gnu.org/">
の創設者) によって書かれたもので、
彼は現在でも Emacs をメンテナンスしています。

<!--O
<p>Emacs is one of the most popular and powerful text editors used on
Linux (and Unix). It is second in popularity only to <bf>vi</bf>. It
is known for it huge feature set, ability to be easily customized, and
lack of bugs. It's large feature set and ability to be customized
actually are the result of how Emacs was designed and
implemented. Without going into all the details, I'll simply point out
that Emacs isn't ``just an editor''. It is an editor written mostly in
the programming language <bf>Lisp</bf>. At the core of Emacs is a
full-featured Lisp interpreter written in C. Only the most basic and
low-level pieces of Emacs are written in C. The majority of the editor
is actually written in Lisp. So, in a sense, Emacs has an entire
programming language ``built in'' which you can use to customize,
extend, and change its behavior.
-->
<p>Emacs は Linux (と Unix) で使われている、非常に人気があり強力な
テキストエディタの 1 つです。
Emacs は人気において <bf>vi</bf> にもひけをとりません。
Emacs は莫大な機能、カスタマイズの容易性、そしてバグの少なさで
知られています。
Emacs の多くの特徴とカスタマイズの容易性は、
実際にどのように Emacs が設計され実装されたかの結果といえます。
あまり詳細には立ち入らないで、Emacs が ``単なるエディタ''
ではないということを簡潔に指摘したい思います。
Emacs は、大部分を <bf>Lisp</bf>というプログラミング言語で
書かれたエディタです。
Emacs の中心部分は、C で書かれたすべての機能を持った Lisp
インタプリタになっています。
Emacs の最も基本的で低レベルな部分のみが C で書かれています。
エディタのほとんどは実際に Lisp で書かれています。
従って、ある意味で Emacs は、カスタマイズ、拡張、
そして動作を変更するために使用できる ``組み込みの''
プログラム言語を完備しているといえます。

<!--O
<p>Emacs is also one of the oldest editors around. The fact that is
has been used by thousands of programmers over the past 20 (?) years
means that there are many add-on packages available. These add-ons
allow you to make Emacs do things that Stallman had probably never
dreamed possible when he first began work on Emacs. More on that
in a later section.
-->
<p>Emacs はまた、出回っている中でも最も古いエディタの 1 つです。
20(?)年以上昔から多数のプログラマによって使われてきたという事実は、
多くのアドオン (add-on) パッケージが利用可能であることを意味しています。
Stallman が最初に Emacs に
取り掛かり始めた時には決して夢にも思わなかっただろうことが、
こういったアドオンパッケージによってできるようになっています。
これについては後の節で説明します。

<!--O
<p>There are many other web sites and documents which give a better
overview of Emacs, its history, and related matters. Rather than
attempt to reproduce much of that here, I suggest that you check out
some of the places listed in Section <ref id = "other_resources" name
= "Other Resources"> section of this document.
-->
<p>Emacs についてのより良い概要、歴史、その他関連した事項についての
多くの web サイトや文書が存在します。
ここでそれらの多くを説明するよりは、
この文書の <ref id = "other_resources" name = "他の情報源"> 
の節にある一覧のいくつかを調べてみることを勧めます。

<!--O
<sect2>Ports and Versions
-->
<sect2>ポートとバージョン

<!--O
<p>It's worth pointing out that there are actually two different Emacs
editors: GNU Emacs and XEmacs. Both come from the same heritage and
share most of the same features. This document focuses on GNU Emacs
(version 20.3, specifically) but much of what you'll read here will
apply just as well to XEmacs and earlier versions of GNU
Emacs. Throughout this document I will simply refer to ``Emacs''. When
I do so, bear that in mind.
-->
<p>二種類の Emacs エディタがあるということは指摘しておくに値します
- GNU Emacs と XEmacs です。
どちらも同じ伝統を受け継ぎ、ほとんど同じ機能を共有しています。
この文書は GNU Emacs (特にバージョン 20.3) に焦点を当てていますが、
ここで読むであろう大部分のことは、XEmacs や以前のバージョンの
GNU Emacs でも良い具合いに利用できるでしょう。
この文書全体にわたって、私は簡潔に ``Emacs'' を用います。
私が ``Emacs'' を用いる時にはいつも、そのことを心に留めておいてください。

<!-- </sect2> -->

<!--O
<sect2>Getting Emacs
-->
<sect2>Emacs を入手する

<!--O
<p>Getting Emacs is easy. If you are using a popular Linux
distribution like Debian, RedHat, Slackware, or any of the others,
Emacs is probably an optional package that you can install from your
distribution media. If not, you can get the Emacs source code and
compile it yourself. Visit the GNU web site for the exact location:
<htmlurl url = "http://www.gnu.org/software/emacs/emacs.html" name = "http://www.gnu.org/software/emacs/emacs.html">
-->
<p>Emacs を手に入れるのは簡単です。
もし Debian, RedHat, Slackware あるいはその他の一般的な
Linux ディストリビューションを使っているのであれば、
Emacs はおそらく、ディストリビューションのメディアから
インストールできるオプションパッケージとなっているはずです。
もしそうでなければ、Emacs のソースコードを持ってきて
自分でコンパイルすることもできます。
正しい指定で GNU web サイトを訪れてください -
<htmlurl url = "http://www.gnu.org/software/emacs/emacs.html" name = "http://www.gnu.org/software/emacs/emacs.html"> 。

<!-- </sect2> -->

<!-- </sect1> -->

<!-- </sect> -->

<!-- ********************************************* -->

<!--O
<sect>Running Emacs <label id="running_emacs">
-->
<sect>Emacs の実行<label id="running_emacs">

<!--O
<sect1>Starting &amp; Quitting Emacs
-->
<sect1>Emacs の開始 &amp; 終了

<!--
<p>As a new user, you'll probably want to launch Emacs just to mess
around and try it out. Once you're into Emacs and want to exit,
however, you may not be able to figure out what to do. So if you've
never used Emacs before, give it a shot right now. At your shell
prompt, type <tt>emacs</tt> and hit enter. Emacs should start up. If
not, it is either not installed or not in your path.
-->
<p>新参のユーザであれば、いろいろいじったり ちょっと試してみたい、
という理由だけでも Emacs を起動してみたいでしょう。
でも、ひとたび Emacs を起動してしまったら、
終了させたいだけなのに、どうしたらよいのか分からなくなるでしょう。
だから、まだ Emacs を使ったことがなければ、いまここでやってみてください。
シェルプロンプトで、<tt>emacs</tt> とタイプして enter を打ってください。
Emacs が起動するでしょう。
起動しない場合は、インストールされていないか、
パスに含まれていないかのいずれかです。

<!--O
<p>Once you've seen Emacs, you need to know how to exit. The
keystrokes for leaving Emacs are <tt>C-x C-c</tt>. The <tt>C-x</tt>
notation means hold down the <tt>Ctrl</tt> key and press
<tt>x</tt>. In this case, you'll then need to hold down <tt>Ctrl</tt>
and press <tt>c</tt> to finish the task.
-->
<p>いったん Emacs を起動したら、今度は終了方法を知る必要があります。
Emacs を終了するためのキー入力は <tt>C-x C-c </tt> です。
<tt>C-x</tt> という表記は、<tt>Ctrl</tt> キーを押したまま
<tt>x</tt> を押すことを意味しています。
この場合は、さらに <tt>Ctrl</tt> を押したまま <tt>c</tt> を押すことで
Emacs を終了できます。

<!--O
<p>The keystrokes used in Emacs will likely seem odd, foreign, and
maybe even uncomfortable to you at first-\-especially if you're a
<tt>vi</tt> user. Unlike <tt>vi</tt>, Emacs doesn't have separate
modes for editing text and issuing commands.
-->
<p>Emacs で使われるキー入力は、初めのうちは、わけがわからなくて、
異質なもので、苦痛ですらあるかもしれません
-- 特に <tt>vi</tt> ユーザであれば。
<tt>vi</tt> と異なり、Emacs はテキスト編集とコマンド発行の
ための分離したモードというものは持っていません。

<!--O
<p>To re-cap: <tt>emacs</tt> will start Emacs. <tt>C-x C-c</tt> will
exit Emacs.
-->
<p>要約すると - <tt>emacs</tt> で Emacs が起動します。
<tt>C-x C-c</tt> で Emacs が終了します。

<!--O
<sect2>What you'll see
-->
<sect2>見た目

<!--O
<p>When Emacs starts up it will consume a whole X window (or screen if
you're running on a console instead of in the X Window System). You'll
see a menu across the top, some text in the main part of the screen,
and a couple of lines at the bottom.
-->
<p>Emacs が起動したとき、Emacs は X のウィンドウ
(もしも X Window System ではなくてコンソールで
実行しているならば、スクリーン) 全体を使い尽くすでしょう。
最上部に横に並んだメニュー、スクリーンのメイン部分にいくつかのテキスト、
最下部に 2 つの行があるのが見れるでしょう。

<!--O
<p>It will look something like this ASCII sketch:
-->
<p>この ASCII による略図のようになります:

<verb>
+----------------------------------------------------------------------+
|Buffers Files Tools Edit Search Mule Help                             |
|                                                                      |
|Welcome to GNU Emacs, one component of a Linux-based GNU system.      |
|                                                                      |
|                                                                      |
|                                                                      |
| ...                                                                  |
|                                                                      |
|---1:---F1  *scratch*         (Lisp Interaction)--L1--All-------------|
|For information about the GNU Project and its goals, type C-h C-p.    |
+----------------------------------------------------------------------+
</verb>

<!--O
<p><bf>NOTE:</bf> Emacs will usually fill the entire
screen/window. I've shrunk the above example to save space here. You
will also see a welcome message in Emacs when you first start it. I
omitted that as well and substituted ``<tt>...</tt>'' instead. The
welcome message simply identifies the exact version of Emacs you are
using as well as pointing you to the on-line help and related items.
-->
<p><em>注釈: </em> Emacs は普通、スクリーン/ウィンドウ全体を占めます。
私は上の例では、ここの場所を節約するために小さく描写しています。
Emacs を起動するとまず、Emacs のウェルカムメッセージも
表示されます。
私はそれも省略して、``<tt>...</tt>'' をその代わりに書いています。
ウェルカムメッセージは、簡単にオンラインヘルプと関連項目を
示すだけでなく、使用している Emacs の 正確なバージョンも示します。

<!--O
<sect3>The Menu Bar
-->
<sect3>メニューバー

<!--O
<p>The topmost line of the Emacs interface is a menu. If you're
running X, you'll recognize them as traditional pull-down menus that
you can access using your mouse. Otherwise you'll need to use keyboard
shortcuts (not covered here) for accessing the menus.
-->
<p>Emacs の一番上のラインのインタフェースはメニューです。
もしも X を実行していれば、マウスでアクセスできる
昔ながらのプルダウンメニューであることがわかるでしょう。
さもなくば、メニューにアクセスするためにキーボード
ショートカット (ここでは取り扱いません) を使う必要があります。

<!-- </sect3> -->

<!--O
<sect3>The Status Bar and Mini-buffer
-->
<sect3>ステータスバーとミニバッファ

<!--O
<p>Of the last two lines in the Emacs interface, the topmost one is
essentially a status bar. It contains information about the buffer
you're working in, which mode Emacs is in, and various other
things. For now, just realize that it's there.
-->
<p>Emacs インタフェースの最下行の 2 行のうち、上の行は本質的には
ステータスバーです。
そこは、作業しているバッファが Emacs のどのモードに
なっているかについての情報や、他の多くの情報を含んでいます。
ひとまず、これはそういうものだと思っていてください。

<!--O
<p>The bottommost line is called the <bf>mini-buffer</bf>. It is
separated from the main buffer by the status bar we just
discussed. You can think of the mini-buffer as the Emacs
``command-line''. It is where commands that you give Emacs appear and
it is where status messages are printed in response to things you do.
-->
<p>最下行は <bf>ミニバッファ</bf> と呼ばれます。
そこは、ちょうど先ほど説明したステータスバーによって
メインバッファと分けられています。
ミニバッファは Emacs の ``コマンドライン'' であると考えることができます。
そこは、Emacs に与えたコマンドが表示されたり、実行に対する反応として
状態メッセージが出力されたりする場所です。

<!--O
<p>You'll find that what I've called the status bar is usually referred
to as the mode line in Emacs related documentation. It is where Emacs
displays information about the current modes(s) you may be using as
well as things like the current date and time, line number, file size,
and almost anything else you might want to see there.
-->
<p>私がステータスバーと呼んでいるものが、Emacs の関連文書では、
普通、モードラインと呼ばれていることに気付くでしょう。
そこは、現在の日付と時刻、行数、ファイルサイズ、そして
ほとんど何でもそこで見たいと思っているものと同じように、
現在のモードについて Emacs が表示している場所です。

<!-- </sect3> -->

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Some Terminology
-->
<sect1>用語

<!--O
<p>This section covers the most basic of Emacs terminology that you'll
encounter when using and reading about Emacs.
-->
<p>この節では、Emacs について読んだり使ったりする時に
遭遇するであろう、最も基本的な Emacs の用語を取り扱います。

<!--O
<sect2>Buffers &amp; Files
-->
<sect2>バッファ &amp; ファイル

<!--O
<p>Unlike some editors, when you open a file in Emacs it does not stay
``open'' the entire time you're working with it. Instead, Emacs reads
the file into a <bf>buffer</bf> in memory. While you're editing the
buffer and working with the data nothing is changed on disk. Only when
you actually save the buffer does the file on disk get updated. There
are advantages and disadvantages to this approach but it is only
important that you understand that it works this way.
-->
<p>いくつかのエディタとは異なり、Emacs でファイルを開いた時には、
そのファイル自体は入力作業中では ``open'' 状態になっていません。
その代わりに、Emacs はメモリ中の <bf>バッファ</bf> に
ファイルを読み込みます。
バッファを編集してデータ作業を行っている間、ディスク上では
何も変化しません。
実際にバッファを保存する時だけ、ディスク上のファイルが更新されます。
この方法には利点も欠点もありますが、大切なことは、
このように動いていることを理解することだけです。

<!--O
<p>As a consequence, you will see the term ``buffer'' used in Emacs
documentation, modes, packages, and so on. Just realize that buffer
means ``a copy of the file that is currently in memory.'' Oh, it's
worth pointing out that a buffer doesn't always have to refer to a
specific file on disk. Often times Emacs will create buffers as the
result of commands you run. Such buffers may contain the result of the
command, a list of selections to pick from, and so on.
-->
<p>Emacs の文書、モード、パッケージ、その他で使われている
``バッファ''という用語を目にすることになるでしょう。
バッファは ``現在メモリ中にあるファイルのコピー'' を意味することを
はっきりと認識しましょう。
そう、バッファは必ずしもディスク上の特定のファイルを指していなくても
よいんです。
しばしば Emacs は、実行したコマンドの結果としてバッファを作ります。
そのようなバッファには、コマンドの結果、選択用のリストなどがあります。

<!-- </sect2> -->

<!--
<sect2>Point &amp; Region
-->
<sect2>ポイント &amp; リージョン

<!--O
<p>In Emacs lingo, you'll often hear or see references to the
<bf>point</bf>. In general terms the point is the cursor. The actual
distinction between the point and cursor probably isn't important when
you're first starting out with Emacs. But if you are curious, think
about it this way. The cursor is the visual representation of the
point. The cursor is always ``on'' a particular character position in
the current buffer. The point, on the other hand, lives in the space
<em>between characters</em> on in the buffer. So you might say that if
the cursor is on the letter `h' in the word ``the'' then the point is
between the `t' and the `h'.
-->
<p>Emacs 特有の言葉として、<bf>ポイント</bf> という言葉を
しばしば見聞きするでしょう。
一般的な用語では、ポイントはカーソルです。
初めて Emacs に取り掛かる時は、ポイントとカーソルの間の
実際の区別はおそらく重要ではないです。
しかし、好奇心を押さえられないのであれば、それについては
このように考えてください。
カーソルはポイントの視覚表現です。
カーソルはいつも現在のバッファの特定の文字の位置の``上''にあります。
一方、ポイントは、バッファ中の <em>文字の間</em>の場所に存在します。
つまり、もしも単語 ``the'' の文字 `h' 上にカーソルがある場合、
ポイントは `t' と `h' の間にあるということができます。

<!--O
<p>Like many modern editors, Emacs allows to perform operations
(indent, spell-check, reformat, cut, copy, paste, ...) on a section of
the current buffer. You can highlight (or ``mark'') a block of text
using the keyboard or mouse and then perform operations on just the
selected block of text. In Emacs, that block of text is called a
<bf>region</bf>.
-->
<p>多くの近頃のエディタと同様、Emacs は現在のバッファのある部分に
命令 (インデント、スペルチェック、カット、コピー、ペースト、…)
を実行することを許しています。
キーボードやマウスを使ってテキストのブロックをハイライト
(あるいは ``マーク'') することができ、テキストの選択されたブロックに
対して命令を実行することができます。
Emacs では、テキストのそのようなブロックのことを <bf>リージョン</bf>
と呼びます。

<!-- </sect2> -->

<!--O
<sect2>Windows
-->
<sect2>ウィンドウ

<!--O
<p>Okay, this will be a bit confusing to anyone who has ever used a
GUI interface before. Just remember that Emacs was developed long
before GUI interfaces and window managers were popular.
-->
<p>さて、これは以前 GUI を使用したことのある人を少し混乱させるでしょう。
Emacs は GUI とウィンドウマネージャが一般的になるよりも
ずっと以前から開発されていたことを思い出してください。

<!--O
<p>A <bf>window</bf> in Emacs is an area of the screen in which a
buffer is displayed. When Emacs is first started, you have one window
on your screen. Some Emacs functions (such as the help and
documentation) often [temporarily] open up additional windows in your
Emacs screen.
-->
<p>Emacs での <bf>ウィンドウ</bf> は、バッファが表示されている
スクリーンの領域のことです。
最初に Emacs を起動したとき、スクリーンには 1 つのウィンドウがあります。
いくつかの Emacs の機能 (ヘルプやドキュメント) は、しばしば
&lsqb; 一時的に &rsqb; Emacs のスクリーンに追加のウィンドウを開きます。

<!--O
<p>Emacs windows have nothing to do with X windows in the GUI
sense. You can open up additional X windows to display Emacs buffers,
maybe to compare two files side by side. Those new X windows are
referred to as <bf>frames</bf> in Emacs lingo. Read on.
-->
<p>Emacs のウィンドウは GUI の感覚での X のウィンドウとは
何の関係もありません。
Emacs のバッファを表示するために追加の X のウィンドウを
開くことができ、2 つのファイルを横に並べて比較することもできます。
それらの新しい X のウィンドウは、Emacs 特有の言葉で <bf>フレーム</bf>
と呼びます。
次を読んでください。

<!-- </sect2> -->

<!--O
<sect2>Frames
-->
<sect2>フレーム

<!--O
<p>In Emacs, a <bf>frame</bf> is a separate X window in which an Emacs
buffer is displayed. But both are part of the same Emacs session. The
behavior is somewhat (but not too much) like what happens if you hit
Alt+N in Netscape Navigator.
-->
<p>Emacs では、<bf>フレーム</bf> は Emacs のバッファが表示されている、
別々の X のウィンドウです。
しかし、その両方とも同じ Emacs のセッションの一部です。
その振る舞いは、Netscape Navigator で Alt+N を押した時に
起こることと、すこし (ほとんどではない) 似ています。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Keyboard Basics
-->
<sect1>キーボードの基本

<!--O
<p>This section covers the basics of keyboarding for Emacs. Like every
powerful editor, everything that you can do with Emacs is just a few
keystrokes away.
-->
<p>この節では Emacs のキーボード操作の基本を取り扱います。
すべての強力なエディタと同様、Emacs でできることのすべては、
少ないキー入力に割り当てられています。

<!--O
<p>If you're a <tt>vi</tt> user, the notion of using the <tt>k, j, l,
h</tt> keys to move up a line, down a line, forward by a character,
and backward by a character probably took some getting used to. In
fact, it might have taken you a few hours or even weeks of practice
before you could comfortably navigate a file using the various key
combinations available in <tt>vi</tt>.
-->
<p>もしも <tt>vi</tt> ユーザであれば、上の行、下の行、
文字の前方向、文字の後方向への移動に <tt>k, j, l, h</tt>
キーを使う考えに慣れているかもしれません。
事実、<tt>vi</tt> で使用可能な多くのキーの組合せを使って
ファイルを快適に操作できるようになるまでに、
練習に数時間か数週間かけたかもしれません。

<!--O
<p>Emacs is no different. There are different keystrokes and commands
to learn. Just like <tt>vi</tt>, you only need to master the basics to
get a lot of work done. Then, as time goes on, you can slowly expand
your knowledge and find faster ways of doing things.
-->
<p>Emacs も同じです。
学習するキー入力とコマンドは違います。
ちょうど <tt>vi</tt> のように、多くの仕事をこなすには
基本を習得する必要があるだけです。
時が経つにしたがって、ゆっくりと知識を広げて、物事を進める
より速い方法を見つけることができるようになるでしょう。

<!--O
<sect2>Command Keys (Meta, Esc, Control, and Alt)
-->
<sect2>コマンドキー (Meta, Esc, Control, Alt)

<!--O
<p>As you'll soon learn, Emacs makes heavy use of multi-key
combinations. Because it is not a modal editor like <tt>vi</tt>, you
don't have to think about being in ``command mode'' or ``editing
mode'' before you can try to move the cursor or execute a
command. Instead, you just press the right combination of keys and
Emacs does as told (usually).
-->
<p>学習を始めて間もなくすると、Emacs は複数キーの組合せを
大量に使わせるようになります。
Emacs は <tt>vi</tt> のようなモードを持ったエディタではないので、
カーソルを動かしたりコマンドを実行したりする前に、
``コマンドモード'' または ``編集モード'' のどちらにあるのか
考える必要はありません。
その代わり、正しいキーの組合せを押すことで、(普通は) Emacs が
命令を実行します。

<!--O
<p>The keys that Emacs makes the most use of are usually abbreviated in
the documentation as <tt>C</tt> (for Control or Ctrl) and <tt>M</tt>
for (Meta). While most modern PC keyboards have one or more keys
labeled <tt>Ctrl</tt> few have one labeled <tt>Meta</tt>. You'll want
to mentally substitute either <tt>Esc</tt> or <tt>Alt</tt> for the Meta
key. In most standard configurations, both Esc and Alt do essentially
the same thing.
-->
<p>Emacs で最も良く使うキーは、普通 <tt>C</tt> (Control または Ctrl)
や <tt>M</tt> (Meta) として文書中で略して書かれます。
最近の PC のほとんどは <tt>Ctrl</tt> と表示された 1 つ以上の
キーを持っているのですが、<tt>Meta</tt> と表示されたキーを持つものは
ほとんどありません。
心の中で、Meta キーを <tt>Esc</tt> または <tt>Alt</tt>
のどちらかに入れ換えたいでしょう。
多くの標準構成では、Esc と Alt の両方とも、本質的に同じことをします。

<!--O
<p>So when you see a reference in any Emacs related documentation to
<tt>C-x f</tt> it means ``press control-x and then f.'' And if you see
a reference to something like <tt>M-x shell</tt> is means ``press
alt-x and type the word shell''.
-->
<p>Emacs に関連する文書で <tt>C-x f</tt> という記述を見つけた場合、
それは ``Ctrl-x を押してから f を押す'' ことを意味します。
もし <tt>M-x shell</tt> のような記述を見つけた場合、
それは ``alt-x を押してから単語 shell を入力する'' ことを意味します。

<!--O
<p>A very useful command for beginners is <tt>M-x apropos</tt> or
<tt>C-h a</tt>. apropos will search the Emacs on-line documentation
for all functions and search for the regular expression you type. This
is a great way to discover all commands related to frames. Simply
<tt>C-h a</tt> and then <tt>frame</tt>.
-->
<p>初心者にとても役に立つコマンドは、<tt>M-x apropos</tt>
または <tt>C-h a</tt> です。
apropos は、すべての関数に対してEmacs のオンライン文書を調べ、
入力した正規表現に対して検索します。
フレーム (frame) に関連したすべてのコマンドを発見する最良の方法は、
単に、<tt>C-h a</tt> としてから <tt>frame</tt> とします。


<!-- </sect2> -->

<!--O
<sect2>Moving Around in a Buffer
-->
<sect2>バッファの中の移動

<!--O
<p>Now that you know what all those fancy abbreviations mean, here's a
list of the most common keystrokes for moving within a buffer:
-->
<p>
さあ、これでもうキー操作の変てこな省略表記のことは分かったでしょうから、
バッファ内の移動に関する一般的なキー入力の一覧をここに示します:


<!--O
<verb>
Keystrokes  Action
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
C-p         Up one line
C-n         Down one line
C-f         Forward one character
C-b         Backward one character
C-a         Beginning of line       
C-e         End of line
C-v         Down one page
M-v         Up one page
M-f         Forward one word
M-b         Backward one word
M-<         Beginning of buffer
M->         End of buffer
C-g         Quit current operation
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
<verb>
-->
<verb>
キー入力    動作
-----------------------------------
C-p         1 行上に移動
C-n         1 行下に移動
C-f         1 文字前に移動
C-b         1 文字後に移動
C-a         行の先頭に移動
C-e         行の末尾に移動
C-v         1 画面下に移動
M-v         1 画面上に移動
M-f         1 単語前に移動
M-b         1 単語後に移動
M-<         バッファの先頭に移動
M->         バッファの末尾に移動
C-g         現在の操作を終了
-----------------------------------
</verb>

<!--O
<p>And, as you might expect, the cursor keys (or arrow keys) usually
work just as you'd expect. Your <tt>Backspace</tt> may not. That's
another story. <tt>:-(</tt>
-->
<p>予想の通り、カーソルキー (あるいは矢印キー)
は普通はご期待の通りに働きます。
<tt>Backspace</tt> はそうでないかもしれません。
それには、また別の話があるのです。 <tt>:-(</tt>

<!-- </sect2> -->

<!--O
<sect2>Essential Commands
-->
<sect2>基本的ななコマンド

<!--O
<p>Okay, now that you know how to move around within a buffer what
about opening and saving files? Search? Here are some basic commands.
-->
<p>さて、これでバッファ内での移動方法はわかりました。
ファイルを開いたり保存したりする方法はどうするのでしょう?
検索はどうすればいいのでしょう?
これらは基本的なコマンドです。

<!--O
<p>Before we jump straight to those commands, I need to briefly point
out how this works.
-->
<p>それらのコマンドの説明にすぐにゆく前に、
これらがどのように機能しているかについて簡単に触れておく必要があるでしょう。

<!--O
<p>All ``command keystrokes'' in Emacs (those that are <tt>M-x
something</tt> or <tt>C-something</tt>) are actually just shortcuts to
functions which are part of Emacs. You can call any of those functions
by typing <tt>M-x function-name</tt> and hitting <tt>Enter</tt>. You
can also use the keyboard shortcut for that function (if it has one).
-->
<p>Emacs のすべての ``コマンドキー入力'' (<tt>M-x 何か</tt>
あるいは <tt>C-何か</tt>) は実際、Emacs の一部である関数への
ショートカットになっています。
それらの関数は、<tt>M-x 関数名</tt> を入力して <tt>Enter</tt>
を押すと、関数の機能を呼べます。
キーボードショートカット (もしあれば) でも、その関数を利用できます。

<!--O
<p>For example, the Emacs function which saves a buffer to disk is
called <tt>save-buffer</tt>. By default it is also bound to <tt>C-x
C-s</tt>. So, you can either use they shortcut to save the current
buffer, or you could type <tt>M-x save-buffer</tt> and achieve the
exact same result.
-->
<p>例えば、ディスクにバッファを保存する関数は <tt>save-buffer</tt>
と呼ばれます。
デフォルトでは、それは <tt>C-x C-s</tt> にも割り当てられています。
つまり、現在のバッファを保存するためには、ショートカット (C-x C-s) か
<tt>M-x save-buffer</tt> のどちらかを使えばよく、どちらでも
全く同じ結果が得られます。

<!--O
<p>All of the most common functions have keyboard shortcuts by
default. Some of them are listed below.
-->
<p>一般的な関数のすべては、デフォルトでキーボードショートカットを
持っています。
それらのいくつかを次に列記します。
<!--O
<verb>
Keystrokes  Function           Description
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
C-x C-s     save-buffer        Save the current buffer to disk
C-x u       undo               Undo the last operation
C-c C-f     find-file          Open a file from disk
C-s         isearch-forward    Search forward for a string
C-r         isearch-backward   Search backward for a string
            replace-string     Search & replace for a string
            replace-regexp     Search & replace using regexp
C-h t       help-with-tutorial Use the interactive tutorial
C-h f       describe-function  Display help for a function
C-h v       describe-variable  Display help for a variable
C-h x       describe-key       Display what a key sequence does
C-h a       apropos            Search help for string/regexp
C-h F       view-emacs-FAQ     Display the Emacs FAQ
C-h i       info               Read the Emacs documentation
C-x r m     bookmark-set       Set a bookmark. Useful in searches
C-x r b     bookmark-jump      Jump to a bookmark.
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-

</verb>
-->
<verb>
キー入力    関数               説明
-------------------------------------------------------------------
C-x C-s     save-buffer        現在のバッファをディスクに保存する。
C-x u       undo               最後の操作を取り消す。
C-c C-f     find-file          ディスクからファイルを開く。
C-s         isearch-forward    文字列を前方検索する。
C-r         isearch-backward   文字列を後方検索する。
            replace-string     文字列の検索と置換を行う。
            replace-regexp     正規表現を使って、検索と置換を行う。
C-h t       help-with-tutorial インタラクティブなチュートリアルを使う。
C-h f       describe-function  関数のヘルプを表示する。
C-h v       describe-variable  変数のヘルプを表示する。
C-h x       describe-key       キー入力が何をするものであるか表示する。
C-h a       apropos            文字列/正規表現のヘルプを検索する。
C-h F       view-emacs-FAQ     Emacs の FAQ を表示する。
C-h i       info               Emacs の文書を読む。
C-x r m     bookmark-set       ブックマークを設定する。検索に役立つ。
C-x r b     bookmark-jump      ブックマークに移動する。
-------------------------------------------------------------------

</verb>

<!--O
<p>As you try many of those functions, you'll notice that many will
prompt you for input. They will always to do in the mini-buffer. This
is similar to using the <tt>:</tt> commands in <tt>vi</tt> or most
commands that you'd use within your favorite Unix shell.
-->
<p>たくさんの関数を試していくうちに、
多くのものが、さらなる入力を促すことに気付くでしょう。
それら入力はいつもミニバッファ内で行われます。
これは <tt>vi</tt> で <tt>:</tt> コマンドを、あるいは
お気に入りの Unix シェル内のコマンドの大部分を使ったときと似ています。

<!--O
<p>Emacs has literally hundreds of built-in functions available. The
list above is a tiny sample that represents those that I use
regularly. See the on-line help for a more complete listing of the
available functions and more complete documentation on those I
mentioned above.
-->
<p>Emacs は文字通り、利用可能な何百もの組み込み関数を持っています。
上の一覧は、私がいつものように使っているものを代表する、
ごく小さなサンプルです。
私が上で簡単に述べたものについての、より完全な利用可能な関数の一覧と
完璧な文書については、オンラインヘルプを見てください。

<!-- </sect2> -->

<!--O
<sect2>Tab Completion
-->
<sect2>タブ補完

<!--O
<p>Like many popular Unix shells (bash, csh, tcsh, ...) Emacs offers
command completion via the <tt>Tab</tt> key. In fact, the command
completion in bash was modeled after that in Emacs, so if you use that
feature in bash you'll be right at home.
-->
<p>多くの一般的な Unix シェル (bash, csh, tcsh, ...) と同様に、
Emacs は <tt>Tab</tt> キーによるコマンド補完を提供しています。
実際、bash のコマンド補完は Emacs をまねして作られました。
bash のこの機能を使っているならば、すでに手に馴染んでいることでしょう。

<!--O
<p>As an example, try <tt>M-x search</tt> and then hit
<tt>Tab</tt>. Emacs will append a hyphen to indicate that there are
several possible completions but they all have a hyphen as the next
character. Hit <tt>Tab</tt> once more and Emacs will display a list of
the possible matches for you to choose from. Notice that it does so in
a <em>new window</em>. It temporarily splits your display into two
windows: one which contains the buffer you were editing and the other
contains the list of possible completions for ``search-''. You may hit
<tt>C-g</tt> to exit out of the selection process and close the new
window.
-->
<p>たとえば、<tt>M-x search</tt> としてから <tt>Tab</tt> を押してみてく
ださい。Emacs はハイフンを追加するはずです。この挙動は、複数の補完候補
があり、全ての場合においてハイフンが続くことを示しています。
<tt>Tab</tt> をもう一度押すと、補完候補の一覧が表示されます。
<em>新しいウィンドウ</em> に表示されるという点に注目してください。
その結果、一時的に、表示部が 2 つのウィンドウに分かれます。1つは編集
中のバッファを含むウィンドウで、もう一つのウィンドウには ``search-''
の補完候補一覧が表示されていると思います。
補完処理を終了して新しいウィンドウを閉じたいのであれば、<tt>C-g</tt>
を押しても構いません。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Tutorial, Help, &amp Info
-->
<sect1>チュートリアル、ヘルプ &amp; Info

<!--O
<p>Emacs comes with an on-line tutorial which walks you through the
basic editing features and functions that everyone should know. It
also explains how to use the other help features in Emacs.
-->
<p>Emacs は、すべての人が知るべき機能と関数の基本的な編集作業を
一通り学ぶための、オンラインチュートリアルを含んでいます。
それはまた、Emacs で他のヘルプ機能を使う方法も説明しています。

<!--O
<p>I highly recommend that you spend some time going through the
tutorial if you plan on making a serious effort to learn Emacs. As
shown in the table above, you can enter the tutorial via <tt>C-h
t</tt>. The tutorial is self-guided and aimed at folks who are just
getting started with Emacs.
-->
<p>もしも Emacs の習得に真面目に取り組むつもりであれば、
チュートリアルを一通りやってみることを強く勧めます。
上の表で示した通り、<tt>C-h t</tt> でチュートリアルに入れます。
チュートリアルはそれ自身がやり方の説明になっており、まさに Emacs
を始めようとする人がねらいです。

<p>訳注: 日本語チュートリアルを実行するには、
<tt>C-u M-x help-with-tutorial</tt> ( または <tt>C-u C-h t</tt> ) の後、
<tt>Japanese</tt> を入力します。
 
<!--O
<p>If you are running Emacs in X, you will see that the rightmost menu
on the menu bar is labeled Help. As you explore the Help menu notice
that some items have keyboard shortcuts and those are listed right in
the menu.
-->
<p>もしも X で Emacs を実行しているならば、Help と表示されたメニューが
メニューバーの一番右にあることに気づくでしょう。
Help メニューを調べれば、キーボードショットカットが付いている項目が
あること、それがメニューの右側に一覧表示されていることがわかるでしょう。

<!--O
<p>Finally, to see the volume of documentation available with Emacs,
you should try <tt>M-x info</tt> or <tt>C-h i</tt> which launches
Info, the Emacs documentation browser.
-->
<p>最後に、Emacs で利用できる文書の量を見るために、Info
(Emacs の文書ブラウザ) を起動する <tt>M-x info</tt>
または <tt>C-h i</tt> を試してみるべきでしょう。


<!-- </sect1> -->

<!-- </sect> -->

<!-- ********************************************* -->

<!--O
<sect>Emacs Modes
-->
<sect>Emacs のモード

<!--O
<p>Emacs modes are different behaviors and features which you can turn
on or off (or customize, of course) for use in different
circumstances. Modes are what make one editor (Emacs) equally useful
for writing documentation, programming in a variety of languages (C,
C++, Perl, Python, Java, and many more), creating a home page, sending
E-Mail, reading Usenet news, keeping track of your appointments, and
even playing games.
-->
<p>Emacs のモードは、様々な状況での使用において
オンまたはオフに (もちろん、カスタマイズも) できる、
また別の振る舞いと機能です。
文書を書く、いろいろな言語 (C, C++, Perl,
Python, Java その他多数) でプログラミングをする、
ホームページを作成、E-mail を送る、
Usenet ニュースを読む、予定表、そしてゲームで遊ぶ..
モードこそが、ある一つのエディタ (Emacs) を、
これらすべてが等しく便利にこなせるようにしているものです。

<!--O
<p>Emacs modes are simply libraries of Lisp code that extend, modify,
or enhance Emacs is some way.
-->
<p>Emacs のモードは、単にいろんな方法で Emacs を拡張、変更、強化する
Lisp コードのライブラリです。

<!--O
<sect1>Major vs. Minor Modes
-->
<sect1>メジャーモード vs. マイナーモード

<!--O
<p>There are fundamentally two types of modes available: Major and
Minor. The distinction isn't the easiest thing to grasp until you've
worked with a few of them off and on, but let's give it a shot.
-->
<p>基本的に 2 種類のモード - メジャー・モードとマイナー・モードがあります。
これらの区別を理解することは、オフとオンを何度か実際に試してみるまで
簡単ではありませんが、やってみましょう。

<!--O
<p>Only one major mode can be active at a given time. Many minor modes
can be active at a given time. Major modes tend to be language or
task-specific, while minor modes are smaller and less specific
utilities that cut across many tasks.
-->
<p>ある時点で有効なメジャーモードは 1 つのみです。
逆に、多くのマイナーモードは、同時に動かせます。
メジャーモードは言語または特定の処理に対応する傾向があり、
マイナーモードは多くの処理に共通する、より小さく一般的な
処理に対応します。

<!--O
<p>Sounds kind of abstract, so let's try an example. There's a mode
that I use quite often when I'm writing plain old text files. It's
called <tt>text-mode</tt>. This mode was designed for writing free
form text like a README file. It understands how to identify words and
paragraphs and generally makes sure that it does what I expect when I
use the normal navigation keystrokes.
-->
<p>大体の概要を確かめるために、例を試しましょう。
昔ながらの普通のテキストファイルを書いている時、
私が大変良く使うモードがあります。
<tt>text-mode</tt> というものです。
このモードは、README ファイルのような非定型テキストを書くために
設計されています。
このモードは、どのように単語と段落を識別するかについて理解していて、
通常、私が普通のキー入力操作を使った時は、私が期待した通りのことを
してくれます。

<!--O
<p>When I'm writing text for human consumpiton, I typically want it
to look good. It should be properly word-wrapped to a reasonble value
and so on. To enable word wrapping I just turn on the
<tt>auto-fill</tt> minor mode. This mode tries to do the Right Thing
when I'm typing along and hit the end of the line. The fact that it is
a minor mode means that it can work with several different major
modes. My notion of the ``Right Thing'' to do when I hit the end of
the line is different when I'm in <tt>text-mode</tt> than it is when
I'm in <tt>java-mode</tt> for example. I don't want my Java code to be
word-wrapped as if was English text. But I <em>do</em> want the blocks
of comments in my Java code to be word wrapped! <tt>auto-fill</tt>
mode is smart enough to figure that out.
-->
<p>私が誰かのためにテキストを書くときは、一般に見映えするものが書きたいです。
適切にワードラップしてほしい、など。
ワードラップを有効にするために、私は <tt>auto-fill</tt>
マイナーモードを立ち上げます。
どんどんタイプしていって、行の終りに到達すると、
このモードは「やるべきこと」(訳注: 単語境界での行折り返し - ワードラップ)
をやってみてくれます。
これはマイナーモードなので、ほかのいろんな
メジャーモードで動作します。
行末に到達したときに私が ``やってほしいこと'' は、
例えば <tt>text-mode</tt> の時と <tt>java-mode</tt> の時とでは違います。
私は自分の Java コードを英語テキストのようにワードラップしたくは
ありません。
しかし、自分の Java コード中のコメントブロックはワードラップ
<tt>して欲しい</tt>です!
<tt>auto-fill</tt> モードはそのへんを理解してくれるよう賢くできています。

<!--O
<p>The authors of various Emacs modes have done a great job of making
sure that things that should work as minor modes are minor modes.
-->
<p>様々な Emacs モードの作者たちは、マイナーモードとして
動作すべきものが確かにマイナーモードであることを確かめるために、
たくさんの作業をしてきました。

<!--O
<p>If you look back at that ASCII sketch of an Emacs screen, you'll
notice that the mode line identifies the mode(s) that Emacs is in. In
that case it was in a mode called ``Lisp Interaction'' which is the
default mode. It's really only useful if you're going to be writing
Lisp code. (But since most of Emacs is written in Lisp, why not?)
-->
<p>Emacs のスクリーンの ASCII による略図まで戻って注意して見れば、
モード行が Emacs のモードを識別することに気づくでしょう。
この場合は、デフォルトモードである ``Lisp Interaction'' と呼ばれる
モードになっています。
それは、 Lisp コードを書こうとしている場合にのみ本当に役立ちます
(Emacs のほとんどが Lisp で書かれているのだから、構わないですね)。

<!-- </sect1> -->

<!--O
<sect1>Programming Modes
-->
<sect1>プログラミングモード

<!--O
<p>First and foremost, Emacs was designed by a programmer for
programmers. There are high-quality modes available for almost every
popular programming language you can think of (and even some not so
popular ones). I only briefly describe a few of them here.
-->
<p>まず何よりも先に、
Emacs はプログラマによってプログラマのために設計されました。
思いつくほとんどすべての一般的なプログラミング言語 (そしていくつかの
それほど一般的でない言語) のために、高品質なモードが利用可能です。
私はそれらの一部をここで簡潔に説明するにとどめます。

<!--O
<p>Most programming modes share some common characteristics. Usually,
they'll do some or all of the following:
-->
<p>大部分のプログラミングモードは、かなりの一般的な特徴を共有します。
普通、それらは次のうちのいくつか、または全部です - 

<itemize>

<!--O
<item>Provide color-syntax highlighting for the language.
<item>Provide automatic indentation and code formatting for the
language.
<item>Provide context (language) sensitive help.
<item>Automatically interface with your debugger.
<item>Add language-specific menus to the menu bar.
-->
<item>そのプログラミング言語にふさわしい、色による構文強調表示を用意する。
<item>プログラミング言語特有の、自動のインデントとコードフォーマットを
      用意する。
<item>文脈 (プログラミング言語) 依存のヘルプを用意する。
<item>自動的にデバッガとのインタフェースを行う。
<item>特定のプログラミング言語に対応したメニューをメニューバーに追加する。

</itemize>

<!--O
<p>In addition, there are some non-language specific modes that help
out with tasks that are common to programming in many
languages. Things like interfacing to your version control software,
automatically adding comments to your code, creating Makefiles,
updating Change Logs and so on.
-->
<p>さらに、あるプログラミング言語に特化しない、多くのプログラミング言語に
共通する作業を援助するモードがあります。
バージョンコントロールソフトウェアとのインタフェースのように、
自動的にコードにコメントを追加すること、Makefile を作成すること、
変更履歴 (ChangeLog) を更新することなどです。

<!--O
<p>When you add all these modes together and consider the maturity and
stability of the Emacs code, it compares quite nicely to commerically
marketed Integrated Development Environments (IDEs) for languages like
C++ and Java. And, of course, it's free.
-->

<p>これらのすべてのモードの存在をもひとまとめにして Emacs コードの
完成と安定性を考えてみれば、販売されている商用の C++ や
Java のような言語のための統合開発環境 (IDE) といい勝負になることが
わかるでしょう。
で、もちろん、Emacs はフリーでもあります。

<sect2>C/C++/Java

<!--O
<p>Because the syntax of C, C++, and Java are quite similar, there is
one Emacs mode which handles all three languages (as well as
Objective-C and IDL). It's a very mature and complete package and it
included in the Emacs distribution. This mode is called either
<tt>cc-mode</tt> or <tt>CC Mode</tt>.
-->
<p>C と C++ と Java の構文はとても似ているので、
(Objective-C と IDL を一緒にするのと同様に、)
3 つのすべての言語を一緒に
取り扱う 1 つの Emacs モードがあります。
とても成熟して完成したパッケージで、Emacs の配布に含まれています。
このモードは <tt>cc-mode</tt> または <tt>CC Mode</tt> と呼ばれます。

<!--O
<p>For more details or to download a newer version, visit <htmlurl
url="http://www.python.org/emacs/"
name="http://www.python.org/emacs/">.
-->
<p>より詳しい説明あるいは新しいバージョンのダウンロードは
<htmlurl url="http://www.python.org/emacs/"
name="http://www.python.org/emacs/"> へどうぞ。

<!-- </sect2> -->

<sect2>Perl

<!--O
<p>There are actually two modes for editing Perl code in Emacs. The
first is called <tt>perl-mode</tt> (as you would expect) and the
second is <tt>cperl-mode</tt>. I don't have a good grasp of this
history and why there are two modes (the docs don't say), but it would
appear that <tt>perl-mode</tt> was the original mode for editing Perl
code in Emacs. It seems to have fewer features than
<tt>cperl-mode</tt> and is lacking the ability to recognize some of
Perl's fancier langugage constructs.
-->
<p>Emacs で Perl コードを編集するためには、2 つのモードがあります。
1 つ目は (期待している通り) <tt>perl-mode</tt> と呼ばれる
もので、2 つ目は <tt>cperl-mode</tt> です。
私はなぜ 2 つもモードがあるのか、理由も成り行きも知りませんが
(文書には書かれていない)、<tt>perl-mode</tt> のほうが
Emacs で Perl コードを編集するときのモードとしてはオリジナルだということ
がわかります。
<tt>cperl-mode</tt> よりも機能が少ないようで、
Perl の「突飛な」言語構成のなかには認識できないものもあります。

<!--O
<p>Personally, I use and recommend <tt>cperl-mode</tt> which seems to
be quite actively maintained and has just about every feature I could
ever want. You can find the latest release here: <htmlurl
url="ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs"
name="ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs">.
-->
<p>個人的には、私は、活発にメンテナンスされているように見えて、
私がこれまでに欲しいと思った機能すべてを持っていた
<tt>cperl-mode</tt> を使い、推奨します。
最新のリリースは、ここで見付けることができます - 
<htmlurl
url="ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs"
name="ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs">。

<!--O
<p>But don't take my word for it. Try them both and pick the one that
best meets your needs.
-->
<p>しかし、私の言葉をそのままに受け取らないでください。
両方を試して、最も必要にあったものを選んでください。

<!-- </sect2> -->

<sect2>Python

<!--O
<p>Python (another very popular scripting language) has an Emacs mode
available for it as well. As far as I can tell, it is <em>not</em>
distributed with GNU Emacs but it distributed with XEmacs. It works
quite well in both editors, though.
-->
<p>Python (とても人気があるもう 1 つのスクリプト言語) も、
利用可能な Emacs モードを持っています。
私が知る限りでは、それは GNU Emacs と一緒 <em>ではなく</em>、
XEmacs と一緒に配布されています。
もっとも、どちらのエディタでも大変うまく動作します。

<!--O
<p>You can get <tt>python-mode</tt> from the official Python web site
<htmlurl url="http://www.python.org/emacs/python-mode/"
name="http://www.python.org/emacs/python-mode/">.
-->
<tt>python-mode</tt> は公式 Python web サイト
<htmlurl url="http://www.python.org/emacs/python-mode/"
name="http://www.python.org/emacs/python-mode/">
から入手できます。

<!-- </sect2> -->

<!--O
<sect2>Others
-->
<sect2>その他

<!--O
<p>There are many many other editing modes available to help out
programmers. Such modes help out with things like:
-->
<p>プログラマの助けとなる、とてもとても多くの他の編集用モードが利用可能です。
そのようなお手伝いモードには次のようなものがあります - 

<itemize>

<!--O
<item>Shell Scripts (Bash, sh, ksh, csh, ...)
<item>Awk, Sed, Tcl, ...
<item>Makefiles
<item>Change Logs
<item>Documentation
<item>Debugging
-->

<item>シェルスクリプト (Bash, sh, ksh, csh, ...)
<item>Awk, Sed, Tcl, ...
<item>Makefile
<item>変更履歴
<item>文書
<item>デバッグ

</itemize>

<!--
<p>And much more. See the last section of this document for more
information on finding other modes and add-ins.
-->
<p>そしてもっとたくさんあります。
他のモードやアドインを見つけるためのさらなる情報は、この文書の
<ref id = "other_resources" name = "他の情報源"> の節を参照してください。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Authoring
-->
<sect1>オーサリング

<!--O
<p>Fancy Emacs modes are <em>not</em> limited to just those who write
code. Folks writing documentation (of any sorts) can also benefit from
a wide selection of Emacs modes.
-->
<p>凝った Emacs モードの数々は、コードを書く人々のためだけに
限られたものでは <em>ありません</em>。
(どんな種類であれ) 文書を書いている人々もまた、
Emacs モードの広い品揃えの恩恵を受けられます。

<!--O
<sect2>Spell-Checking (<tt>ispell</tt> mode)
-->
<sect2>スペルチェック (<tt>ispell</tt> モード)

<!--O
<p>Authors of many types of documents need to spell-check once in a
while. If you have <bf>GNU ispell</bf> installed, you can type <tt>M-x
ispell</tt> and spell-check the current buffer. If ispell finds words
that it doesn't know, it prompts you with a list of possible
replacements and lets you select one (or none) of them. It's
functionally equivelant to the spell-checkers in many popular non-free
software packages.
-->
<p>多くの種類の文書の著者は、時々スペルチェックをする必要があります。
<bf>GNU ispell</bf> をインストールしていれば、
<tt>M-x ispell</tt> と入力することで、現在のバッファのスペルチェックを
することができます。
もしも ispell が知らない語を見つけると、可能な置換えのリストを表示して
入力を促し、その中から 1 つ (または 0) を選ばせます。
それは機能的に、一般的な多くのフリーでないソフトウェアパッケージの
スペルチェッカと同等です。

<!-- </sect2> -->

<!--O
<sect2>HTML (<tt>html-helper</tt> mode)
-->
<sect2>HTML (<tt>html-helper</tt> モード)

<!--O
<p>If you find yourself writing HTML files once in a while (or even a
lot), you might want to try out <tt>html-helper-mode</tt>. It is
available from <htmlurl url="http://www.santafe.edu/~nelson/tools/"
name="http://www.santafe.edu/~nelson/tools/"> as is the documentation
and related stuff.
-->
<p>自分が
時々 (あるいは良く) HTML ファイルを書いていることに気付いたならば、
<tt>html-helper-mode</tt> を試してみたくなるでしょう。
それは <htmlurl url="http://www.santafe.edu/~nelson/tools/"
name="http://www.santafe.edu/~nelson/tools/"> から、
文書の関連物として入手可能です。

<!--O
<p>As its name suggests, <tt>html-helper-mode</tt> provides lots of
things to help out those folks who still write HTML by hand-\-the old
fashioned way.
-->
<p>その名前が示す通り、<tt>html-helper-mode</tt> は、
まだ HTML を手作業 -- 昔ながらの方法 -- で書いている多くの人々を
手助けする道具を用意しています。

<!-- </sect2> -->

<sect2>TeX (<tt>tex-mode</tt>)

<!--O
<p>When you're writing documents in TeX, it's often helpful to get
Emacs to add some color and highlight the backslashes, braces and
other charcters. <tt>tex-mode</tt> takes care of that for you.
-->
<p>TeX で文書を書くときは、Emacs がバックスラッシュや括弧などの
文字に色を付けたり強調してくれると便利なことがよくあります。
<tt>tex-mode</tt> はそれをやってくれます。

<!--O
<p>Though I don't write much directly in TeX anymore, when I did this
mode proved to be quite helpful in making my TeX source a bit more
readable.
-->
<p>私はもはや TeX で直接書くようなことはしませんが、
書いていたころは、
TeX ソースをちょいと読みやすくするのにこのモードが役立ってくれました。

<!-- </sect2> -->

<sect2>SGML (<tt>sgml-mode</tt>)

<!--O
<p>The document you're now reading was written in SGML (and probably
converted to the format you're reading it in). <tt>sgml-mode</tt>
provides all the basics for SGML documents: validation, highlighting,
forward-tag, backward-tag, and much more. It is a standard part of
Emacs.
-->
<p>今読んでいる文書は SGML で書かれています (そしておそらく、現在読んでいる
形式に変換されている)。
<tt>sgml-mode</tt> は SGML 文書のために、すべての基本的なものを
用意しています - 効果、強調、前方参照タグ、後方参照タグ、その他多くです。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Other Modes
-->
<sect1>他のモード

<!--O
<p>Of course, there are lots of other handy modes to make life
easier. Here's just a sampling of the popular ones:
-->
<p>もちろん、生活を楽にしてくれる多くの手ごろなモードがあります。
ここでは、人気があるものをいくつか紹介します - 

<!--O
<sect2>Version Control (<tt>vc</tt> mode)
-->
<sect2>バージョン管理 (<tt>vc</tt> モード)

<!--O
<p><tt>vc</tt> mode interfaces with most of the popular version
control back-ends (RCS, SCCS, CVS) to make it very easy to check files
in and out, manage releases and so on. It is a standard part of Emacs
and is documented in the Emacs documentation.
-->
<p><tt>vc</tt> モードは、ファイルのチェックインやチェックアウト、
リリースの管理などをとても簡単にしてくれる、大変人気のある
バージョン管理のバックエンド (RCS, SCCS, CVS) のインタフェースです。
それは Emacs の標準部分で、Emacs の文書中に説明があります。

<!-- </sect2> -->

<!--O
<sect2>Shell Mode
-->
<sect2>シェルモード

<!--O
<p>Why switch to another X window or virtual console just to run a few
shell commands? Do it from within Emacs and save yourself the
trouble. <tt>:-)</tt>
-->
<p>なぜ、わずかなシェルコマンドを実行するために、他の X のウィンドウや
仮想コンソールに切り替えるのですか?
Emacs 内で行うようにして、面倒ごとから解放されてください。

<!--O
<p><tt>M-x shell</tt> will launch a shell within an Emacs buffer. You
can do most things with this buffer that you could do with a normal
shell prompt (except for running full screen programs like <tt>vi</tt>
or <tt>pine</tt>) because Emacs is talking to your real shell behind
the scenes.
-->
<p><tt>M-x shell</tt> で、Emacs バッファ内にシェルが立ち上がります。
Emacs は舞台裏で本当のシェルと対話しているので、
普通のシェルプロンプトでできることは
(<tt>vi</tt> や <tt>pine</tt> のようなフルスクリーンのプログラムの
実行を除いて)、たいていこのバッファで行うことができます。

<!--O
<p>This is a standard part of Emacs, too, so you'll find it documented
in the Emacs docs.
-->
<p>これは Emacs の標準部分なので、Emacs のドキュメント中に
情報を見つけられるでしょう。

<!-- </sect2> -->

<sect2>Telnet and FTP

<!--O
<p>Why switch to another X window or virtual console just to run telnet
or FTP?  Do it from within Emacs and save yourself the
trouble. (Notice the pattern yet?)
-->
<p>なぜ、telnet や FTP を実行するために、他の X のウィンドウや
仮想コンソールに切り替えるのですか?
それを Emacs 内で行うようにして、面倒ごとから解放されてください。
(もう、パターンに気付きましたか?)

<!--O
<p>Just like running a shell inside of Emacs, you can telnet and
ftp. Try <tt>M-x telnet</tt> or <tt>M-x ftp</tt> to experience it for
yourself. See the documentation for all the gory details.
-->
<p>Emacs の内部でシェルを実行するのと同じように、telnet と ftp を実行
することができます。
自分自身でそれを経験するために、<tt>M-x telnet</tt>
または <tt>M-x ftp</tt> を試してください。
詳細についてうんざりするまで知りたければ、文書を見てください。

<!-- </sect2> -->

<sect2>Man

<!--O
<p>Why switch to another X window or virtual console just to read a
manual page?  Do it from within Emacs and save yourself the
trouble. (I promise. I'll stop.)
-->
<p>なぜ、マニュアルページを読むために、他の X のウィンドウや
仮想コンソールに切り替えるのですか?
それを Emacs 内で行うようにして、面倒ごとから解放されてください。
(約束です。もうやめます。)

<!--O
<p>Just like running a shell inside of Emacs, you can read manual
pages. Try <tt>M-x man</tt> to experience it for yourself. See the
documentation for more.
-->
<p>Emacs 内でシェルを実行するのと同じように、マニュアルページを
読むことができます。
自分自身でそれを経験するために、<tt>M-x man</tt> を試してください。
それ以上は、文書を見てください。

<!-- </sect2> -->

<sect2>Ange-FTP

<!--O
<p>To quote the <tt>ange-ftp</tt> documentation:
-->
<p><tt>ange-ftp</tt> から引用すると - 

<quote>
This package attempts to make accessing files and directories using
FTP from within GNU Emacs as simple and transparent as possible.  A
subset of the common file-handling routines are extended to interact
with FTP.
</quote>
<quote>
(日本語訳)
このパッケージは、GNU Emacs による FTP を使ったファイルと
ディレクトリへのアクセスを可能な限り簡単で透過的にするように
試みています。
一般的なファイル操作ルーチンのサブセットは、FTP と互いに影響し合います。
</quote>

<!--O
<p>That means you can treat files on remote machines as if there were
local. So if you need to edit a file on a different computer, just
tell Emacs to open it (using a slightly different path syntax) and it
takes care of all the details of logging in and retrieving the
file. Then, when you save the file via <tt>C-x C-s</tt>,
<tt>ange-ftp</tt> intercepts the save and writes the file back to the
remote machine.
-->
<p>これは、離れたマシン上のファイルを、ローカルにあるかのように
扱うことができることを意味します。
異なるコンピュータ上のファイルを編集する必要があるなら、
(少し違ったパス構文を使って) それを開けと Emacs に命ずるだけです。
ログインやファイル取得の細かいことは Emacs がやってくれます。
<tt>C-x C-s</tt> でファイルを保存する時は、<tt>ange-ftp</tt>
は保存を途中で捕えて、離れたマシンにファイルを書き戻します。

<!--O
<p>The slightly different path syntax goes like this... A file named
``myfile'', in a ``user'''s directory, on a machine named
``my.host.org'' can be opened by opening (<tt>C-x f</tt>) the file:
-->
<p>少し違ったパス構文は、このような感じです。
ファイル名は ``myfile'' で ``user'' のディレクトリ、マシン名は
``my.host.org'' であれば、ファイルは次のように開く (<tt>C-x f</tt>) 
ことができます - 

<quote><tt>/user@my.host.org:~user/myfile</tt></quote>

<!--O
<p>This, also, is a standard part of the Emacs distribution so you can
find it documented in the Emacs documentation.
-->
<p>これもまた、Emacs 配布の標準部分なので、
Emacs 文書中に説明を見つけることができます。

<!--O
<p>Thanks to Etienne Grossmann (<htmlurl name =
"etienne@anonimo.isr.ist.utl.pt" url =
"mailto:etienne@anonimo.isr.ist.utl.pt">) for the example above.
-->
<p>上の例を提供してくれた Etienne Grossmann (<htmlurl name =
"etienne@anonimo.isr.ist.utl.pt" url =
"mailto:etienne@anonimo.isr.ist.utl.pt">) に感謝します。

<!-- </sect2> -->

<!-- </sect1> -->

<!-- </sect> -->

<!-- ********************************************* -->

<!--O
<sect>Customizing Emacs <label id="customizing_emacs">
-->
<sect>Emacs のカスタマイズ <label id="customizing_emacs">

<!--O
<p>Virtually all Emacs customization is done via Lisp code. You can
modify variables which influence the way Emacs operates or you can add
new functions to Emacs (or override existing functions-\-replacing them
with your own.
-->
<p>仮想的に、すべての Emacs のカスタマイズは Lisp コードによって
行われます。Emacs の動作に影響する変数を変更すること、または Emacs
に新しい関数を追加することができます (または存在する関数を上書き
-- それを置き換えることが -- できます)。

<!--O
<sect1>Temporary Customization
-->
<sect1>一時的なカスタマイズ

<!--O
<p>While experimenting with Emacs customization, you'll probably want
to do it in a way that is temporary. If you do something horribly
wrong, you can just <tt>C-x C-c</tt> to exit emacs and run it
again. Once you've figured out what changes you'd like to make
permenant, you can add them to your very own <tt>.emacs</tt> file so
that they take effect every time you start Emacs. This is discussed in
the next section.
-->
<p>Emacs のカスタマイズの実験をするときは、その場限りの方法で
やりたいでしょう。もしも何かものすごく具合いが悪くなった場合は、
<tt>C-x C-c</tt> で Emacs を終了して、再び Emacs を実行することが
できます。常に反映させたい変更がわかったら、Emacs
を起動するごとに影響を与える、自分自身の <tt>.emacs</tt> ファイルに
それを追加できます。これは次の節で説明します。

<!--O
<sect2>Variable Assignments
-->
<sect2>変数代入

<!--O
<p>The easiest customizations are accomplished by changing the value
of a variable in Emacs. The list code to do this looks like this:
-->
<p>最も簡単なカスタマイズは、Emacs 中で変数の値を変更することによって
成し遂げられます。
このリストコードは次のようになります - 

<!--O
<verb>
(setq variable-name new-value)
</verb>
-->

<verb>
(setq 変数名 新しい値)
</verb>

<!--O
<p>Where <tt>variable-name</tt> is the name of the variable and
<tt>new-value</tt> is the value you'd like to give the variable. (In
Lisp-speak, you're binding a variable to a value.) The <tt>setq</tt>
function in lisp is analagous to the assignment operators (ususally
<tt>=</tt>) in other programming languages.
-->
<tt>変数名</tt> は変数の名前で、<tt>新しい値</tt> は変数に与えたい値です
(Lisp の言い方では、値に変数を束縛します)。

<!--O
<p><bf>NOTE:</bf> I'm glossing over many details here for the sake of
simplicity. You may also see me or others use the Lisp functions
<tt>set</tt> and even <tt>setq-default</tt>. If you're really curious,
feel free to look them up in an Emacs Lisp reference.
-->
<p><bf>注釈:</bf> 私は簡単のために、ここで多くの部分を
もっともらしく説明しています。
Lisp 関数である <tt>set</tt> そして <tt>setq-default</tt>さえも使う、
私や他の人々を見るかもしれません。
もしも本当に知りたかったら、どんどん Emacs Lisp リファレンスで
それらを調べてください。

<!--O
<p>Let's look at a line from my <tt>.emacs</tt> file
-->
<p>私の <tt>.emacs</tt> ファイルから 1 行を見てみましょう。

<verb>
(setq-default transient-mark-mode t)
</verb>

<!--O
<p>The variable <tt>transient-mark-mode</tt> controls whether or not a
region becomes highlighted when I mark it. In many GUI applications,
if you click and drag the mouse to select a range of text it becomes
hilighted in reverse video or some other color. Emacs will do the same
thing it the <tt>transient-mark-mode</tt> varible is set (to a non-nil
value).
-->
<p>
変数 <tt>transient-mark-mode</tt> は、マークしたときに
領域を強調表示するかしないかを管理します。
多くの GUI アプリケーションでは、テキストの範囲を選択するために
マウスのクリックやドラッグをした場合、反転または何か他の色で強調表示します。
Emacs は変数 <tt>transient-mark-mode</tt> を (nil でない値に)
設定することで、同じことをするようになります。

<!--O
<p>A <em>WHAT</em> value?
-->
<p><em>どんな</em>値?

<!--O
<p>Okay. Brief digression. Most programming languages have some notion
of true/false values. In C/C++ a value is considered true if it is a
non-zero value. In Perl, a non-null or non-zero value is true. In
Lisp, the same idea applies but the names and symbols are different.
-->
<p>さて、ここで余談を要約しましょう。
多くのプログラミング言語は、真偽値の概念を持っています。
C/C++ では、値が非零であれば真とみなします。
Perl では、非 null または非零の値が真です。
Lisp では、同じ考えを使用しますが、名前とシンボルは異なります。

<!--O
<p>True is usually written as <tt>t</tt> and false (or null) is
written as <tt>nil</tt>. Like in other languages, though, any non-nill
value is considered true.
-->
<p>普通、真は <tt>t</tt> と、偽 (または null) は <tt>nil</tt>
と記述します。
他の言語のように、やはり、あらゆる非 nil 値は真とみなされます。

<!--O
<p>To get the full description of what <tt>transient-mark-mode</tt>
does, you can use the on-line help. Type <tt>C-h v</tt> or <tt>M-x
describe-variable</tt> and then <tt>transient-mark-mode</tt>. If
you're lazy like me, you can take advantage of variable name
completion using the <tt>Tab</tt> key. Just type part of the variable
name and hit the <tt>Tab</tt> key. If you've typed enough of it that
Emacs can already uniquely identify it, you'll see the whole name
completed for you.
-->
<p><tt>transient-mark-mode</tt> が何をするかの完全な説明を得るには、
オンラインヘルプを使うことができます。
<tt>C-h v</tt> または <tt>M-x describe-variable</tt> を入力して、
それから <tt>transient-mark-mode</tt> を入力してください。
もしも私のように怠け者であれば、<tt>Tab</tt> キーを使って変数名を
補完することができます。
変数名の一部を入力して、<tt>Tab</tt> キーを押してください。
一意に Emacs がそれを識別するのに十分な入力をしていれば、
補完された全体の名前がそこに現れます。

<!--O
<p>Another variable that folks often set is <tt>fill-column</tt>. It
tells Emacs how wide the screen should be for the purposes of
word-wrapping (and <tt>auto-fill-mode</tt> respects this value). To
set the value to something absurd, you could type:
-->
<p>人々がしばしば設定する変数には、他に <tt>fill-column</tt> があります。
これはワードラップのためのスクリーンの幅を Emacs に知らせます。
(そして <tt>auto-fill-mode</tt> がこの値を考慮します)。
何か不合理な値を設定するには、次のように入力します - 

<verb>
(setq fill-column 20)
</verb>

<!--O
<p>But that won't actaully do anything. You need to tell Emacs to
<bf>evaluate</bf> the expression you typed. To do so, put the point
(cursor) at the end of the expression end then type <tt>C-x C-e</tt>,
which calls the function <tt>eval-last-sexp</tt> in case you
care. When you do that, noice that <tt>20</tt> (or whatever value you
used) is echoed back to you in the mini-buffer at the bottom of the
screen. That's just the return value from the expression you
evaluated.
-->
<p>しかし、それだけでは実際には何もしません。
入力した式を <bf>評価する</bf> ように Emacs に知らせる必要があります。
実際に評価するためには、ポイント (カーソル) を式の最後に置いて、
それから <tt>C-x C-e</tt> を入力します。
今の場合は、この入力が関数 <tt>eval-last-sexp</tt> を呼びます。
それを実行した時、<tt>20</tt> (または何か使用した値) がスクリーン
下部のミニバッファにエコーバックされることに気づくでしょう。
それが評価した式からの返り値です。

<!--
<p>Just to prove that it works, type a sentence or two. If you happen
to have <tt>auto-fill-mode</tt> enabled (you probably don't), you'll
notice the text wrapping at the 20 column mark. Otherwise, after
you've typed some stuff, type <tt>M-q</tt> which calls the function
<tt>fill-paragraph</tt>. It will then perform the word wrapping.
-->
<p>動作を確認するために、文を一つ二つ入力してみてください。
もしも偶然 <tt>auto-fill-mode</tt> を有効にしていたならば
(多分していないでしょうが)、テキストが 20 カラムまでで折返されるのに
気づくでしょう。
そうでなければ、いくつかの入力をした後、関数 <tt>fill-paragraph</tt>
を呼び出す <tt>M-q</tt> を入力してください。
実際にワードラップが実行されるでしょう。

<!-- </sect2> -->

<!--O
<sect2>File Associations
-->
<sect2>ファイル関連

<!--O
<p>You can configure Emacs to automatically do something when you open
a file of a particular type (just like some GUIs will automatically
launch a specific application if you click on the icon for a
particular file). For example, I may want Emacs to automatically
switch to <tt>text-mode</tt> every time I open a file with a
<tt>.txt</tt> extension. Well, that already happens. <tt>:-)</tt> So
let's tell Emacs to always enter <tt>text-mode</tt> when you open a
file named ``README''.
-->
<p>特別な型のファイルを開いた時に自動的に何かをするように、
Emacs を設定できます (特別なファイルのアイコンをクリックした場合に、
GUI が自動的に特定のアプリケーションを起動するのと同じように)。
例えば、私は <tt>.txt</tt> 拡張子のファイルを開いたときにはいつも、
自動的に <tt>text-mode</tt> に Emacs が切り替わって欲しいです。
おや、それはすでにできていますね。<tt>:-)</tt>
それでは、``README'' という名前のファイルを開いたときに、
いつも <tt>text-mode</tt> に入るように Emacs に命令しましょう。

<verb>
(setq auto-mode-alist (cons '("README" . text-mode) auto-mode-alist))
</verb>

<!--O
<p>Huh?
-->
<p>何だって?

<!--O
<p>Without diving into lots of Lisp programming that you really don't
need to know (but it wouldn't hurt you to learn), let just say that
the variable <tt>auto-mode-alist</tt> contains a list of pairs. Each
pair contains a regular expression and an Emacs mode name. If a file
you open matches the regular expression (in this case, the string
<tt>README</tt>) Emacs starts the mode you specified.
-->
<p>本当に知る必要はない Lisp プログラミングの山に突っ込むことはしませんが
(しかし学ぶことに不都合はないでしょう)、
変数 <tt>auto-mode-alist</tt> がペアのリストを含むことを言わせてください。
各々のペアは正規表現と Emacs のモード名を含んでいます。
開いたファイルが正規表現 (この場合は、文字列 <tt>README</tt>)
にマッチした場合、Emacs は指定したモードを開始します。

<!--O
<p>The funny syntax above is because we're actaully adding another
pair to that mode list. You wouldn't want to just assign to
<tt>auto-mode-alist</tt> without making sure the values that it
already contains aren't lost.
-->
<p>上の変な構文は、私たちがペアを実際にもう一個モードリストに
加えようとしているためです。
すでに入っている値は消えない、ということを確認せずに
<tt>auto-mode-alist</tt> を設定したくはないでしょう。

<!--O
<p>And if I wanted Emacs to automatically switch to
<tt>html-helper-mode</tt> every time that I opened a file that ended
with <tt>.html</tt> or <tt>.htm</tt>, I would add this to my .emacs
file:
-->
<p>また、<tt>.html</tt> または <tt>.htm</tt>
で終るファイルを開いたときにいつも Emacs を <tt>html-helper-mode</tt>
に自動的に切り替えたいならば、
自分の .emacs ファイルにこのように追加します - 

<verb>
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.htm$" . html-helper-mode) auto-mode-alist))
</verb>

<!--O
<p>The possibilities are truly endless.
-->
<p>可能性には本当に終りがありません。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Using a <tt>.emacs</tt> File
-->
<sect1><tt>.emacs</tt> ファイルの使用

<!--O
<p>After you've spent some time with Emacs and have a basic idea of
what customization can do for you, you'll probably want to customize a
few things permanently (or at least until you change your mind). If
you find yourself using Emacs on a daily basis, you'll also notice
that your <tt>.emacs</tt> file get bigger as time goes on. That's a
<em>Good Thing</em> because it means you've figured out how to make
Emacs work the way <bf>you</bf> want it do work. It's a shame that
more software products don't let you do that.
-->
<p>Emacs である程度の時間を過ごし、カスタマイズについての基本的な
考えを持った後には、多分 2, 3 のものを永久に(または少なくとも
考えを変えるまえで) カスタマイズしたままにしたくなるでしょう。
もしも日々の基本的なことに Emacs を使っていると気づいたならば、
時間とともに <tt>.emacs</tt> ファイルが大きくなっていくことにも
気づくでしょう。
それは、こう動いて欲しいという思い通りに Emacs
を動かす方法を<bf>あなたが</bf>理解したということなので
<em>良いこと</em> です。
多くのソフトウェア製品がそうさせてくれないのは残念なことです。

<!--O
<p>In case you haven't already guessed, every time you start Emacs, it
looks for a file named <tt>.emacs</tt> in your home directory. Your
<tt>.emacs</tt> file is where you should put any Lisp code that you
want run automatiaclly and that includes the sort of customization
we've been dealing with here.
-->
<p>まだ見当をつけていない場合のために説明すると、
Emacs は、起動する時はいつも、ホームディレクトリの
<tt>.emacs</tt> という名前のファイルを探します。
<tt>.emacs</tt> ファイルは、自動的に実行させたい、私たちがここで
扱っているカスタマイズを含む Lisp コードを載せるべき場所です。

<!--O
<p>Another example from my <tt>.emacs</tt> file:
-->
<p>私の <tt>.emacs</tt> ファイルから他の例 - 

<verb>
(setq inhibit-startup-message t)
</verb>

<!--O
<p>The <tt>inhibit-startup-message</tt> variable controls whether or
not Emacs displays that welcome message when it starts. After a while,
I got sick of looking at it (because I knew how to find the help and
whatnot), so I went in search of a way to turn it off.
-->
<p>変数 <tt>inhibit-startup-message</tt> は、Emacs が始まるときに
ウェルカムメッセージを表示するかどうかを管理します。
しばらくして、私はそれを見るのに飽きたので
(私はヘルプやいろいろなものを見つけ出す方法を知っていたので)、
私はそれをオフにする方法を探すようになりました。

<!--O
<p>As an exercise, try creating a <tt>.emacs</tt> file of your own and
add that line to it. Then exit and start Emacs again. You should not
see the welcome message.
-->
<p>練習として、自分自身の <tt>.emacs</tt> ファイルを作ることに挑戦して、
その行を追加しましょう。
それから Emacs を終了させて、もう一度起動しましょう。
もう、ウェルカムメッセージを見ることはないでしょう。

<!--O
<p>Often times when your read about an Emacs mode (or a package), the
documentation will suggest some code to add to your <tt>.emacs</tt>
file in order to make the mode or package work in a particular way.
-->
<p>しばしば Emacs のモード (またはパッケージ) について読んでいるとき、
その文書は特殊な方法でモードまたはパッケージを働かせようとして、
<tt>.emacs</tt> ファイルにいくつかのコードを追加することを
勧めてくるでしょう。

<!--O
<p>The GNU Emacs FAQ (<tt>C-h F</tt>) contains some items related to
<tt>.emacs</tt> files that you might find useful.
-->
<p>The GNU Emacs FAQ (<tt>C-h F</tt>) は、<tt>.emacs</tt>
ファイルに関連するいくつかの役立つ項目を含んでいます。

<!-- </sect1> -->

<!--O
<sect1>The Customize Package
-->
<sect1>パッケージのカスタマイズ

<!--O
<p>As Emacs has grown in popularity and continuted to evolved, someone
eventaully said ``there has to be a better way to let novice users
customize their Emacs.'' And <tt>customize</tt> was born.
-->
<p>Emacs の人気が伸びて発展していくうちに、誰かが
``見習いユーザに Emacs をカスタマイズさせる、もっと良い方法が必要だよ''
と言いました。
そして <tt>customize</tt>が生まれました。

<!--O
<p>Customize provides a more intuitive method of customizing parts of
Emacs. To try it out, either visit the <tt>Customize</tt> sub-menu in
your <tt>Help</tt> menu, or type <tt>M-x customize</tt>.
-->
<p>Customoize は Emacs のカスタマイズ部分のより直感的な方法を
用意しています。
それを試すには、<tt>Help</tt> メニューの <tt>Customize</tt>
サブメニューを選ぶか、<tt>M-x customize</tt> を入力するかしてください。

<!--O
<p>Customize groups customization into logical groups like
``Editing'', ``Programming'', ``Files'', and so on. Some groups
contain sub-groups.
-->
<p>Customize グループは、``Editing'', ``Programming'', ``Files'' など
のような論理グループを含みます。
グループのいくつかは、さらにサブグループを含みます。

<!--O
<p>If you make changes using the customize interface, Emacs will save
the changes to your <tt>.emacs</tt> file. That's rather handy, because
you can easily inspect (and change) the changes it made for you.
-->
<p>Customize インタフェースを使って変更を行った場合、Emacs は変更を
<tt>.emacs</tt> ファイルに保存します。
変更を簡単に詳しく調べることが (そして変更することが) できるので、
Customize はいくぶん扱いやすいと言えます。

<!--O
<p><em>I don't use the Customize interface, so I can't say much more
about it.</em>.
-->
<p><em>私は Customize インタフェースを使わないので</em>、
それについてはこれ以上言えません。

<!-- </sect1> -->

<!--O
<sect1>X Windows Display
-->
<sect1>X のウィンドウ表示

<!--O
<p>Like any well behaved X application, Emacs respects your X
resources. That means you can control the initial colors, geometry,
and other X specfic things just as you could with an <tt>xterm</tt>,
<tt>nxterm</tt>, or whatever.
-->
<p>お行儀の良い X アプリケーションと同様に、
Emacs は X リソースを尊重します。
それは、<tt>xterm</tt>、<tt>nxterm</tt> などができるような、初期色、
ジオメトリ、その他の X 特有の属性を管理できることを意味します。

<!--O
<p>Here's the relevant bit of my <tt>~/.Xdefaults</tt> file:
-->
<p>これは、私の <tt>~/.Xdefaults</tt> ファイルの関連する部分です - 

<verb>
emacs*Background: DarkSlateGray
emacs*Foreground: Wheat
emacs*pointerColor: Orchid
emacs*cursorColor: Orchid
emacs*bitmapIcon: on
emacs*font: fixed
emacs.geometry: 80x25
</verb>

<!--O
<p>See your <tt>X</tt> manual page for more details about X resources.
-->
<p>X リソースについての詳細は、<tt>X</tt> のマニュアルページを見てください。

<!--
<p>Chris Gray (<htmlurl name="cgray4@po-box.mcgill.ca" url="mailto:cgray4@po-box.mcgill.ca">) also notes:
-->
<p>Chris Gray (cgray4@po-box.mcgill.ca) もまた言及しています -

<!--
<quote>In Debian, the <tt>~/.Xdefaults</tt> doesn't seem to be used.
However, Debian people can put what you have given in
<tt>/etc/X11/Xresources/emacs</tt> and they can have the pretty colors
that they had when they were using RedHat.</quote>
-->
<quote>Debian では、<tt>~/.Xdefaults</tt> は使われていないようです。
しかしながら、Debian の人々は、与えられたものを
<tt>/etc/X11/Xresources/emacs</tt> に置くことができ、
そして彼らは RedHat を使っていた時のきれいな色を利用できます。
</quote>

<!-- </sect> -->

<!-- ********************************************* -->

<!--
<sect>Popular Packages <label id="popular_packages">
-->
<sect>人気のあるパッケージ <label id="popular_packages">

<!--O
<p>In addition to the many different modes available for Emacs, there
are also many add-on <bf>packages</bf>. I call them packages because
they're more than just new modes. They often include extra utilities
or are so large that calling them modes just doesn't seem to do them
justice. In still other cases, they are software which extends or
integrates other Emacs modes and packages. The distinction isn't
entirely clear, but that's okay.
-->
<p>Emacs で利用可能な多くの異なるモードに加えて、多くのアドオン
<bf>パッケージ</bf>もまた存在します。
それらは新しいモード以上のものなので、私はパッケージと呼んでいます。
それらはしばしば、特別なユーティリティを含んでいるか、
モードと呼ぶのが妥当でないほど大きなものです。
さらに他の場合は、それらは他の Emacs のモードやパッケージを
拡張したり統合したりするソフトウェアです。
区別づけは全く明確ではありませんが、それでいいのです。

<!--O
<sect1>VM (Mail)
-->
<sect1>VM (メール)

<!--O
<p>To quote the VM FAQ:
-->
<p>VM FAQ から引用 - 

<quote>
VM (View Mail) is an Emacs subsystem that allows mail to be read and
disposed of within Emacs. Commands exist to do the normal things
expected of a mail user agent, such as generating replies, saving
messages to folders, deleting messages and so on. There are other more
advanced commands that do tasks like bursting and creating digests,
message forwarding, and organizing message presentation according to
various criteria.
</quote>
<quote>
(日本語訳)
VM (View Mail) は、Emacs 内でメールを読んだり処理したりすることを許す
Emacs のサブシステムです。
返信を生成する、フォルダにメッセージを保存する、メッセージを削除する
などの、メールユーザエージェントとして期待された普通のことを行うための
コマンドが存在します。
ダイジェストの破壊や生成をする、メッセージを転送する、
いろいろな基準に従ってメッセージ表示を整理する、
といったような仕事をする他の先進的なコマンドもあります。
</quote>

<!--O
<p>When I first began using Emacs, I tried VM out for a while. I found
it to be a great replacement for Pine, Elm, or most any other mail
program. But I didn't want to use separate programs to read mail and
news. VM is actively developed and well supported today.
-->
<p>私が初めて Emacs を使い始めたとき、私はしばらくの間 VM を試しに
使ってみました。
私はそれが、Pine、Elm、その他多くのメールプログラムのすぐれた代用
になることに気づきました。
しかし、私はメールとニュースを読むために別々のプログラムを使いたく
ありませんでした。
VM は現在、活発に開発され、良くサポートされています。

<!--O
<p>It is available here: <htmlurl url="http://www.wonderworks.com/vm/"
name="http://www.wonderworks.com/vm/">.
-->
<p>ここから入手可能です -
<htmlurl url="http://www.wonderworks.com/vm/"
name="http://www.wonderworks.com/vm/">。

<!-- </sect1> -->

<!--O
<sect1>Gnus (Mail and News)
-->
<sect1>Gnus (メールとニュース)

<!--O
<p>To quote the GNUS Manual:
-->
<p>GNUS マニュアルから引用 - 

<quote>
Gnus is a message-reading laboratory. It will let you look at just
about anything as if it were a newsgroup. You can read mail with it,
you can browse directories with it, you can ftp with it---you can even
read news with it!
</quote>
<quote>
(日本語訳)
Gnus はメッセージ読み取り実験室です。
Gnus はそれがニュースグループであるかのように、何でも見せてくれます。
メールを読むこと、ディレクトリを閲覧すること、ftp することができます
--- ニュースさえも読むことができます!
</quote>

<quote>
Gnus tries to empower people who read news the same way Emacs empowers
people who edit text. Gnus sets no limits to what the user should be
allowed to do. Users are encouraged to extend Gnus to make it behave
like they want it to behave. A program should not control people;
people should be empowered to do what they want by using (or abusing)
the program.
</quote>
<quote>
(日本語訳)
Gnus は、Emacs がテキストを編集している人々に権限を与えるのと同じ方法で
ニュースを読む人々に権限を与えようとします。
Gnus は、ユーザが許されたことに制限を設けません。
ユーザは、振舞って欲しいように振舞わせるように Gnus を拡張することを
勧められています。
プログラムが人々を管理してはなりません -
人々は、プログラムを使うこと (または酷使すること) によって
したいことをするために、権限を与えられるべきです。
</quote>

<!--O
<p>GNUS is what I currently use for mail and news (as hinted
above). GNUS is also actively developed and well supported today.
-->
<p>GNUS は私が現在メールとニュースのために使っているものです
(上で暗示していたように)。
GNUS もまた、現在、活発に開発され、良くサポートされています。

<!--O
<p>It is available here: <htmlurl url="http://www.gnus.org/"
name="http://www.gnus.org/">.
-->
<p>それはここから入手可能です - <htmlurl url="http://www.gnus.org/"
name="http://www.gnus.org/">。

<!-- </sect1> -->

<sect1>BBDB (A rollodex)

<!--O
<p>BBDB is an Insidious Big Brother Database, a rollodex-like program
for Emacs that works with most of the popular Emacs Mail packages (VM
and GNUS included).
-->
<p>BBDB は `Insidious Big Brother Database'
(影のビッグ・ブラザー・データベース) の略で、
多くの人気のある Emacs メールパッケージ (VM や GNUS を含む) と一緒に
動作する、住所録風の Emacs 用プログラムです。

<!--O
<p>It is available here: <htmlurl
url="http://pweb.netcom.com/~simmonmt/bbdb/index.html"
name="http://pweb.netcom.com/~simmonmt/bbdb/index.html">.
-->
<p>ここから入手可能です - <htmlurl
url="http://pweb.netcom.com/~simmonmt/bbdb/index.html"
name="http://pweb.netcom.com/~simmonmt/bbdb/index.html">。

<!-- </sect1> -->

<!--O
<sect1>AucTeX (another TeX mode)
-->
<sect1>AucTeX (もう 1 つの TeX モード)

<!--O
<p>AucTeX is another mode for editing TeX files.
-->
<p>AucTeX は TeX ファイルを編集するための、もう 1 つのモードです。

<!--O
<p>To quote the AucTeX web site:
-->
<p>AucTeX web サイトから引用 - 

<quote>
AUC TeX is an extensible package that supports writing and formatting
TeX files for most variants of GNU Emacs. Many different macro
packages are supported, including AMS TeX, LaTeX, and TeXinfo.
</quote>
<quote>
(日本語訳)
AUC TeX は、GNU Emacs の多くの変種のための、TeX ファイルを書くことと
整形することを支援する、拡張性のあるパッケージです。
AMS TeX, LaTeX, TeXinfo を含む、多くの異なるマクロパッケージが
サポートされています。
</quote>

<!--O
<p>It is available here: <htmlurl url="http://sunsite.auc.dk/auctex/"
name="http://sunsite.auc.dk/auctex/">.
-->
<p>ここから入手可能です - <htmlurl url="http://sunsite.auc.dk/auctex/"
name="http://sunsite.auc.dk/auctex/">。

<!-- </sect1> -->

<!-- </sect> -->

<!-- ********************************************* -->

<!--O
<sect>Other Resources <label id="other_resources">
-->
<sect>他の情報源 <label id="other_resources">

<!--O
<p>This section covers books, web sites, newsgroups, mailing lists,
and other places you can find more information about Emacs.
-->
<p>この節は、書籍、web サイト、ニュースグループ、メーリングリスト、
その他 Emacs についての情報を見つけられる場所を取り扱っています。

<!--O
<sect1>Books
-->
<sect1>書籍

<!--O
<p>There are a a few really good books available for learning
Emacs. In addition to these, you'll find that many Linux and Unix
books also contain a chapter or two about Emacs (and <tt>vi</tt>).
-->
<p>Emacs を学ぶのに使える良い書籍が数冊あります。
加えて、Emacs (と <tt>vi</tt>) についても 1 章か 2 章触れている
Linux や Unix の書籍もいっぱいあります。

<sect2>Learning GNU Emacs

<!--O
<p>Authors: Debra Cameron, Bill Rosenblatt, Eric S. Raymond
-->
<p>著者: Debra Cameron, Bill Rosenblatt, Eric S. Raymond 

<!--O
<p>Publisher: O'Reilly &amp; Associates - <htmlurl
url="http://www.ora.com/" name="http://www.ora.com/">
-->
<p>出版社: O'Reilly &amp; Associates - <htmlurl
url="http://www.ora.com/" name="http://www.ora.com/">

<!--O
<p>You can buy it at a discount from Amazon.com via their Associates
program: <htmlurl
url="http://www.amazon.com/exec/obidos/ASIN/1565921526/jeremydzawodny"
name="http://www.amazon.com/exec/obidos/ASIN/1565921526/">
-->
<p>Amazon.com から Associates program によって
割引して購入できます - <htmlurl
url="http://www.amazon.com/exec/obidos/ASIN/1565921526/jeremydzawodny"
name="http://www.amazon.com/exec/obidos/ASIN/1565921526/">

<!--O
<p><bf>Commentary:</bf> This is probably the best book to start
with. After you've read the HOWTO and looked through the FAQ this book
serves as a comprehensive and very approachable tutorial.
-->
<p><bf>解説:</bf> まず第一に、これは多分最高の書籍です。
HOWTO を読み、一通り FAQ を見た後で、この本は包括的でとても
親しみやすいチュートリアルとして役に立つでしょう。

<p>訳注: 邦訳は「入門 GNU Emacs 第 2 版」というタイトルで、
オライリー・ジャパンより発行されています。

<!-- </sect2> -->

<sect2>Writing GNU Emacs Extensions

<!--O
<p>Author: Bob Glickstein
-->
<p>著者: Bob Glickstein

<!--O
<p>Publisher: O'Reilly &amp; Associates - <htmlurl
url="http://www.ora.com/" name="http://www.ora.com/">
-->
<p>出版社: O'Reilly &amp; Associates - <htmlurl
url="http://www.ora.com/" name="http://www.ora.com/">

<!--O
<p>You can buy it at a discount from Amazon.com via their Associates
program: <htmlurl
url="http://www.amazon.com/exec/obidos/ASIN/1565922611/jeremydzawodny/"
name="http://www.amazon.com/exec/obidos/ASIN/1565922611/">
-->
<p>Amazon.com から Associates program によって割引して
購入できます - <htmlurl
url="http://www.amazon.com/exec/obidos/ASIN/1565922611/jeremydzawodny/"
name="http://www.amazon.com/exec/obidos/ASIN/1565922611/">

<!--O
<p><bf>Commentary:</bf> After you've used Emacs for a while and have
decided that you'd like to try writing your own mode or maybe try out
some advanced customization, this is the book for you. While it
doesn't attempt to teach Lisp, it does contain a brief introduction to
the language.
-->
<p><bf>解説:</bf> しばらくの間 Emacs を使い、自分自身のモードを
書くことに挑戦したい、またはいくつかの先進的なカスタマイズに
挑戦したいと決心した後に、これはうってつけの書籍です。
Lisp を教えようとはしていませんが、言語の簡単な手引きが含まれています。

<p>訳注: 邦訳は「GNU Emacs 拡張ガイド」というタイトルで、
オライリ─・ジャパンより発行されています。

<!-- </sect2> -->

<sect2>Programming in Emacs Lisp: An Introduction

<!--O
<p>Author: Robert J. Chassell
-->
<p>著者: Robert J. Chassell

<!--O
<p>From the README file:
-->
<p>README ファイルより -

<quote>
This is an elementary introduction to programming in Emacs Lisp for
people who are not programmers, and who are not necessarily interested
in programming, but who do want to customize or extend their computing
environment.
</quote>
<quote>
(日本語訳)
これは、必ずしもプログラミングに興味を持っていないが、
コンピュータ環境をカスタマイズまたは拡張したいという、
プログラマでない人々のための Emacs Lisp プログラミングの
初歩的な入門書です。
</quote>

<!--O
<p>You can retrieve the manual in its entirety via anonymous FTP from
the GNU FTP server: <htmlurl url="ftp://prep.ai.mit.edu/gnu/emacs/"
name="ftp://prep.ai.mit.edu/gnu/emacs/">.
-->
<p>このマニュアルは、GNU FTP サーバ
<htmlurl url="ftp://prep.ai.mit.edu/gnu/emacs/"
name="ftp://prep.ai.mit.edu/gnu/emacs/"> から anonymous FTP で
そっくりそのまま取り出せます。

<!--O
<p>You can buy a nicely printed version from Amazon.com via their
Associates program: <htmlurl
url="http://www.amazon.com/exec/obidos/ASIN/1882114418/jeremydzawodny/"
name="http://www.amazon.com/exec/obidos/ASIN/1882114418/jeremydzawodny/">.
-->
<p>きちんと印刷されたバージョンは、Amazon.com から
Associates program によって購入できます - <htmlurl
url="http://www.amazon.com/exec/obidos/ASIN/1882114418/jeremydzawodny/"
name="http://www.amazon.com/exec/obidos/ASIN/1882114418/jeremydzawodny/">。

<!--O
<P><bf>Commentary:</bf> This a good introductory manual for Emacs
Lisp-\-even if you're not a heavy-duty programmer.
-->
<p><bf>解説:</bf> これは、Emacs Lisp のための良い入門書です --
たとえばりばりのプログラマではない場合でも。

<p>訳注: 邦訳は「Emacs Lisp プログラミング入門」というタイトルで、
アスキーより発行されています。

<!-- </sect2> -->

<sect2>The GNU Emacs Lisp Reference Manual

<!--O
<p>Author: Richard Stallman
-->
<p>著者: Richard Stallman

<!--O
<p>Publisher: The Free Software Foundation - <htmlurl
url="http://www.fsf.org/" name="http://www.fsf.org/">
-->
<p>出版社: The Free Software Foundation - <htmlurl
url="http://www.fsf.org/" name="http://www.fsf.org/">

<!--O
<p>You can retrieve the manual in its entirety via anonymous FTP from
the GNU FTP server: <htmlurl url="ftp://prep.ai.mit.edu/gnu/emacs/"
name="ftp://prep.ai.mit.edu/gnu/emacs/">.
-->
<p>このマニュアルは、GNU FTP サーバから anonymous FTP で
そっくりそのまま取り出せます
<htmlurl url="ftp://prep.ai.mit.edu/gnu/emacs/"
name="ftp://prep.ai.mit.edu/gnu/emacs/">。

<!--O
<p><bf>Commentary:</bf> This is the definitive guide to the Emacs Lisp
programming language.
-->
<p><bf>解説:</bf> これは Emacs Lisp プログラミング言語への
最も権威のあるガイドです。

<p>訳注: 邦訳は「GNU Emacs Lisp マニュアル」というタイトルで、
アスキーより発行されています。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Web Sites
-->
<sect1>Web サイト

<!--O
<sect2>EMACSulation
-->
<sect2>EMACSulation

<!--O
<p>EMACSulation is a column written by Eric Marsden that appears in
the on-line magazine Linux Gazette located at <htmlurl
url="http://www.linuxgazette.com/"
name="http://www.linuxgazette.com/">. The most recent column as of
this writing is located at <htmlurl
url="http://www.linuxgazette.com/issue39/marsden.html"
name="http://www.linuxgazette.com/issue39/marsden.html">. Scan to the
bottom of the article for links to previous ones.
-->
<p>EMACSulation は、<htmlurl url="http://www.linuxgazette.com/"
name="http://www.linuxgazette.com/"> にあるオンラインマガジン
Linux Gazette に執筆している Eric Marsden によるコラムです。
現時点の最新コラムは <htmlurl
url="http://www.linuxgazette.com/issue39/marsden.html"
name="http://www.linuxgazette.com/issue39/marsden.html"> にあります。
以前の記事へのリンクは、記事の下部を調べてください。

<!-- </sect2> -->

<!-- </sect1> -->

<!--O
<sect1>Newsgroups
-->
<sect1>ニュースグループ

<!--O
<p>Search you local news feed for newsgroups which contain the string
``emacs'' and you'll probably find many. Those which my server carries
are:
-->
<p>
文字列 ``emacs'' を含むニュースグループでローカルニュースの配送を
検索すれば、多分たくさん発見できるでしょう。

<itemize>
<item>comp.emacs
<item>comp.emacs.sources
<item>gnu.emacs
<item>gnu.emacs.bug
<item>gnu.emacs.help
<item>gnu.emacs.sources
</itemize>

<p>
和訳: 日本語中心のニュースグループでも以下のものがあります:

<itemize>
<item>fj.editor.emacs
<item>fj.editor.mule
<item>fj.editor.xemacs
</itemize>

<!-- </sect1> -->

<!--O
<sect1>Mailing Lists
-->
<sect1>メーリングリスト

<!--O
<p>The only mailing list devoted to Emacs that I know of right now is
the NT-Emacs list. It is a list for folks who are using the Micro$oft
Windows version of Emacs. See the NT-Emacs FAQ <htmlurl
url="http://www.cs.washington.edu/homes/voelker/ntemacs.html"
name="http://www.cs.washington.edu/homes/voelker/ntemacs.html"> for
more. information.
-->
<p>
私が現在知っている唯一の Emacs 専門のメーリングリストは、
NT-Emacs リストです。
それは Microsoft Windows 版の Emacs を使っている人のためのリストです。
これ以上の情報は、NT-Emacs FAQ <htmlurl
url="http://www.cs.washington.edu/homes/voelker/ntemacs.html"
name="http://www.cs.washington.edu/homes/voelker/ntemacs.html">
を参照してください。

<!-- </sect1> -->

<!--O
<sect1>The Emacs Lisp Archive
-->
<sect1>Emacs Lisp アーカイブ

<!--O
<p>From the Emacs Lisp Archive README:
-->
<p>Emacs Lisp アーカイブの README より -

<quote>
The Emacs Lisp archives on ftp.cis.ohio-state.edu contain
various pieces and packages of Emacs Lisp code.  Emacs Lisp is the
language used to extend the GNU Emacs editor published by the Free
Software Foundation.  Although much Emacs Lisp code is included in the
GNU Emacs distribution, many people have written packages to interface
with other systems, to better support editing the programming language
they use, to add new features, or to change Emacs' default behavior.
Most of the contents of this archive have been written by individuals
and distributed publicly over the Internet through the info-emacs or
info-gnu-emacs mailing lists or the comp.emacs, gnu.emacs, or
gnu.emacs.sources newsgroups.
</quote>
<quote>
(日本語訳)
ftp.cis.ohio-state.edu の Emacs Lisp アーカイブは、Emacs Lisp コードの
様々な部分とパッケージを含んでいます。
Emacs Lisp は Free Software Foundation によって公開されている
GNU Emacs エディタを拡張するために使われる言語です。
多くの Emacs Lisp コードが GNU Emacs の配布に含まれていますが、
多くの人々は、他のシステムとのインタフェースのため、
使っているプログラミング言語の編集のサポートをもっと良くするため、
新しい機能を追加するため、または Emacs のデフォルトの振舞いを
変更するためにパッケージを書きます。
このアーカイブの多くの内容物は、個人によって書かれ、
info-emacs または info-gnu-emacs メーリングリスト、
または comp.emacs, gnu.emacs, gnu.emacs.sources
ニュースグループを通してインターネット上に公に配布されたものです。
</quote>

<!--O
<p>The archives are available via anonymous FTP from <htmlurl
url="ftp://ftp.cis.ohio-state.edu/pub/emacs-lisp/"
name="ftp://ftp.cis.ohio-state.edu/pub/emacs-lisp/">.
-->
<p>アーカイブは <htmlurl
url="ftp://ftp.cis.ohio-state.edu/pub/emacs-lisp/"
name="ftp://ftp.cis.ohio-state.edu/pub/emacs-lisp/"> から
anonymous FTP で入手可能です。

<!--O
<p><bf>NOTE:</bf> As far as I can tell, the Emacs Lisp Archive is
slowly becoming out of date. I see very few new (or updated) packages
appearing there, though I know they exist. They <em>do</em> get posted
to the <tt>comp.emacs.sources</tt> newsgroup. (Feel free to correct me
if this is wrong.)
-->
<p><bf>注釈:</bf> 私が伝えられる限りでは、Emacs Lisp アーカイブは
少しずつ時代遅れになってきています。
私は、それらが確かに存在するにも関わらず、新しくそこに出現する
(または更新された) パッケージをほとんど見ません。
それらは <tt>comp.emacs.sources</tt> ニュースグループにポストされます
(もしもこれが間違っているならば、遠慮なく教えてください)。

<!-- </sect1> -->

<!-- </sect> -->

<!-- ********************************************* -->

<!--O
<sect>Credits <label id="credits">
-->
<sect>クレジット <label id="credits">

<!--O
<p>The following people have contributed to the success of this
document.
-->
<p>次の人々が、この文書の成就に貢献しました。

<itemize>

<!--O
<item>Robert Vollmert <htmlurl name = "rvollmer@gmx.net"
url="mailto:rvollmer@gmx.net" >
-->
<item>Robert Vollmert &lt;rvollmer@gmx.net&gt;

<!--O
<item>Larry Brasfield <htmlurl name = "larrybr@seanet.com"
url="mailto:larrybr@seanet.com">
-->
<item>Larry Brasfield &lt;larrybr@seanet.com&gt;

<!--O
<item>Etienne Grossmann <htmlurl name =
"etienne@anonimo.isr.ist.utl.pt" url =
"mailto:etienne@anonimo.isr.ist.utl.pt">
-->
<item>Etienne Grossmann &lt;etienne@anonimo.isr.ist.utl.pt&gt;

<!--O
<item>Thomas Weinell <htmlurl name = "kf6mli@amsat.org" url =
"mailto:kf6mli@amsat.org">
-->
<item>Thomas Weinell &lt;kf6mli@amsat.org&gt;

<!--O
<item>Adam C. Finnefrock <htmlurl name =
"adam@bigbro.biophys.cornell.edu" url =
"mailto:adam@bigbro.biophys.cornell.edu">
-->
<item>Adam C. Finnefrock &lt;adam@bigbro.biophys.cornell.edu&gt;

<!--O
<item>Chris Gray <htmlurl name="cgray4@po-box.mcgill.ca"
url="mailto:cgray4@po-box.mcgill.ca">
-->
<item>Chris Gray &lt;cgray4@po-box.mcgill.ca&gt;

<!--O
<item>Robert J. Chassell <htmlurl name="bob@rattlesnake.com"
url="mailto:bob@rattlesnake.com">
-->
<item>Robert J. Chassell &lt;bob@rattlesnake.com&gt;

<!--O
<item>Isaac To <htmlurl name="kkto@csis.hku.hk"
url="mailto:kkto@csis.hku.hk">
-->
<item>Isaac To &lt;kkto@csis.hku.hk"&gt;

<!--O
<item>Matteo Valsasna <htmlurl name="valsasna@elet.polimi.it"
url="mailto:valsasna@elet.polimi.it">
-->
<item>Matteo Valsasna &lt;valsasna@elet.polimi.it&gt;

<!--O
<item>Tijs van Bakel <htmlurl name="smoke@casema.net"
url="mailto:smoke@casema.net">
-->
<item>Tijs van Bakel &lt;smoke@casema.net&gt;

</itemize>

<p>訳注:日本語訳にあたっては次の方々にコメントをいただきました。
<itemize>
<item>蔦　博和さん
<item>大森保英さん
<item>森本 淳さん
<item>武井伸光さん
</itemize>

<!-- </sect> -->

</article>
