2009-12-01ãã1ã¶æéã®è¨äºä¸è¦§
schemeã®æè¦ã§æ¸ãã¨ãããªæããããããªããfoldã®ä»£ããã«reduce㧠(defun dirs-children (dirs &optional exclude) (let ((exclude* (or exclude (mapconcat 'identity '("\\.\\{1,2\\}$" "\\.git$" "\\.svn$") "\\|")))) (nreverse (reduce #'(lambda â¦
ä¾ãã° shell-command-to-stringã§è¿ã£ã¦ããæååã®æ«å°¾ã«ãããªãæ¹è¡ãå«ã¾ãããã ã¨ãã ãããªããã§ãèªåã§å®ç¾©ãã¦ä½¿ã£ã¦ãã¾ãã code (defun rstrip (str) (replace-regexp-in-string "[ \t\n]+$" "" str)) ;;(defun lstrip (str) (replace-regeâ¦
http://d.hatena.ne.jp/kitokitoki/20091219 http://d.hatena.ne.jp/gongoZ/20091222 (defun count-up (d) (interactive "P") (when (looking-at "[0-9.]") (let ((col (current-column)) (beg (progn (skip-chars-backward "[0-9.]") (point))) (end (prognâ¦
anything-c-moccurã®ããã«ãselectionã移åãããã³ã«å¯¾å¿ããè¡ã«ç§»åããæ¹æ³ãããã£ãã (defmacro let1 (var val &rest body) (declare (indent 2) (debug t)) `(let ((,var ,val)) ,@body)) (defmacro ilambda (&rest body) `(lambda () (interactivâ¦
ä½ã¨ãªãä½ã£ã¦ã¿ãã(ç¹ã«æå³ã¯ãªã) ä¸åº¦å®ç¾©ããã¿ã¤ãã¼ãåå©ç¨ããããããããªãã¨ãããã¨ã§ããããªã殺ãã®ã§ã¯ãªããstop-listã¨ããã¨ããã«éé¿ãããããã«ãã¦ãããã§ããreviveã¯å®è£ ãã¦ããªãã*1 (defvar stop-timer-list nil) (defun â¦
å§ããããã®ã§ãkeysnailãå ¥ãã¦ã¿ã¾ããã ESCãMã¨ãã¦èªèããããã®ã ããã©ãä¸æãããã¾ããã§ããã .keysnail.jsã«ä»¥ä¸ã追å ããã°ããã¯ãâ¦ã ã¨æã£ãã®ã§ããã key.isMetaKey = function (aEvent) { return KeyEvent.DOM_VK_ESCAPE == aEventâ¦
emacså´ã§ã¯ä»¥ä¸ã®2ã¤ã®ãããªããã»ã¹ãå¼ã³åºãã°ãããã¨ã«æ°ã¥ããã . åä½ ãã®å¾ this-process 渡ãããã³ãã³ããå®è¡ã㦠ããä¸æ¹ã®processãçµãã£ã¦ãªãã£ãã殺ãã that-process sleepã㦠ããä¸æ¹ã®processãçµãã£ã¦ãªãã£ãã殺ãã ;(reqâ¦
ãªããªããã¾ãè¡ããªãã with-timeoutã¯processã®å¼ã³åºãã«å¯¾å¿ãã¦ããªãã sleep-forã¯æ¸¡ããç§æ°ã ãå¾ ããªããã¨ãããã(åå ä¸æ) (sleep-for 3)ã0.1xxxç§ã§çµãã£ã¦ãã¾ããã¨ã ä»ã®ã¨ããã¯ãã®ãããªæãã(ä¸å¿ç®çã«ãã£ãæ¯ãèãã¯ãããâ¦