Hi Travis,
On Fri, 15 Apr 2011 22:22:33 -0400
"Arnold, Travis" <[email protected]> wrote:
> emacs 22.1, that is in Mac OSX 10.6.6 and Orgmode 7.4
Since you are starting out, I would recommend to start with Emacs 23.2
if it is possible. There have been too many enhancements to make the
effort definitely worth it.
> ;; Org-mode settings
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
If you are using Emacs 23, the above line is optional.
> (global-set-key "\C-cl" 'org-store-link)
> (global-set-key "\C-ca" 'org-agenda)
> (global-font-lock-mode 1)
> (add-to-list 'load-path "/Users/Tmoney/org-7.4/lisp")
> (custom-set-variables
> ;; custom-set-variables was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(gud-gdb-command-name "gdb --annotate=1")
> '(org-agenda-files (quote ("~/org/Notes.org" "~/org/school.org"
> "~/org/Agenda.org"))))
> (setq org-agenda-files (list "~/org/Notes.org"
> "~/org/school.org"
> "~/org/Agenda.org"))
This line is not required as the last line in the custom-set-variable
block does the same function. If you intend to put all your agenda files
in the same directory (e.g. ~/org/) maybe you should consider using this
setting instead:
(custom-set-variables
;; other settings
'(org-agenda-files (quote ("~/org"))))
> (setq org-todo-keywords '((sequence "TODO(t)" "STARTED(s)"
> "WAITING(w@/!)" "|" "DONE(d)") (sequence "|" "CANCELED(c@/!)")))
> (setq org-log-done 'time)
I would recommend you use the "customize-variable" interface to
customise your org-mode setup.
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
This block does not close properly.
I am attaching a modified setup file. You could try customising
starting from that. Put it in your home and rename it to .emacs.
To start customising, after loading org just do:
M-x customize-variable
M above stands for meta. I don't know how the meta keys are mapped on a
Mac, but I think pressing ESC and x separately should do the trick.
This will prompt you for a variable to customise. The rest of the
interface is self explanatory.
You can use a similar interface to customise faces too.
M-x customize-face
Good luck.
--
Suvayu
Open source is the future. It sets us free.
;; load path for org-mode files
(add-to-list 'load-path "~/build/org-mode/lisp")
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(gud-gdb-command-name "gdb --annotate=1")
'(org-agenda-files (quote ("~/org")))
'(org-log-done (quote time))
'(org-todo-keywords (quote ((sequence "TODO(t)" "STARTED(s)" "WAITING(w@/!)"
"|" "DONE(d)" "CANCELLED(c@/!)")))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)