Category Archives: Emacs

.Emacs for Windows 29 Jun 2009

(setq load-path (cons “C:/Documents and Settings/csnyder/Desktop/My Dropbox/emacs_org/org-6.27a/” load-path)) (add-to-list ‘load-path “C:/Documents and Settings/csnyder/Desktop/My Dropbox/emacs_org/remember/”) (require ‘org) (require ‘remember) (require ‘org-install) (add-to-list ‘auto-mode-alist ‘(“\\.org\\’” . org-mode)) (global-set-key “\C-cl” ‘org-store-link) (global-set-key “\C-ca” ‘org-agenda) (global-set-key “\C-cb” ‘org-iswitchb) (global-font-lock-mode 1) ; for all buffers … Continue reading

Posted in Emacs | Comments Off

dot emacs file mac 19June2009

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 … Continue reading

Posted in Emacs | Tagged | Comments Off

Repeating events in org-mode

This is from org mode forum: I am reading the Org-mode Release 6.27a manual to learn new things. and just discovered the C-c C-x c (clone subtree) command. This makes copies of a tree and inserts them as siblings. The … Continue reading

Posted in Emacs | Comments Off

Emacs: Writing a Macro

To start defining a macro, press F3 or C-x (.[2] The abbreviation Def appears on the mode line, showing that you are in macro definition mode. In this mode, Emacs records all the keystrokes that you type, whether they are … Continue reading

Posted in Emacs | Comments Off

Emacs: Interact with User

Q: In emacs, how can one get input from the user after a prompt? (modified from Xah Lee site) A: “Interactive” turns a function into a command: 1 2 3 4 5 6 (defun irc-join (chan) "join an IRC channel" … Continue reading

Posted in Emacs | Comments Off

Emacs: Color themes

To put in color themes: 1. Download the themes, and put them in a folder (A windows example would be): “c:/Program File/Emacs/emacs/lisp/your_color_folder/” 2. Emacs must of course be able to find the files. You can check the “load path” (= … Continue reading

Posted in Emacs | Comments Off