Mac OS X:Emacs-like keybindings everywherePublished on Oct 19, 2012One of the reasons why I love working with OS X is theEmacs-like keybindings, which are available in the whole system. One of the most used ones for me are Ctrl-a and Ctrl-e for jumping to the start and the end of aline. But sometimes you need more than that, for example forward deleting a word. Interminal that would be Ctrl-d,
\s- という正規表現はスペースEmacs の正規表現を見ていたら "\s-" という表現が出て来た。 良くわからなかったが、何となくスペースが入る位置だったので、Emacs 正規表現 スペース で検索したら一発で出た。 "\s-" が示すのは 空白、 \t , \n かな。 ついでに他の正規表現を調べた。EmacsWiki: Regular Expression シンタックス 分かりきってるのは省いてある。 表現英語説明 意味 \w word constituent 文字列(文字、数字) \b word boundary 文字列の区切り文字(空白とか、改行) \sc character with c syntax (e.g. \s- for whitespace char) わからん C言語での文字列? \< \> start\end of word 文字列の始まり、終わり \_

http://unknownplace.org/archives/golang-editing-with-emacs.html とだいたい同じだったんですが、微妙に違ったところがあったのでメモ。 環境は Ubuntu 13.04 64bitです。 バイナリのインストール Ubuntuのパッケージやら PPAでありますが、公式に配布されるバイナリから インストールすることにします。 https://code.google.com/p/go/downloads/list から自分の環境にあったものを取得してください。 取得できたらそれを展開します。今回は /opt以下にインストールすることに します。 % cd /opt %sudo tar xf ~/Desktop/go1.1.1.linux-amd64.tar.gzこれでインストールできました。 環境変数の設定 環境変数 PATH,GO

その昔、自宅PCにLinuxをインストールして頑張っていた頃はEmacsを使っていたり、その延長で職場でもMeadowやxyzzyなどを活用していたものですが、Eclipseを使い始めてからめっきりEmacsから離れてしまっていました。 ところがここ最近、MacBookを使い始めたり、仕事柄サーバのメンテナンス等でターミナルを使う機会が圧倒的に増えたり、周囲の影響もあったりして久しぶりにEmacsに復帰してみることにしました。Emacsをちゃんと使うのは10年ぶりくらいですが、同僚のEmacserに教えてもらいながら環境を整備してみました。 パッケージをインストールするための準備 最近のEmacsはmeplaというリポジトリからパッケージをインストールできるようです。~/.emacs.d/init.elに以下を書いておきます。 (require 'package) (add-to-list
C-x z C-x z というモノをつい先程知った。 このキー入力は何をするものか。知らない方へのヒントは vi での . コマンド。 まあもったいぶらなくても良いだろう。この C-x z は「直前のコマンドを繰り返す」関数 repeat を呼び出すようになっているらしい。 ヘルプで確認してみると、次のようになっている。 (repeat repeat-arg) Repeat most recently executed command. With prefix arg, apply new prefix arg to that command; otherwise, use the prefix arg that was used before (if any). This command is like the `.' command in the vi editor. つまり、 直近の
優しいEmacs-Lisp 講座 メジャー・モードを作ろうEmacs-Lisp without a Hustlepcs39334@asciinet.or.jp yuuji@ae.keio.ac.jp (C) 1991-1995 by HIROSE, Yuuji メジャーモードを書こう メジャーモードってなに メジャーモードの必須条件 モード名の設定 キーマップの設定 キーの割当て ローカルマップ使用宣言 メジャーモード関数の定義 インタラクティブ関数 インタラクティブ関数をキーにバインドする 関数を実際に定義する 章末問題 1 まとめ 1 余談 1 「〜関係の関数はないかな?」を探す。Emacs-Lisp の構文 変数 変数の宣言 変数の束縛 制御構造 if or and cond while catch, throw 算術 演算子 算術関数 章末問題 2 余談 2 関数・変数 余
perlnow.el is a collection of utility commands forperl programmers who useemacs. These commands are designed to help automate some routine tasks in the initialcreation ofperl scripts and modules. Commands are also provided to assist in running, testing and debugging inside ofemacs. Detailed documentation has been included inside the *.el fileitself, using the "docstrings" that are easily acc
TheEmacsWiki is dedicated to documenting and discussingEmacsAndXEmacs andEmacsLisp. See the MissionStatement for more information. You can edit this website. There’s a link, Edit this page, at the bottom of this and other pages. Please check Comments on SiteMap before editing this SiteMap page, however. How to use this siteHowToNavigate – how to find what you’re looking for HowToEdit – how you
Emacs のフォント設定については、(私も含めて)情報の出し方が悪かったのか、偏った情報が、広まっています。且つ、何だか難しい様に思われています。でも、そんなことはないです。 なので、ここで、整理しておきたいと思います。 尚、このページの2章以下に紹介した設定は、fixed-width-fontset パッケージに記述してあります。 このページの目次 fixed-width-fontset パッケージを使う default のフォントセットを変更するフォントセットを予め定義するフォントの大きさを調整する 簡単な例 気をつけたい設定 1. fixed-width-fontset パッケージを使う http://sourceforge.jp/projects/macemacsjp/files/ から、fixed-width-fontset.1.2.0 をダウンロードして、carbon-f
EmacsLisp library color-theme.el provides many predefined color themes for your use, and you can easily define additional themes. The library has not really been well maintained since 2009, but you can useit with anyEmacs version sinceEmacs 20. The version of color-theme.el on the wiki (6.6.1) is a quick fix to the last version (6.6.0) maintained by XavierMaillard, which no longer worked starti
emacsやMeadowを使っていて背景色が「黒」な人に質問です。 あなたはどんな配色でemacsを利用していますか。 特に視認性にこだわりのある方の回答をお待ちしています。 ちなみに僕は font: M+ (global-font-lock-mode t)の状態で (add-hook 'font-lock-mode-hook '(lambda () (set-face-foreground 'font-lock-comment-face "lawngreen") (set-face-foreground 'font-lock-string-face "purple") (set-face-foreground 'font-lock-keyword-face "LightSeaGreen") (set-face-foreground 'font-lock-constant-face "y

GNUプロジェクトは2日(米国時間)、UNIX系OS定番テキストエディタの最新安定版「Emacs 22.1」をリリースした。安定版としてのリリースは、2003年3月に公開されたEmacs 21.3以来約4年ぶり。Emacs 22.1では、新たにMac OS Xを対応プラットフォームとして追加。Windows上で動作するUNIX互換環境「Cygwin」も正式にサポートされた。従来はパッケージが分かれていた多言語対応のインプットメソッド「Leim」のほか、Emacs Lisp関連マニュアルが標準配布物に同梱される。GIMPなどに使用されているGUIツールキット「GTK+」も正式にサポート、GTK+ 2.4以降の機能を利用したEmacsとしてビルドが可能。 機能面では、最大バッファサイズが倍加され32bitマシンでは最大256MBとなった。カラー対応も強化、xtermやrxvt上など多色表
Here is where I plan toBlogEmacspeak tricks and introduce new features as I implement them. 1 AnEmacs Interface ToGoogle ServicesGoogle offers a number of services using aGoogle account. Many of these services also expose a WebAPI. this package provides a set ofEmacs modules for accessing these services from insideEmacs. These modules are designed with anEmacs-centric, rather than a Web-
このinfoファイルは、GNUEmacs Lispマニュアル 2.9版であり、 GNUEmacs 21.3版に対応します。 旧版の翻訳である elisp-manual-20-2.5-jp.tgz を参考に最新版の変更点を追加しています。元文書の翻訳をされた方々に深く 感謝いたします。 また、「コメント」と書いてある部分は私が追加した部分です。また、分かり にく部分などは原文の意味を曲げない範囲で、加筆を行っています。 分かりにくい、意味不明だ、用語が統一されていないなどありましたら、 にて連 絡をお願いいたします。あるいは、各章の右上にあるコメントからWikiに書き 込みをお願いします。 またこの文書は原文のライセンスを継承しますので、再配布、コピー、変更な どはすべて自由にしていただいて構いません。
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く