org-agenda-align-tags-to-column (- (frame-width) 10)
org-hide-leading-stars t
org-agenda-files '("~/svn/plans/todo.org")
- org-stuck-projects '("+LEVEL=2-neverstuck/-DONE" ("TODO" "NEXT" "NEXTACTION" "") ("APPOINTMENT") "")))
+ org-stuck-projects '("+LEVEL=2-neverstuck/-DONE" ("TODO" "NEXT" "NEXTACTION" "") ("APPOINTMENT") "")
+ org-clock-into-drawer nil))
(eval-after-load 'remember
(setq ts (+ ts (* 60 (third line))))
(setq tbl (cdr tbl))))))
+
+(defadvice current-time (after tfheen-floor-current-time activate disable)
+ (setq ad-return-value (seconds-to-time (* 900 (floor (time-to-seconds ad-return-value) 900)))))
+(defadvice org-clock-in (around tfheen-round-clock activate)
+ (ad-enable-advice 'current-time 'after 'tfheen-floor-current-time)
+ (ad-activate 'current-time)
+ ad-do-it
+ (ad-disable-advice 'current-time 'after 'tfheen-floor-current-time)
+ (ad-activate 'current-time))
+
+(defadvice current-time (after tfheen-ceiling-current-time activate disable)
+ (setq ad-return-value (seconds-to-time (* 900 (ceiling (time-to-seconds ad-return-value) 900)))))
+(defadvice org-clock-out (around tfheen-round-clock activate)
+ (ad-enable-advice 'current-time 'after 'tfheen-ceiling-current-time)
+ (ad-activate 'current-time)
+ ad-do-it
+ (ad-disable-advice 'current-time 'after 'tfheen-ceiling-current-time)
+ (ad-activate 'current-time))