Emacs
http://e-arrows.sakura.ne.jp/2010/12/closure-library-on-js2-mode.htmlãåèã«è¨å®ãã¦ããã®ã ãã©ï¼ããã ã¨caseã®ä¸èº«ã®ã¤ã³ãã³ãããã¾ããããªãã£ãï¼ myapp.main = function() { var Fruit = some.namespace.Fruit; switch (fruit) { case Fruitâ¦
ãã¼ãã¤ã³ããã¦ç´æ¥å¼ã¶ã¨(error "pulldown-width accessing a non-pulldown") anything-call-sourceçµç±ã ã¨(wrong-type-argument arrayp nil)ã§ç´åãpulldown-width(nil) ãæä¸ã (追è¨) ä¸ç¬ï¼æ®éã«anythingããã ãã§(wrong-type-argument arrayp nâ¦
#/\"\"(|)/ ããæ¸ãã¦æå¾ã辺ã§é©å½ã«ãã¤ã³ãåããã¦ãã¨Emacsãããªã¼ãºããï¼ ä½¿ã£ã¦ãã®ã¯Carbon Emacsï¼ eldoc-modeåãã¨è½ã¡ãªããªã£ãï¼åã³eldoc-modeããã¨ãã¯ãããªã¼ãºï¼
ä»ã«ãå°ã£ã¦ãã人ãå± ãï¼ http://d.hatena.ne.jp/h1mesuke/20070714/p1 ãã®äººã¯adviceã§ç¡çç¢ç解決ãã¦ããããã ï¼ ;; resume-windows ã§ã®ãªã¼ã¸ã§ã³ã®æ´»æ§åãæå¶ (defadvice revive:restore-buffers (around suppress-mark-activation activate) â¦
(setq win:switch-prefix "\C-cw") (define-key global-map win:switch-prefix nil) (define-key global-map "\C-cw1" 'win-switch-to-window) (require 'windows) (win:startup-with-window) ã¨ãã¦ãï¼C-c w 1ãwin-switch-to-windowã«ãªãã ãã§ããã©ã«â¦
ãã¤ãEmacsããstart-process-shell-commandã§rabbitãèµ·åãã¦ããã®ã ãï¼æ¥ã«ãã¼ããèªã¿è¾¼ããªããªã£ãï¼ã©ããï¼.bashrcãèªã¿è¾¼ã¾ãªãã®ã§ç°å¢å¤æ°ãè¨å®ããã¦ãªããããããï¼ä»ã¾ã§ã¯ä½æ åãã¦ããã ⦠.emacs_bashãä½ã£ã¦ã¿ããã©ããã¯M-x sheâ¦
æã ï¼ error in process sentinel: if: Search failed: "^M? ^M? "ã¨ããã¡ãã»ã¼ã¸ãåºã¦ï¼ãããããã®ã¨ãã«twmode-http-bufferãå¢ãã¦ãï¼ã±ã£ã¨ã¿æªããããªã®ãtwittering-get-response-headerã® (if (search-forward-regexp "\r?\n\r?\n") (match-eâ¦
twittering-modeããããããªãã ãã©Carbon Emacsã ã¨(?)tweetããã¨ãã«æ¥æ¬èªã2åæã¦ãªãï¼è´å½çãããï¼ä¸åº¦æ¥æ¬èªãæã£ã¦æ±ºå®ããã¨è±æ°ã¢ã¼ãã«ãªãï¼ä»¥éããªãã¼ãã¹ãã¼ã¹ã¨èªèãããï¼C-\ã§ä»£ç¨ã§ãããå¤æã決å®ãã度ã«è±æ°ã¢ã¼ãã«ãªã£ã¦â¦
sgml-mode(HTMLã¨ã)ã®C-cC-tã§ã¿ã°åå ¥åããã¨ãã«ï¼C-hããã¨å¤ãªãã«ããåºã¦delete-backward-charã§ããªãï¼(key-binding "\C-h")ã¯delete-backward-charã ãããããããããªãï¼ F1ã§ãåããã¨ãèµ·ããï¼ ãã®æã«åºãã¡ãã»ã¼ã¸ãããï¼ You are inâ¦
linum-modeãoffã«ãããç³ãã ç´å¾ã®ãã¤ã³ãã§C-hãã¦ãè½ã¡ãªããªã£ãï¼ ããã§ï¼org-modeã§ã¯linum-modeã使ããªããã¨ã«ããï¼ã¨ãããï¼global-linum-modeã使ã£ã¦ããã¨ï¼org-mode-hookãå¼ã°ããå¾ã«linum-modeã«ãªãããï¼org-mode-hookã§ã¯å¯¾å¿ã§â¦
anything-match-pluginï¼ac-anythingï¼anything-c-moccurï¼ã¨color-moccurï¼ãå ¥ããï¼ ããããanythingãåçã«éããªã£ãï¼ããã§ï¼anything-match-pluginã®æçºãã¨æãï¼ (setq anything-mp-highlight-delay nil) ãã¦ã¿ãï¼å°ãã¾ãã«ãªã£ããããªæ°ãâ¦
define_method(:"#{x}") { 2è¡ç®ã§tabæ¼ãã¨ãããªã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºã¦ã¤ã³ãã³ããããªãï¼ ruby-forward-string: Search failed: #("[^\\]\\(\\\\\\\\\\)*[\"]" 0 14 nil 14 15 (selection-face nil candidate-face nil action nil fontified t face foâ¦
æãç³ãã§ãé¨åã®ç´å¾ã®æååãåé¤ãããã¨ããã¨Emacsãã¨è½ã¡ãï¼
æãç³ã¾ãã¦ãæãéãã¦ï¼éãã¦ï¼...ã®å¾ãã§TABæ¼ãã¨Emacsãã¨è½ã¡ãï¼
以åï¼anythingã®ãã¼ãã¤ã³ããå¤æ´ãããã©æ¸ãã¦ãªãã£ãã®ã§æ¸ãï¼å¢ããé¨åã®è¿è¾ºï¼ (defvar anything-call-source-buffer "*anything source select*") (defvar anything-c-source-call-source `((name . "Call anything source") (candidate-number-â¦
ãããã¡æ«å°¾ã§ãªãï¼ç©ºè¡ã§çµãã段è½(?)ãæãç³ããã¨ããã¨Emacsãã¨è½ã¡ãï¼ org-modeã§è½ã¡ã件ã¨åãç¾è±¡ã¿ããï¼ adviceã§ç©ºè¡ãæ¶ããã¨ãããã©ãã¾ããããªãã£ãï¼
欲ãããªã£ãã®ã§ï¼ããã£ãã2009-10-06ãåºã¦ããã®ã§ï¼ããã(大ãã«)åèã«ãã¦å®è£ ãã¦ã¿ãï¼ æç¸å¤ãnilã®æã«ãå³åº§ã«and-let*ããæããããã«ããï¼ (and-let* ((x 10) (y nil)) x) ;; => nil (defmacro and-let* (exp &rest body) `(%and-let* ,eâ¦
åãè¾¼ã¿ããã¥ã¡ã³ãã¨ãããããããããã¨ããããã£ãã¨æããã©ï¼æ¼ç®åã®aliasã§ãããããªãã®ãã¿ã¤ããï¼ aliasã®æ¬¡ã®è¡ã®ã¤ã³ãã³ãããããï¼ alias hoge + # ããã alias hoge == # ããã alias hoge :+ # ãããªã alias hoge :== # ããã aâ¦
auto-complete.elã¨scheme-complete.elã¨ï¼ããããã®ã½ã¼ã¹ãèªã¿ãªããé å¼µã£ãï¼ä¸å ãåãæã¾ã§æ¼ãçããã®ãããï¼ (add-to-list 'ac-modes 'scheme-mode) (defvar ac-source-scheme-complete '((candidates . (lambda () (all-completions ac-targetâ¦
TAB(ac-expand)ã§è£å®ãçµãã£ãæã«ãauto-completeãçµäºãã¦ãããªãã®ã§ï¼å¿æ¥å¦ç½®ï¼ ååã®ã¨åãããã¨ï¼ãããªæãï¼ (defun my-ac-stop-if-not-necessary () (if (and (= 1 (length ac-candidates)) (string= ac-prefix (car ac-candidates))) (ac-sâ¦
è£å®åè£ãä¸ã¤ãããªãï¼ãã¤å ¥åãçµãã£ã¦ããã®ã«auto-completeãçºåãã¦é¬±é¶ããã£ãã®ã§ï¼ããã£ã¦ã¿ãï¼é å¼µã£ã¦ã½ã¼ã¹èªãã ï¼ å ·ä½çã«ããã¨ï¼è£å®åè£ãhogehogeã§ï¼hogehogeã¾ã§å ¥åããã®ã«ãã¼ãac-complelte-mode-mapã«å¸ãããç¶æ³ï¼è£å®ã®â¦
module_functionã®moduleã®é¨åã ãéããªã£ã¦æ°æã¡æªãï¼æè¿ã®ruby-modeã¯ãããªã®ã⦠ã¨ããããå¿æ¥å¦ç½®ããï¼ (modify-syntax-entry ?_ "w" ruby-mode-syntax-table)
require-final-newlineãnilã«ããã°OKï¼golf-modeã¨ãããã¨ãããªãï¼
æåã®è¡ã空ã®æï¼2è¡ç®ã§ã¤ã³ãã³ããããã¨ããã¨è¦åé³ã¨å ±ã«ãããããã¡ã«Beginning of bufferã¨è¡¨ç¤ºãããï¼ åãããã«ï¼ var x = [ ]; ã®çãä¸ã®è¡ã§ã¤ã³ãã³ããããã¨ããã¨invalid search bound (wrong side of point)ã¨è¨ããã¦ã¤ã³ãã³ãã§ãâ¦
js2.elå 㧠(eval-when-compile (defvar font-lock-keywords nil)) ããã¦ããããªã®ãï¼js2-modeã ã¨font-lock-keywordsãnilã«ãªã£ã¦ãï¼js2-modeã®font-lockã®æãæ¹ãããããããªãã£ãã®ã§ï¼js2-mode-hookã§ç¡çç¢çè¨å®ããï¼ ããããï¼js2-mode-hooâ¦
ååã®æ¥è¨ã§ã¯ã¾ã ããããã£ãã®ã§ã¾ãä¿®æ£ï¼ (add-hook 'ruby-mode-hook '(lambda () (add-to-list 'ruby-font-lock-keywords '("\\(?:^\\|[^:]\\)\\(:\\(\\(\\$\\|@\\|@@\\)[_a-zA-Z][_a-zA-Z0-9]*\\|[A-Z][_a-zA-Z0-9]*[!?=]?\\)\\)" 1 font-lock-constâ¦
æåã«è¦ã¤ãããã¤ã¯ã¨ã©ã¼ã«ãªã£ãï¼ããããããï¼ http://blog-imgs-27.fc2.com/e/m/a/emacs/d-mode.el.txtãªãå¤ååãï¼ è¨å®ãã¡ã¤ã«ã«ã¯ (autoload 'd-mode "d-mode" "Major mode for editing D code." t) (add-to-list 'auto-mode-alist '("\\.d[i]â¦
åã®æ¥è¨ã§ã¯Foo::Barã®è²ããããããªãã®ã§ï¼ä¿®æ£ããï¼ :foo :Foo :Foo= :@foo :@@foo :$foo Foo::Bar (add-hook 'ruby-mode-hook '(lambda () (add-to-list 'ruby-font-lock-keywords '("\\(^\\|[^:]\\):\\(\\(\\$\\|@\\|@@\\)[_a-zA-Z][_a-zA-Z0-9]*\\|â¦
anything.elã¯ä½ãããã®ãã¨ããã¨ï¼ããããªã¨ã(æ å ±æº)ããæ£è¦è¡¨ç¾ã§æ¤ç´¢ãï¼é¸æããã¨æ å ±æºã«å¿ããã³ãã³ããå®è¡ãã(å¤å)ï¼ãããã¡ãªãåãæ¿ãããï¼ãã¡ã¤ã«ãªãéããï¼ã³ãã³ããªãå®è¡ããï¼ è¨å®ã¯è¨å¤§ãªanything.elã®è¨å®ãå ¬éï¼ - httâ¦
çµæ§åã®è©±ã ãã©ï¼èæ¯è²ãtoggleããã³ãã³ãä½ã£ãï¼ äºã®æãè¡ãã¯ããï¼ htmlã«Cã®ã½ã¼ã¹ãã³ãããããï¼ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãããªãã¦èªã¿ã«ããã£ãã®ã§ï¼Emacsã®ãããã¡ãhtmlã«å¤æããæ¡å¼µãæ¢ããï¼ ã¾ãè¦ã¤ãã£ãã®ã¯ï¼face2htmlï¼ç¯å²æâ¦