2012年12月6日 星期四

如何用 Org-Mode 做笔记,以及更多emacs設定

http://kanedou.me/2010/10/note-with-orgmode/

沒有涉及技術層面,完全是一個使用導向的介紹,其中關於capture的說明非常少見的好

http://orgmode.org/manual/Capture.html#Capture

然而capture必需要先經過設定才能正常工作,所以請看看手冊

http://orgmode.org/worg/org-configs/org-customization-guide.html

然後我們會發現像org-directory之類的預設值也是可以改的,所以再看看手冊

並且特別關注文中的"Five small steps toward a personalized system"所提到的可自訂變數。它們可以在各別的org檔中設定,只是設定完要記得按C-c C-c以使設定生效。"Pretend to be a power-user"是下一個值得關注的段落,其中的設定都值得好好看看。

http://orgmode.org/worg/org-hacks.html

比上面那個連結更進階的設定,不過可能有需要時再搜尋就好了,光要把這篇看完不知道要多久…

emacs setup revisited


https://sites.google.com/site/steveyegge2/my-dot-emacs-file

一個範例檔,非常非常好,光它一開頭設定emacs root就很讚了。這位仁兄也是將整個設定放在獨立的~/emacs/目錄中,並納入cvs版本控管。他的作法比較是想在任何平台上都能執行。

http://tychoish.com/documentation/managing-emacs-configuraiton-and-lisp-systems/

另一個觀點,他把所有的設定檔放在~/emacs/,並納入git的版本控管(否則要把.emacs納入,就只能把家目錄整個納入git,那不是很嚇人嗎XD)。然後使用ln將 ~/emacs/config/$HOSTNAME.el連結到設定檔~/.emacs,以在不同機器上套用不同設定。其它如load-path的設定(語法見http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/Loading-Files.html),require的載入,都非常有用。

http://stackoverflow.com/questions/2079095/how-to-modularize-an-emacs-configuration

這個標題很聳動,不過目前我還沒有這個困擾;p

elisp


http://ergoemacs.org/emacs/elisp_basics.html

接下來可能會想自訂一些agenda commands,這時了解emacs的lisp--elisp--就非常有必要了

org mode 的file-based設定


http://orgmode.org/manual/In_002dbuffer-settings.html

hidestars,indent想必是非常的常用


沒有留言:

張貼留言