Ateliers francophones GNU Emacs Nous sommes quelques utilisateurs de GNU Emacs à nous réunir en visio ou en présentiel pour apprendre les uns des autres : c'est ouvert aux non-emacsiens, aux débutants, aux utilisateurs avancés et aux vimistes !
腐lispの第一回です。いきなりですが、関数定義についての話をします。 関数定義の方法 elispの関数定義の方法は以下のようになっています。 (defun 関数名 (仮引数1 仮引数2 ...) フォーム) かけざん関数をつくる というわけで、早速、みなさんにはおなじみのあのかけざんをする関数をつくっちゃいましょう☆★☆★☆ (defun × (seme uke) (message "%s × %s" seme uke)) (× 'kusakabe 'sajo) ; "kusakabe × sajo"と表示される 簡単ですね。 上のコードはEmacsのscratchバッファに書いてすぐに試すことができるので、好きなだけかけざんしましょう。 括弧について 最初は括弧が多くて戸惑うかもしれません。でも慣れればかわいく見えてくるので大丈夫です。 それでも信じられないという方は、開き括弧"("
Emacs Lisp てほどき — .emacsを書くための — 目 次 1 はじめに 1 2 *scratch*バッファで 2 3 基本的な S 式 3 4 シンボル 7 5 バッファローカルな変数と暗黙値 9 6 関数とコマンド 11 7 ラムダ式とフック 13 8 おわりに 15 A Emacs Lisp のコーディング書式 16 Х. С. СУДЗУКИ i 1 はじめに Emacs は,起動時,(典型的には) ホームディレクトリに .emacs という名前のファイルがあるか調べ,あ れば,それにもとづいて様々な初期設定を行う。ファイル .emacs のテキストは,一見したところ括弧が目 立つ独特のプログラミング言語で書かれているが,実は,この言語こそが Emacs を操る手段にほかなら ない。 そもそも,Emacs にある様々な編集機能は,ユーザがかなりの程度まで自由に制御で
簡単なコマンドがすぐに作れるところが、Emacs の魅力のひとつなのですが、実際、Emacs を利用してるけど、Elisp 分かんないし、書いたことないっていう人が多いです。 でも実はプログラミングしたことない人でも、目的の関数のさえ分かればすぐにコマンドを作ることが出来るくらい Elisp は簡単なので、なんか難しそうと毛嫌いしているのは勿体ない話です。 なので、今日は簡単なコマンドを紹介しつつ、Elisp の基本を説明してみましょう。 Mac OSX の open コマンドでバッファを開くコマンド。 簡単な例として、シェルコマンドの open を使ってカレントバッファを開くコマンドを作ってみました。 (defun open () "Open current buffer for OSX command" (interactive) (shell-command (concat "ope
This master menu first lists each chapter and index; then it lists every node in every chapter.
Emacs Muse は Emacs のための文書編集・出版環境です. Emacs Muse を利用すれば,文書を執筆したりいろいろなフォーマットで出版したりといったことが簡単にできます. Muse は大きく分けて2つの部分から成り立っています:文書を作成したり Muse プロジェクト内で編集の行き来をするための拡張テキストモードと, 様々なフォーマットでの出力を生成するための公開スタイルのセットです. この文書について この文書では Muse をすぐに使うためのマークアップや機能の例を紹介します. この文書がどういうふうに出力されるか知りたいときは make examples と入力してください.そうすれば,Info 形式と HTML 形式,PDF 形式(処理に必要なフォントとともに LaTeX がインストールされているならば)での出力が得られます. まずはじめに Muse を使うために
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く