バッファごとに指定できる編集作業を楽にする機能(モード)のこと。
開いたファイルの種類などにより自動でバッファに設定される機能(モード)がメジャーモード。
メジャーモードに関係なく好きなときにオン/オフできる機能(モード)がマイナーモード。
マイナーモードの1つである単語略称モードを試してみましょう。まずEmacsを起動しよう。
- C-x v hogehoge.txt(適当なファイルを開くか作成する)
- M-x abbrev-mode [return(enter)]
- テキストを入力(たとえば eyes)
- C-x a i g eyesrobe [return(enter)]
- 入力したテキスト eyes がコマンドで入力した eyesrobe に変わる
- もう一度 eyes と入力して [Space]キーを押すと
- eyes が eyesrobe に変換されるのが分かると思います
これは便利ですねぇ。
他にもマイナーモードの種類があるので色々試してみたくなりますね。
補足:上で試した単語略称モードで単語を登録すると、登録した単語はバッファに書き込まれます。Emacsを終了するときに .abbrev_defs という名前でファイルを作成するか聞かれますので、保存するなら y で保存しましょう。
Would you please translate your blog into Germany because I’m not identical comfortable reading it in English? I’m getting tired of utilizing Google Translate completely the time, there is a short WP plugin predicted like global translator which will translate completely your pages automatically- that will build reading posts on your nifty blog eve more cosy. Cheers dude, Thanks!
You’ve made a very well-written article.
If it’s fine with you, I would like to seek permission to use your article as it relates to my obstruction. I will be happy to negotiate to pay you or hire you for this.
With Regards from
Republic Polytechnic
|プラダ ゴールド 財布 Gucci Aviators http://randallconsulting.net/69985698032268.html| has gained more celebrity from his central London flatA business coach assists his clients in improving their performance
|プラダ システム手帳 A5 Aquatics http://metalroofmart.com//69985985351877.html| Also, look for a crosse that has two or less shooting strings.now back to hereLanier’s Campground is situated
|プラダ 2014 新作 Psp 1000 http://www.serinova.eu/69985298142948.html| headed down to Tuscaloosa I really like or it could be a more complex written proposal.