From 5224a4b4defc46be70fad1e8535b92e8c4d63097 Mon Sep 17 00:00:00 2001 From: tfheen Date: Fri, 16 May 2008 08:16:44 +0000 Subject: [PATCH] Clean up setqs a little bit git-svn-id: file:///svn/tfheen/trunk/dotfiles@1236 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- emacs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/emacs b/emacs index 49867cc..ce4e3e5 100644 --- a/emacs +++ b/emacs @@ -323,16 +323,19 @@ (setq org-remember-templates '((?t "* TODO %?\n %i\n %a" "~/svn/plans/todo.org") (?a "* Appointment: %?\n%^T\n%i\n %a" "~/svn/plans/todo.org"))) - (setq remember-annotation-functions '(org-remember-annotation)) - (setq remember-handler-functions '(org-remember-handler)) + (setq remember-annotation-functions '(org-remember-annotation) + remember-handler-functions '(org-remember-handler) + org-return-follows-link t + org-todo-keywords '("TODO" "STARTED" "WAITING" "DONE") + org-agenda-include-diary t + org-agenda-include-all-todo t + org-tags-column (* -1 (- (frame-width) 10) + org-agenda-align-tags-to-column (- (frame-width) 10))) + (eval-after-load 'remember '(add-hook 'remember-mode-hook 'org-remember-apply-template)) (global-set-key (kbd "C-c r") 'remember) - (setq org-return-follows-link t) - (setq org-todo-keywords '("TODO" "STARTED" "WAITING" "DONE")) - (setq org-agenda-include-diary t) - (setq org-agenda-include-all-todo t) (require 'org) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (global-set-key (kbd "C-c a") 'org-agenda) @@ -342,8 +345,6 @@ (face org-warning))) ("h" tags-todo "hjemme") ("j" tags-todo "jobb"))) - (setq org-tags-column (* -1 (- (frame-width) 10)) - org-agenda-align-tags-to-column (- (frame-width) 10))) (add-to-list 'window-size-change-functions (lambda (frame) (setq org-tags-column (* -1 (- (frame-width) 10)) -- 2.39.5