mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
Windows Servers diary
This commit is contained in:
parent
21e392eb31
commit
b854eb3489
1 changed files with 13 additions and 1 deletions
|
|
@ -259,9 +259,21 @@
|
|||
|
||||
(setq org-agenda-span 'day)
|
||||
|
||||
(defun days-since (date)
|
||||
(let ((target-date (date-to-time date))
|
||||
(current-date (current-time)))
|
||||
(ceiling
|
||||
(time-to-number-of-days
|
||||
(time-subtract current-date target-date)))))
|
||||
|
||||
(setq org-agenda-custom-commands
|
||||
`(("p" . "\tprod")
|
||||
,@(agenda-suite "all" "pa" "prod")))
|
||||
,@(agenda-suite "all" "pa" "prod")
|
||||
("w" "\tWindows Diary"
|
||||
((agenda ""
|
||||
((org-agenda-start-day "2025-10-29")
|
||||
(org-agenda-start-on-weekday 3)
|
||||
(org-agenda-span (days-since "2025-10-29"))))))))
|
||||
|
||||
(setq org-outline-path-complete-in-steps nil)
|
||||
(setq org-refile-use-outline-path t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue