- 青い花
- 大正野球娘
- ファントム
- バスカッシュ
- うみものがたり
- はがれん
- 咲
- かなめも
- canaan
- 化物語
- ハルヒ
- 宙のまにまに
- うみねこのなく頃に
- GA
- 狼と香辛料
- シャングリラ
- よくわかる現代魔法
こんな感じかな。これは暫定であって、他に面白いのがあれば
適宜追加していく予定。
int x[7] = {5, 4, 3, 0, 10, 15, 6};
int i, j, tmp;
for (i = 0; i < 7-1; i++){
for (j = 7-1; j > i; j--){
/* 前の要素の方が小さかったらswapする */
if (x[j] > x[j-1]){
tmp = x[j];
x[j] = x[j-1];
x[j-1] = tmp;
}
}
}
$ mv ~/Downloads/actionscript-mode.el ~/.site-lisp/
$ cd ~/.site-lisp/
$ emacs -batch -f batch-byte-compile actionscript-mode.el
(setq load-path
(append
(list "モジュールの場所")
load-path))
(autoload 'actionscript-mode "actionscript-mode" "actionscript" t)
(setq auto-mode-alist
(append '(("\\.as$" . actionscript-mode))
auto-mode-alist))
$ cd /Applications/Emacs.app/Contents/Resources/site-lisp/
$ tar zxvf ~/Download/mmm-mode-0.4.8.tar.gz
$ cd mmm-mode-0.4.8
$ /Applications/Emacs.app/Contents/MacOS/Emacs -batch -f batch-byte-compile *.el
(require 'mmm-mode)
(setq mmm-global-mode 'maybe)
(set-face-background 'mmm-default-submode-face nil) ;背景色が不要な場合
(mmm-add-classes
'((embedded-as
:submode actionscript-mode
:face mmm-code-submode-face
:front "<mx:Script>"
:back "</mx:Script>")))
(mmm-add-mode-ext-class nil "\\.mxml\\'" 'embedded-as)