Emacs

org-mode

#+TITLE:     Project: Name
#+AUTHOR:    Joon Ro
#+EMAIL:     joonhyoung.ro@gmail.com
#+DESCRIPTION: org file for the project
#+CATEGORY: CATEGORY
#+STARTUP: overview

* Literature
* Feedback
* Tasks
* Logs
* Schedules
* Notes
* Events

CUA-Mode

(cua-mode t)
(setq cua-auto-tabify-rectangles nil)  ; Don't tabify after rectangle commands
(setq cua-keep-region-after-copy t)  ; Standard Windows behavior

Clipboard

(transient-mark-mode 1)  ; no region when it is not highlighted
(setq select-active-regions nil)  ; stops active region automatically setting primary selection

; OS dependent settings
(cond ((eq system-type 'gnu/linux)
         (progn
           (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
         ))
      ((eq system-type 'windows-nt)
         (progn
           (setq interprogram-paste-function 'x-selection-value)
         ))
)

Auto Complete

Tab completion does not work in org-mode

http://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg00180.html

org mode somehow (I have no idea how or why) manages to distinguish between TAB and C-i and this distinction is inherited by minor modes operating within an org mode buffer. For auto-complete, the fix is easy:

(require 'auto-complete)
(require 'auto-complete-config)
(ac-config-default)
;; (define-key ac-complete-mode-map "\t" 'ac-expand)
(define-key ac-complete-mode-map [tab] 'ac-expand)     ; <<--- add this line
;; (define-key ac-complete-mode-map "\r" 'ac-complete)

I’ve included two commented out lines: they are the defaults set by auto-complete. I found, before adding the annotated line, that C-i worked as expected within an auto-complete pop-up but the tab key didn’t. With this key binding, it does.

Windows specific

Aspell

http://www.emacswiki.org/emacs/AspellWindows

  1. Download Aspell executable (Full installer) and at least one dictionary (aspell-en-0.50-2-3.exe) from http://aspell.net/win32/.

  2. Install Aspell-0-50-3-3-Setup and then Aspell-en-0.50-2-3.

  3. Add the following to your ~/.emacs file:

    (add-to-list 'exec-path "C:/Program Files (x86)/Aspell/bin/")
    (setq ispell-program-name "aspell")
    (setq ispell-personal-dictionary "~/.emacs/.ispell")
    (require 'ispell)
    

org-mode: Google calendar sync

  1. Install awk

  2. Install cron for windows

  3. Install cURL:

    $ cinst curl
    
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.