Packages
ELPA Repositories
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
유용한 패키지들
Smart Tabs: smart-tabs-mode
기타 패키징 시스템으로 el-get이 있다.
Cask를 사용하여 의존성 관리를 하면 편리하다.
Writeroom like modes
Screencast
https://www.reddit.com/r/emacs/comments/1yu2j0/generating_gifs_showing_emacs_features/
- LICEcap
- byzanz
Use Emacs on Mac OS X using iTerm2
https://coderwall.com/p/b7kx4a/using-cmd-as-option-in-emacs-iterm2
1. In the "Keys" tab in configuration, change "Left Command" to map to the "Right Option" key 2. Under the "Profiles" tab changed "Right Option" key to act as Esc
Org-mode에서 오류 발생할 때 대처법
Org 파일을 열 때, 아래와 같은 오류가 발생할 때가 있다.
Invalid function: org-babel-header-args-safe-fn
그럴 때는 ob-R.el을 찾아서, (describe function을 활용) "M-x byte-compile-file"을 실행해주면 된다.
WSL에서 콘솔 띄우지 않고 실행하기
http://stackoverflow.com/a/41229169/4809432
> wscript .\runHidden.vbs bash -c "DISPLAY=:0 xmessage 'hello, world' &"
runHidden.vbs
' Simple command-line help. select case WScript.Arguments(0) case "-?", "/?", "-h", "--help" WScript.echo "Usage: runHidden executable [...]" & vbNewLine & vbNewLine & "Runs the specified command hidden (without a visible window)." WScript.Quit(0) end select ' Separate the arguments into the executable name ' and a single string containing all arguments. exe = WScript.Arguments(0) sep = "" for i = 1 to WScript.Arguments.Count -1 ' Enclose arguments in "..." to preserver their original partitioning. args = args & sep & """" & WScript.Arguments(i) & """" sep = " " next ' Execute the command with its window *hidden* (0) WScript.CreateObject("Shell.Application").ShellExecute exe, args, "", "open", 0