commit cd99e89b42c696fc19b650f542445981be9244e7 parent 48a8e783f258c0634c93a17b1e15674b8d6ac4cb Author: Alex Balgavy <alex@balgavy.eu> Date: Sat, 12 Mar 2022 17:09:44 +0100 emacs: fix alignment in agenda column mode Diffstat:
M | emacs/config.org | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -1231,6 +1231,18 @@ I want column view to look like this: (setq org-columns-default-format "%7TODO (To Do) %32ITEM(Task) %TAGS(Tags) %11CLOCKSUM_T(Clock) %8Effort(Effort){:}") #+end_src +Fix column alignment in agenda. Unfortunately that means I have to +decrease the size of the date-today font. But I don't have any other +solution atm. + +#+begin_src emacs-lisp + (set-face-attribute 'org-column nil + :height (face-attribute 'default :height) + :family (face-attribute 'default :family)) + (set-face-attribute 'org-agenda-date-today nil + :height (face-attribute 'default :height)) +#+end_src + *** Calculate time since timestamp #+begin_src emacs-lisp (defun za/org-time-since ()