forked from colonelpanic/dotfiles
[Emacs] Janky org tweaks for agenda behavior
This commit is contained in:
parent
989f9189be
commit
d5bc284d3d
@ -2237,9 +2237,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
(call-interactively 'align-regexp)))
|
(call-interactively 'align-regexp)))
|
||||||
(defun imalison:align-whitespace ()
|
(defun imalison:align-whitespace ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(align-regexp
|
(align-regexp (region-beginning) (region-end)
|
||||||
(region-beginning) (region-end)
|
"\\(\\s-*\\)\\s-" 1 1 t))
|
||||||
"\\(\\s-+\\)") 0 1 t)
|
|
||||||
(defun imalison:align-to-character (character)
|
(defun imalison:align-to-character (character)
|
||||||
(interactive
|
(interactive
|
||||||
(list (read-string "Character to align to " "=")))
|
(list (read-string "Character to align to " "=")))
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
(use-package org
|
(use-package org
|
||||||
:straight
|
:straight
|
||||||
(org :type git :host github :repo "colonelpanic8/org-mode" :local-repo "org"
|
(org :type git :host github :repo "colonelpanic8/org-mode" :local-repo "org"
|
||||||
:branch "add-org-agenda-transient"
|
:branch "my-main"
|
||||||
:depth full :pre-build (straight-recipes-org-elpa--build) :build
|
:depth full :pre-build (straight-recipes-org-elpa--build) :build
|
||||||
(:not autoloads) :files
|
(:not autoloads) :files
|
||||||
(:defaults "lisp/*.el" ("etc/styles/" "etc/styles/*")))
|
(:defaults "lisp/*.el" ("etc/styles/" "etc/styles/*")))
|
||||||
|
@ -128,6 +128,10 @@ We're going to use this to write separate parts of our config to different secti
|
|||||||
"BACKLOG(b!)" "|" "DONE(d!)" "HANDLED(h!)" "EXPIRED(e!)"
|
"BACKLOG(b!)" "|" "DONE(d!)" "HANDLED(h!)" "EXPIRED(e!)"
|
||||||
"CANCELED(c!)")))
|
"CANCELED(c!)")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Skip showing deadline when we are scheduled
|
||||||
|
#+begin_src emacs-lisp :tangle org-config-custom.el
|
||||||
|
(org-agenda-skip-deadline-prewarning-if-scheduled t)
|
||||||
|
#+end_src
|
||||||
* Config
|
* Config
|
||||||
** Miscellaneous Functions
|
** Miscellaneous Functions
|
||||||
#+begin_src emacs-lisp :tangle org-config-config.el
|
#+begin_src emacs-lisp :tangle org-config-config.el
|
||||||
|
Loading…
Reference in New Issue
Block a user