You are here: Home â å稿ã»è³æ â Software Design 2008å¹´2æå· ãEmacsãã¹ã¿ã¼ã¸ã®éã å稿
You are here: Home â å稿ã»è³æ â Software Design 2008å¹´2æå· ãEmacsãã¹ã¿ã¼ã¸ã®éã å稿
å ¨å½ã®printãããã°æ好家ã®çæ§ãããã«ã¡ã¯ãVSã¨ãEclipseã¨ãã®IDE以å¤ã§ãããã¬ã使ã£ããã¨ã®ãªãåããã£ã¦ãã¾ãããã æè¿ãCè¨èªã§ãã¼ã³ã©è¨ã£ã¦ãçã£æä¸ãªè¨³ã§ãããCè¨èªã ã¨printãããã°ãããã«ãã訳ã§ããããã¬æ§ã®åãåãã¦ã¿ãããªã£ã訳ã§ããã¨ãã訳ã§ãå··ã§æå㪠gdb ãã¡ãã£ã¨è©¦ãã¦ã¿ã¾ããã åºæ¬çãªä½¿ãæ¹ã¯ã以ä¸ãåèã«ãã¦ã¾ããgdb ãç¨ãããããã°æ¹æ³GDBã¦ãã¦ã©ã Unoh Labs: gdbã®ä½¿ãæ¹ ã§ããªãã ã Emacsããã使ããã¿ãããªãã§ã試ãã¦ã¿ããã§ãããããã使ããããã¦ã³ã£ããã"M-x gdb" ã§èµ·åããã¨ãEmacs ã®ã½ã¼ã¹ä¸ã«ãç¾å¨ã®è¡ãé»ä¸è§ã§ããã¬ã¼ã¯ãã¤ã³ãã赤丸ã§è¡¨ç¤ºããã¾ããå¾ã¯ãã³ãã³ãã©ã¤ã³ã§ã®æä½ã¨åãããã«ãs ã¨ã n ã§ã¹ãããå®è¡ã§ãã¾ãã ãã¼ãããããã¦ãPerl ã¨ã Rub
emacserã®éã§å¯ããªãã¼ã ã¨ãªã£ã¦ããyasnippet.elãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã å®ã¯snippetçãªãã®ã使ãã®ã¯åãã¦ã ã£ãã®ã§ãã¡ãã£ã¨ç´°ããè¦ããæå³ãå«ãã¦ã¤ã³ã¹ãã¼ã«æ¹æ³ããæ¸ãã¦ã¿ã¾ãã ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ç°¡åã§ã2ã¤æ¹æ³ãããã¾ãã横çã¯äººã¯ä¸è¨ãã¼ã¸ã®ãyasnippet-bundle-0.3.1.el.tgzãããã¦ã³ãã¼ããã¦ãã¦ã解åãã¦ã§ããyasnippet-bundle.elãé©å½ãªãã£ã¬ã¯ããª(ä¾ãã°$HOME/.emacs.d/plugins/ã¨ã)ã«ç½®ãã¦ã以ä¸ã®ããã«è¨å®ãã¾ãã (add-to-list 'load-path "~/.emacs.d/plugins") (require 'yasnippet-bundle) ãã®yasnippet-bundleã£ã¦ãã¤ã¯ãå種è¨èªç¨(ãªã©)ã®snippetã®è¨å®ãlispã®ä¸ã«å梱ã
"Yet Another Snippet Package | M-x all-things-emacs"ã§ç¥ã£ããyasnippetãããéãã!!!!1112345!ããã¯ãåãä½è ã以åã«ä½ã£ã¦ããsmart-snippet.elã®ãªã©ã¤ãçï¼ã¿ãããªãã®ãããã®ã ããã¨ãããGoogle Codeã«ã¦ããã¸ã§ã¯ããéå§ãããã®ã3/7ã¨ãããããã¢ããã ã¾ããã¨ãããããããè¦ã¦ãã ããã(YouTubeã®ç»è³ªã ã¨ã¢ã¬ã ã¨ããå ´åã¯ãä¸è¨ããã¸ã§ã¯ããã¼ã¸ããaviã®åç»ãè½ã¨ããã®ã§ããã¡ããè¦ãã®ãè¯ãã§ã)ã æåã®ãããã¯ãã¾ããemacs-railsã§ã使ããã¦ããsnippet.elã¨ãã§ãååå¯è½ãªãã¨ãªã®ã ãã©ãè¤æ°ã®ãã³ãã¬ã¼ãåè£ãé¸æãªã¹ã表示ãããããã¡ãã¥ã¼ãã¼ãããã³ãã¬ã¼ããæ¿å ¥ã§ãããããã®ãããæãã ããå¾åãã©ãã©ãã¤ãããªã£ã¦ãããä¸ç®æã«å ¥å
ã¯ã¾ãã¨ãªããªã åå㯠Emacs ã®è¨å®ã å¾åã¯ããã°ã©ãã³ã°è¨èªã¨ãã¦ã® Emacs Lisp ã®è©±ã¨ãEmacs Lisp ã®ã©ã¤ãã©ãªé¢æ°ã®è©± ããã åãããªããã¨ã®èª¿ã¹ãã ã«ã¹ã¿ãã¤ãºã°ã«ã¼ã(customize-group) ãã«ãã³ãã³ã aproposã§é ç®èª¬æã«ç§»ã(apropos-follow) ãã¥ã¼ããªã¢ã« info Info modeã§ã®(default)ãã¼æä½ man FAQ(Frequently Asked Question)  ãµã³ãã«.emacsã³ã¼ããå¾ã XEmacsãconfigureãããã¨ãã®ãªãã·ã§ã³ãç¥ã ãã¼ãã¤ã³ãã調ã¹ã(where-is / describe-bindings) Emacs Lispã®é¢æ°åï¼å¤æ°åãããããå®ç¾©ããã½ã¼ã¹ãã¡ã¤ã«ãã²ãã Minibufferã®ãã° ãã¼ãã¤ã³ãã«ã¤ã㦠ãã¼ãã¤ã³ããå¤æ´
追è¨ï¼ id:rubikitchããã«ãauto-revert-modeã£ã¦ã®ãæãã¦ããã ãã¾ãã!ç´ æ´ãã!!!1 /path/to/pmlistãauto-revert-modeããç¶æ ã«ãã¦ããã°cronã®æ´æ°ãåæ ãããã¯ãã ããã§(global-)?auto-revert-modeã§ãã - (rubikitch loves (Emacs Ruby CUI Books)) ã¨ããããã§ããã£ã¡ã使ãããã«æ¸ãç´ããã ãEmacsã§Perlã®ã¢ã¸ã¥ã¼ã«åãè£å®ãã - subpop - subtechãã§æ¸ãããã¿ã ã£ããããã®ã ãã©ãã¨ããããPerlã¢ã¸ã¥ã¼ã«åãè£å®(dabbrev)ããããã¼çãªè¦æ±ã«ã¤ãã¦ãä¸è¨ãªã³ã¯å ã§æ¸ããã®ã¯ãcperl-modeååèµ·åæã«ã³ãã³ããæµãã¦ãã¦ããããéãã¦ãããããã¦ãã®ã§ããããããã¢ã¸ã¥ã¼ã«ã®ä¸è¦§ã ãã®ãã¡ã¤ã«ãä½ããã
Emacsã®ã³ãã³ããè¦ããããªãã ä»ã®ã¢ããªã±ã¼ã·ã§ã³ãªãç¡çãã¦ã§ã使ã£ã¦ããã°ãã®ãã¡è¦ããã ä½æ¥å¹çãå¤å°ç ç²ã«ãªãã...ã ã ããEmacsã®å ´åã³ãããããç¬èªã®ã³ãã³ããªãã使ãç¶ãããã¨ãã§ããªãã å¹çãç ç²ã«ãªããªãã¦ãã®ãããªãã ä½æ¥ã§ããªãã ä½æ¥ã¨Emacsã®ç·´ç¿ãã©ã¡ããç«ããªãã ããããã¿ã¤ãã³ã°ã²ã¼ã ã¯ãªãã®ã? ãªãã æåå ¥åã®ã¿ã¤ãã³ã°ã²ã¼ã ã¯ããããã³ã³ãã¼ãã¼ã·ã§ã³ãã¼ã®ãã®ãè¦ã¤ãããªãã ç²ç¹ã ã£ãã æ¢ãã®ããããããèªåã§ä½æãããã¨ã«ããã #åå¨ããªããã®ã¯åµé ããã®ãããã°ã©ãã§ããã ã¨ãããããåããã¨ãç®çã ã£ãã®ã§é£¾ãæ°ã®ãªãä½ãã«ãªã£ã¦ããã javascriptã§ä½æãã¦ããã ã¯ããã¯ä¸»è¦ãã©ã¦ã¶ã«å ¨ã¦å¯¾å¿ããäºå®ã ã£ããããã©ã¦ã¶ããåå¾ã§ããkeycodeãéããããã ä»ãã¼ã¸ã§ã³ã§ã¯è«¦ããFirefox
ã¨ãã£ã¿ã§è¡æ«ã«åå¨ããã¹ãã¼ã¹ã強調表示ããè¨å®ã ä»æµè¡ã®.emacs & .vimrc - ã°ãã£ã©ããã®ã°ãã£ã°ãã£åå¿é²@ã¯ã¦ãª Emacsã ã¨ã Elips is just a typo of Elispã®develock.el.gz ããããã§ãã ãããªæãï¼ ããã ãç®ç«ã¦ã°ã¤ã³ãã³ãããããªã³ã¼ããæ¸ãã®ãé²ãã¾ããããå¯ä½ç¨ã¨ãã¦ä»äººã®ã³ã¼ããããã£ã±ãããç´ããªããªãã®ã§æ³¨æãå¿ è¦ã§ãã ã¤ãã§ã«ãã®ã»ãè²é¢é£ã®ãæãã¾ãã (defun recenter-and-fontify-buffer () "comment..." (interactive) (recenter) (font-lock-fontify-buffer)) (define-key esc-map "\C-l" 'recenter-and-fontify-buffer) ;; ã«ã¼ã½ã«ä½ç½®ã®fa
åã®å¨ãã§å¼·å¼ã«æµè¡ããã¦ããã ã¨ãã£ã¿ã§è¡æ«ã«åå¨ããã¹ãã¼ã¹ã強調表示ããè¨å®ã ãã®è¨å®ãããã¨ã人ãæ¸ããã³ã¼ãã®è¡æ«ã®ã¹ãã¼ã¹ã大å¤æ°ã«ãªã£ã¦ãã¾ãã ãã®äººã«è¨å®ãæ¼ãä»ãã¦â¦ã¨ãã£ãä¼æåãæã¡ã¾ããåãæ±ã注æã ãã®è¨å®ã®æµè¡ãå§ãã段éã§ã¯ã Subversionã®å·®åã§ãã©ããå¤ãã£ãã®ï¼ãã¨æããããªå·®åãå¤ãåºç¾ãã¾ãã .emacs (when (boundp 'show-trailing-whitespace) (setq-default show-trailing-whitespace t)) .vimrc highlight WhitespaceEOL ctermbg=red guibg=red match WhitespaceEOL /\s\+$/ 追è¨ãã®1 Vimã§tabã使ã£ã¦ããã¨ãï¼ã¤ã以éã®ã¿ãã§å¼·èª¿è¡¨ç¤ºãããªãããã ã 2007-09-0
ã¦ãã¦ã§ã¯å°æ°æ´¾ãªEmacsã¦ã¼ã¶ã®bokkoã§ãã ä»åã¯èªåã§EmacsLisp(以ä¸ãelisp)ãæ¸ãã¦Emacsãæ¡å¼µããéã®Tipsã«ã¤ãã¦ç´¹ä»ãã¾ãã æ¡å¼µããéã«æ°ã«çãã¦ããã㨠Emacsãæ¡å¼µããä¸ã§è¦ãã¦ããã¹ããªã®ã¯Emacsä¸ã§è¡ãã対話çãªåä½ã¯ãM-x é¢æ°åãã§å®ç¾ã§ããã¨ãããã¨ã§ããä¾ãã°ãC-bã¯ã«ã¼ã½ã«ã1æååå·¦ã¸æ»ãã¾ãããããã¯ãM-x backward-charãã¨ã¿ã¤ããããã¨ã¨åãã§ããããC-bãæ¼ãã«ãã(å¤åç§ã ãã§ã)ã®ã§ããã°ã以ä¸ã®ãããªelispãè©ä¾¡ãã¦ãã¼ãã¤ã³ããå¤æ´ãããã¨ãã§ãã¾ãã (global-set-key "\C-l" 'backward-char) Emacsã§ã¯ãã®ãããªãã¼ãã¤ã³ãã«éãããããããæä½ãelispã使ã£ã¦å¤æ´ããããæ°ãã«å®ç¾©ãããã¨ãã§ãã¾ããé¢æ°åãããã¯ãã¼ãã¤ã³ãã®ä¸æ¹ã
pukiwiki-mode.el ã試ãã¦ã¿ã¾ããã ãã㯠Emacs ã§pukiwikiãç·¨éã»é²è¦§ã§ããåªããã®ã§ãã æè¿é·æãæ¸ããã¨ãããã®ã§ Emacs ã§ç·¨éã§ããã便å©ããªã¨æãã è¨å®ãã¦ã¿ãã®ã§ãããåã®ç°å¢(Emacs + Mona Wiki)ã§ã¯ãã¾ãåããªãã£ãã®ã§ã深追ããã¾ãã£ã¦ä½ã¨ãã´ãªæ¼ããã¦ã¾ãã Basicèªè¨¼ã®çªç ´ãããã§åã£ã¦ããã®ãèªä¿¡ç¡ãï¼ãã¾ãåãã¦ãããã©ï¼ã (setq pukiwiki-auto-insert t) (autoload 'pukiwiki-edit "pukiwiki-mode" nil t) (autoload 'pukiwiki-index "pukiwiki-mode" nil t) (autoload 'pukiwiki-edit-url "pukiwiki-mode" nil t) (setq pukiwik
æè¿emacsã«ããããã«ãã«é¢ããæ©è½ããããã使ãããªããããã«ãªã£ã¦ãã¾ããã(nâââ)ηï¾ãC-h fã¨ãC-h iã¨ãC-h bã¨ãC-h vã¨ãC-h cã¨ã使ãã¾ããã§ãï½ ã¡ãªã¿ã«èªåããã«ãã§è¯ã使ãæ©è½ã¯ä»¥ä¸ã®ãããªæãã§ãã C-h f é¢æ°ã®æå³ãç¥ã ããããã 使ç¨é »åº¦ãâââââ ;ãè¶ ä½¿ãã便å©ãã C-h v å¤æ°ã®æå³ãç¥ãããããããããããã使ç¨é »åº¦ãâââãã ; ã¾ããããã使ããé¢æ°ã»ã©ã§ã¯ãªããã© C-h b apropos command æ£è¦è¡¨ç¾ã³ãã³ã調æ»ã使ç¨é »åº¦ãâââãã ; 使ãããªãã¨ããã便å©ããããã使ãããªãã¦ããªãã®ã§é å¼µã£ã¦ä½¿ã£ã¦ãã¨ãããããã使ãããªããããã«ãªãã¨ä¸äººåã¨ãã£ãã¨ããã㪠C-h d apropos document æ£è¦è¡¨ç¾doc調æ»ããã使ç¨é »åº¦ãâââãã ; åä¸.ãã¯ã便å©ãããã使
Emacs 㧠JavaScript ã®ã·ã³ã¿ãã¯ã¹ã¨ã©ã¼ãæ¤åºãã ããèªãã§ããå°å ¥ããflymakeãä¸è¨ãµã¤ãã®ãå°ãæ¹é ãããperlã§ãã§ããã®ã§ãã¾ã¯jsã¨perlã§ãªã¢ã«ã¿ã¤ã ã§ã·ã³ã¿ãã¯ã¹ã¨ã©ã¼ãã§ãã¯ãã§ãã¦ããã åã¯ãããtypoããããã¨æãã®ã ãã©ãããå°å ¥ãã¦ããtypoã§ã¯ã¾ããã¨ãããã¶ãæ¸ã£ãããããªãã¨ãã¾ãelispã®ã²ã¨ã¤ã«ãªã£ã¦ãã ã¡ãªã¿ã«perlçã¯ãããªæãã«ãã¦ããã (require 'flymake) ;; flymake for perl (defvar flymake-perl-err-line-patterns '(("\\(.*\\) at \\([^ \n]+\\) line \\([0-9]+\\)[,.\n]" 2 3 nil 1))) (defconst flymake-allowed-perl-file-name-m
ã¾ããã ãã®æç« ã§ã¯ãEmacsä¸ã®ã¢ããªã±ã¼ã·ã§ã³ããSSHãçµç±ãã¦ãããã¯ã¼ã¯ã«ã¢ã¯ã»ã¹ããæ¹æ³ãè¿°ã¹ã¦ãã¾ããç¡ä¿è¨¼ã§ããçç¬æ³¨æãæ¿¡ãã¦ãã¦æ»ãã¾ãã ã»ã¨ãã©ã®é¨å㯠ä¸éãããå ¬éãã¦ããEmacs with SSH ããã®ãã¯ãã§ãã æºå open-network-stream ã®ä»£æ¿ open-network-streamã®ä»£æ¿é¢æ°ãç¨æããããã«ãã¾ãã¯ä»¥ä¸ã®é¢æ°ãèããã (defun open-ssh-stream-internal (&rest plist) (let ((name (or (plist-get plist :name) name)) (buffer (or (plist-get plist :buffer) buffer)) (host (or (plist-get plist :host) host)) (service (or (plis
Emacsãã¾ã ã¤ã³ã¹ãã¼ã«ãã¦ããªã人ã¯ãã¤ã³ã¹ãã¼ã«ãã¦ããããã®å ãèªãã§ãã ããã å¯è½ãªéããJavaã¨ã®å¯¾æ¯ãããªãã説æãã¾ãã ç®æ¬¡ Emacs Lispã¨ã¯ éçºç°å¢ Emacs Lispã®é°å²æ°(Javaã¨ã®æ¯è¼) é¢æ°åè¨èª Emacs Lisp;è¨èªã®åºç¤ ãªãã§ããªãã¸ã§ã¯ã ã·ã³ãã« ã³ã³ã¹ã»ã«(ãªã¹ã) é¢æ° ãã®ä»(é£æ³ãªã¹ãããã¯ã¿ãããã·ã¥ãã¼ãã«) Emacsç¹æã®å(ãããã¡ããã¼ã«ãetc.) å®è·µ ã«ã¼ã使ã£ããè² ã? å¤æ°ã«ä»£å ¥ãããè² ã? Emacs Lispã¨ã¯ ãã¼ã±ãã£ã³ã°è¦ç´ ç¡ãã®ããwrite once, run anywhereããªè¨èªã§ãã Javaã®å ´åã次ã®æ¬ ç¹ãããã¾ãã ãã·ã³ã«ã¤ã³ã¹ãã¼ã«ããã¦ããä¿è¨¼ãç¡ã ä»äººã®ãã·ã³ã«åæã«ã¤ã³ã¹ãã¼ã«ããã®ã¯è¿·æ Emacs Lispã®å ´åãä¸ã®åé¡ãããã¾ããã
Menu ã¯ãã âãtips âãTipsDirectory âãMemo âããã¥ã¼ã¹ âãéè« âãéç¨ã¨ã âã質åç®± âãQuickTour âãå±¥æ´ NetInstaller âãã¤ã³ã¹ãã¼ã«æ¹æ³ âãããã±ã¼ã¸ä¸è¦§ ææ¸ä½æ âãåãã¦ã®xyzzy âããªãã¡ã¬ã³ã¹ âãQandA âãç¨èªé ããã°ã©ãã³ã° âãxyzzyã§ããã°ã©ãã³ã° ä» âãtrash âãGames âãã¢ã³ã±ã¼ã Emacs風ãã¼ãã¤ã³ãã«è¿ã¥ãã â ãã¡ã¤ã«å㯠emacskey.l ã¾ã㯠rms.l ï¼ï¼ ã¨ããããå¿ è¦æå°éãªãã®ããã足ããªããã®ã¯è¿½å ãã¦ãã ããã ; key bind (global-set-key #\C-/ 'undo) (global-set-key #\M-v 'previous-page) (global-s
back ã¯ããã« ãã®ããã¥ã¢ã«ã¯ emacs (ããã㯠mule) ã使ãã¯ããã¦ã¾ã éããªãé 㮠人ã®ããã®ãã®ã§ããemacs ãä¸åº¦ã使ã£ããã¨ã®ãªã人ã¯æ®å¿µãªãã 対象ã¨ãã¦ãã¾ãã (ãããã人ã«ã¯ emacs ä»å±ã®ãã¥ã¼ããªã¢ã«ããããã¾ã)ã ãããèªãã§ã emacs ãå¿«é©ã«ä½¿ããããã«ãªããã©ããã¯ããªã次第ã§ãã emacs ã¯ãã¦ã¹ãã«ã¼ã½ã«ãã¼ã§æä½ãããã¨ãã§ãã¾ããã ãããã使ã£ã¦ããããã§ã¯ä¸éããªãã¨ãããã¨ã è¦ãã¦ããã¦ãã ããããã®ããã¥ã¢ã«ã¯ããã®äººã«ãèªããããã«æ¸ãã ã¤ããã§ãããåºæ¬çã« csc (æ±å·¥å¤§ æ å ±å·¥å¦ç§ è¨ç®æ©å®¤) 㧠emacs ã 使ç¨ãã人ã対象ã¨ãã¦ãã¾ãããã®ãããæ¥æ¬èªå ¥åç°å¢ãã¡ã¼ã«ç°å¢ã«ã¤ãã¦ã¯ å¿ ãããããªãã®ãµã¤ãã¨ã¯ä¸è´ããªãããããã¾ããã®ã§æ³¨æãã¦ãã ããã åºæ¬çãªã㨠ãã¡ã¤ã«æä½ ã«ã¼
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}