ENH make time grid more concise

This commit is contained in:
Nathan Dwarshuis 2022-05-07 22:55:08 -04:00
parent af50a3e8ff
commit 3be754ab50
1 changed files with 10 additions and 0 deletions

View File

@ -2737,6 +2737,16 @@ Make tags appear on the right side of the screen.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq org-agenda-tags-column 'auto) (setq org-agenda-tags-column 'auto)
#+END_SRC #+END_SRC
***** time grid
#+begin_src emacs-lisp
(let ((intervals (->> (--unfold (when (<= it 20) (cons it (1+ it))) 8)
(--map (* 100 it)))))
(setq org-agenda-time-grid
`((daily today require-timed remove-match)
,intervals
"......" "----------------")))
#+end_src
***** prefix format ***** prefix format
:PROPERTIES: :PROPERTIES:
:ID: e0e6d1e6-889d-489a-a542-f750551fd765 :ID: e0e6d1e6-889d-489a-a542-f750551fd765