<commit_before>

#+TITLE:	Org Configuration

#+AUTHOR:	Jaxson Van Doorn

#+EMAIL:	jaxson.vandoorn@gmail.com

#+OPTIONS:  num:nil



* Plug-Ins

** Install Org Mode

 #+BEGIN_SRC emacs-lisp

 (use-package org

     :ensure t)

 #+END_SRC



** Use Org Bullets

 #+BEGIN_SRC emacs-lisp

 (use-package org-bullets

     :ensure t)

 #+END_SRC



** Install Org Bootstrap Exporter

 #+BEGIN_SRC emacs-lisp

 (use-package ox-twbs

     :ensure t)

 #+END_SRC



* Behavior

** Show Agenda in Full Window

 #+BEGIN_SRC emacs-lisp

 (setq org-agenda-window-setup (quote current-window))

 #+END_SRC



** Insert New Line Before Each Entry

 #+BEGIN_SRC emacs-lisp

 (setq org-blank-before-new-entry (quote ((heading) (plain-list-item))))

 #+END_SRC



** Only Allow Item to Marked as Done When all Children are Done

 #+BEGIN_SRC emacs-lisp

 (setq org-enforce-todo-dependencies t)

 #+END_SRC



** Set Org Agenda Folder

 #+BEGIN_SRC emacs-lisp

 (setq org-agenda-files '("~/Documents/JVD Docs/Documents/"))

 #+END_SRC



** Change Org Ellipsis

 #+BEGIN_SRC emacs-lisp

 (setq org-ellipsis ".")

 #+END_SRC



** Set Todo Keywords

 #+BEGIN_SRC emacs-lisp

 (setq org-todo-keywords

     '((sequence "ARCADE" "UNFINISHED" "BEATEN" "COMPLETED"

                 "APPOINTMENT" "EXAM" "STUDY" "TODO"

                 "IN-PROGRESS" "NEAR-COMPLETION" "WAITING"

                 "REVIEW" "|" "DONE" "CANCELED")))



 (setq org-todo-keyword-faces

       '(

         ("ARCADE" . (:foreground "#9e94ff" :weight bold))

         ("UNFINISHED" . (:foreground "#ff7979" :weight bold))

         ("BEATEN" . (:foreground "#cbe3e7" :weight bold))

         ("COMPLETED" . (:foreground "#f4e27b" :weight bold))

         ("APPOINTMENT" . (:foreground "#caa36a" :weight bold))

         ("EXAM" . (:foreground "#fe94ff" :weight bold))

         ("STUDY" . (:foreground "#9e94ff" :weight bold))

         ("TODO" . (:foreground "#f4e27b" :weight bold))

         ("IN-PROGRESS" . (:foreground "#f7b75b" :weight bold))

         ("NEAR-COMPLETION" . (:foreground "#ff7979" :weight bold))

         ("WAITING" . (:foreground "#cbe3e7" :weight bold))

         ("REVIEW" . (:foreground "#95ffa1" :weight bold))

         ))

 #+END_SRC

** Timestamp on Task Completion

 #+BEGIN_SRC emacs-lisp

 (setq org-log-done (quote time))

 (setq org-log-redeadline (quote time))

 (setq org-log-reschedule (quote time))

 #+END_SRC

** Hide Indent Stars

 #+BEGIN_SRC emacs-lisp

 (setq org-hide-leading-stars t)

 #+END_SRC



** Make Tab Key Behave Normally in Source Blocks

 #+BEGIN_SRC emacs-lisp

 (setq org-src-tab-acts-natively t)

 #+END_SRC



** Disable Pop-Up Creation for Source Blocks

 #+BEGIN_SRC emacs-lisp

 (setq org-src-window-setup 'current-wndow)

 #+END_SRC

** Fontify Source Blocks

 #+BEGIN_SRC emacs-lisp

 (setq org-src-fontify-natively t)

 #+END_SRC

** Use XeLaTeX

 #+BEGIN_SRC emacs-lisp

 (setq org-latex-pdf-process

  '("xelatex -interaction nonstopmode %f"

     "xelatex -interaction nonstopmode %f"))

 #+END_SRC

* Functions

** Mark as Done and Archive

 #+BEGIN_SRC emacs-lisp

 (defun org-mark-done-and-archive ()

     "Mark the state of an org-mode item as DONE and archive it."

     (interactive)

     (org-todo 'done)

     (org-archive-subtree))

 #+END_SRC



* Mappings

** Org Link

 #+BEGIN_SRC emacs-lisp

 (define-key global-map "\C-cl" 'org-store-link)

 #+END_SRC



** Org Agenda

 #+BEGIN_SRC emacs-lisp

 (define-key global-map "\C-ca" 'org-agenda)

 #+END_SRC



** Org Archive and Mark as Done

 #+BEGIN_SRC emacs-lisp

 (define-key global-map "\C-cc" 'org-mark-done-and-archive)

 #+END_SRC



* Hooks

** Enable Bullet in Org

 #+BEGIN_SRC emacs-lisp

 (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))

 #+END_SRC



** Line Wrapping

 #+BEGIN_SRC emacs-lisp

 (add-hook 'org-mode-hook #'(lambda ()

      (visual-line-mode)))

 #+END_SRC



* Provide init-org as a Package

#+BEGIN_SRC emacs-lisp

(provide 'init-org)

#+END_SRC

<commit_msg>Change Org Agenda Location<commit_after>

#+TITLE:	Org Configuration

#+AUTHOR:	Jaxson Van Doorn

#+EMAIL:	jaxson.vandoorn@gmail.com

#+OPTIONS:  num:nil



* Plug-Ins

** Install Org Mode

 #+BEGIN_SRC emacs-lisp

 (use-package org

     :ensure t)

 #+END_SRC



** Use Org Bullets

 #+BEGIN_SRC emacs-lisp

 (use-package org-bullets

     :ensure t)

 #+END_SRC



** Install Org Bootstrap Exporter

 #+BEGIN_SRC emacs-lisp

 (use-package ox-twbs

     :ensure t)

 #+END_SRC



* Behavior

** Show Agenda in Full Window

 #+BEGIN_SRC emacs-lisp

 (setq org-agenda-window-setup (quote current-window))

 #+END_SRC



** Insert New Line Before Each Entry

 #+BEGIN_SRC emacs-lisp

 (setq org-blank-before-new-entry (quote ((heading) (plain-list-item))))

 #+END_SRC



** Only Allow Item to Marked as Done When all Children are Done

 #+BEGIN_SRC emacs-lisp

 (setq org-enforce-todo-dependencies t)

 #+END_SRC



** Set Org Agenda Folder

 #+BEGIN_SRC emacs-lisp

 (setq org-agenda-files '("~/Documents/JVD Docs/Documents/To Do.org"))

 #+END_SRC



** Change Org Ellipsis

 #+BEGIN_SRC emacs-lisp

 (setq org-ellipsis ".")

 #+END_SRC



** Set Todo Keywords

 #+BEGIN_SRC emacs-lisp

 (setq org-todo-keywords

     '((sequence "ARCADE" "UNFINISHED" "BEATEN" "COMPLETED"

                 "APPOINTMENT" "EXAM" "STUDY" "TODO"

                 "IN-PROGRESS" "NEAR-COMPLETION" "WAITING"

                 "REVIEW" "|" "DONE" "CANCELED")))



 (setq org-todo-keyword-faces

       '(

         ("ARCADE" . (:foreground "#9e94ff" :weight bold))

         ("UNFINISHED" . (:foreground "#ff7979" :weight bold))

         ("BEATEN" . (:foreground "#cbe3e7" :weight bold))

         ("COMPLETED" . (:foreground "#f4e27b" :weight bold))

         ("APPOINTMENT" . (:foreground "#caa36a" :weight bold))

         ("EXAM" . (:foreground "#fe94ff" :weight bold))

         ("STUDY" . (:foreground "#9e94ff" :weight bold))

         ("TODO" . (:foreground "#f4e27b" :weight bold))

         ("IN-PROGRESS" . (:foreground "#f7b75b" :weight bold))

         ("NEAR-COMPLETION" . (:foreground "#ff7979" :weight bold))

         ("WAITING" . (:foreground "#cbe3e7" :weight bold))

         ("REVIEW" . (:foreground "#95ffa1" :weight bold))

         ))

 #+END_SRC

** Timestamp on Task Completion

 #+BEGIN_SRC emacs-lisp

 (setq org-log-done (quote time))

 (setq org-log-redeadline (quote time))

 (setq org-log-reschedule (quote time))

 #+END_SRC

** Hide Indent Stars

 #+BEGIN_SRC emacs-lisp

 (setq org-hide-leading-stars t)

 #+END_SRC



** Make Tab Key Behave Normally in Source Blocks

 #+BEGIN_SRC emacs-lisp

 (setq org-src-tab-acts-natively t)

 #+END_SRC



** Disable Pop-Up Creation for Source Blocks

 #+BEGIN_SRC emacs-lisp

 (setq org-src-window-setup 'current-wndow)

 #+END_SRC

** Fontify Source Blocks

 #+BEGIN_SRC emacs-lisp

 (setq org-src-fontify-natively t)

 #+END_SRC

** Use XeLaTeX

 #+BEGIN_SRC emacs-lisp

 (setq org-latex-pdf-process

  '("xelatex -interaction nonstopmode %f"

     "xelatex -interaction nonstopmode %f"))

 #+END_SRC

* Functions

** Mark as Done and Archive

 #+BEGIN_SRC emacs-lisp

 (defun org-mark-done-and-archive ()

     "Mark the state of an org-mode item as DONE and archive it."

     (interactive)

     (org-todo 'done)

     (org-archive-subtree))

 #+END_SRC



* Mappings

** Org Link

 #+BEGIN_SRC emacs-lisp

 (define-key global-map "\C-cl" 'org-store-link)

 #+END_SRC



** Org Agenda

 #+BEGIN_SRC emacs-lisp

 (define-key global-map "\C-ca" 'org-agenda)

 #+END_SRC



** Org Archive and Mark as Done

 #+BEGIN_SRC emacs-lisp

 (define-key global-map "\C-cc" 'org-mark-done-and-archive)

 #+END_SRC



* Hooks

** Enable Bullet in Org

 #+BEGIN_SRC emacs-lisp

 (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))

 #+END_SRC



** Line Wrapping

 #+BEGIN_SRC emacs-lisp

 (add-hook 'org-mode-hook #'(lambda ()

      (visual-line-mode)))

 #+END_SRC



* Provide init-org as a Package

#+BEGIN_SRC emacs-lisp

(provide 'init-org)

#+END_SRC


{'fraction_non_alphanumeric': 0.5714823411329276, 'fraction_numerical': 0.004391192522426448, 'mean_word_length': 6.8999008919722495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 38, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1663815', 'n_tokens_mistral': 15896, 'n_tokens_neox': 15895, 'n_words': 728}