run-at-time()
;;foo() を 2003/10/9 3:12:30 に実行する。 (run-at-time (encode-time 30 12 3 9 10 2003) nil 'foo)
;;foo() を 2003/10/9 3:12:30 に実行する。 (run-at-time (encode-time 30 12 3 9 10 2003) nil 'foo)
(URL: X Emacs Window Manager )
(URL: A History of Emacs ) (URL: Emacs Timeline ) (URL: Mule/Emacsの歴史 ) 右上の Mule/Emacs の歴史 -> (左上の)Historical drawing
繰り返しを書くときは、まず mapcar, find-if などの高階関数で書けるかどう かを検討する。書けなければ dolist, dotimes などを使う。それでも書けなけ れば、while, loop, 再帰を使う。 ...
(dolist (target '(a b c)) (if (eql 'b target) (return target)))
M-x re-builder
(string-to-number "20" 16) #=> 32 (read (concat "?\\x" "20")) #=> 32
% emacs -q –no-site-file -batch -eval ‘(message (getenv “HOME”))’
(let ((str "hogehoge,") (regexp ",$") (newstr "")) (cond ((eq emacs-major-version 21) (replace-regexp-in-string regexp newstr str)) ((eq emacs-major-version 20) (progn (string-match regexp str) (replace-match newstr nil nil str))) ((eq emacs-major-version 19) (progn (require 'dired) (dired-replace-in-string regexp newstr str)))))
ファイル名がかぶっていて、loadされないファイルを表示する。