Merge branch 'main' of git.sr.ht:~marcuskammer/emacs.d

This commit is contained in:
Marcus Kammer 2024-12-02 16:02:48 +01:00
commit 022965a183
2 changed files with 6 additions and 25 deletions

29
init.el
View file

@ -718,8 +718,8 @@
:custom :custom
(plantuml-default-exec-mode 'jar) (plantuml-default-exec-mode 'jar)
(plantuml-jar-path "~/plantuml.jar") (plantuml-jar-path "~/plantuml.jar")
(org-plantuml-jar-path "~/plantuml.jar") (plantuml-jar-args `("-charset" "UTF-8" "-config" ,(expand-file-name "~/.emacs.d/plantuml/plantuml.config")))
(plantuml-java-args '("-DPLANTUML_DPI=300" "-Djava.awt.headless=true" "-jar" "--illegal-access=deny"))) (plantuml-java-args (list "-Dplantuml.include.path=\"~/.emacs.d/plantuml/\"" "-Djava.awt.headless=true" "-jar" "--illegal-access=deny")))
(use-package tex-mode (use-package tex-mode
:defer t :defer t
@ -1624,7 +1624,7 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
(org-attach-use-inheritance nil) (org-attach-use-inheritance nil)
(org-clock-out-remove-zero-time-clocks t) (org-clock-out-remove-zero-time-clocks t)
(org-clock-persist t) (org-clock-persist t)
(org-clock-rounding-minutes 30) (org-clock-rounding-minutes 5)
(org-confirm-babel-evaluate nil) (org-confirm-babel-evaluate nil)
(org-duration-format (quote h:mm)) (org-duration-format (quote h:mm))
(org-export-dispatch-use-expert-ui nil) (org-export-dispatch-use-expert-ui nil)
@ -1696,6 +1696,9 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
;; Customize the appearance of listings (source code blocks) ;; Customize the appearance of listings (source code blocks)
(org-latex-listings-options nil) (org-latex-listings-options nil)
(org-latex-inputenc-alist '((\"utf8\" . \"utf8x\"))) (org-latex-inputenc-alist '((\"utf8\" . \"utf8x\")))
(org-plantuml-exec-mode 'jar)
(org-plantuml-jar-path "~/plantuml.jar")
(org-plantuml-args `("-headless" "-charset" "UTF-8" "-config" ,(expand-file-name "~/.emacs.d/plantuml/plantuml.config")))
:config :config
(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs)) (add-to-list 'org-file-apps '("\\.pdf\\'" . emacs))
(if (eq system-type 'windows-nt) (if (eq system-type 'windows-nt)
@ -1801,26 +1804,6 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
'(("d" "default" plain '(("d" "default" plain
"%?" "%?"
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("r" "Research" plain
"* Hypothesis:\n%?\n* Methodology:\n* Results:\n* Conclusions:\n"
:if-new (file+head "research/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("m" "Meeting" plain
"* Participants:\n%?\n* Discussion topics:\n* Action points:\n"
:if-new (file+head "meetings/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("p" "Project" plain
"* Goals:\n%?\n* Milestones:\n* Resources:\n"
:if-new (file+head "projects/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("l" "Literature" plain
"* Authors:\n%?\n* Main theses:\n* Own thoughts:\n"
:if-new (file+head "literature/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("u" "user story" plain
"%?"
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+filetags: :user-story:\n#+created: %U\n#+last_modified: %U\n\n* Story Overview\n\n* Acceptance Criteria\n** Given [context]\n- When [action]\n- Then [expected outcome]\n\n** Given [context]\n- When [action]\n- Then [expected outcome]\n\n* Implementation Details\n** Technical Notes\n- [ ]\n\n** UI/UX Considerations\n- [ ]\n\n* Validation\n** Test Scenarios\n- [ ]\n\n** Definition of Done\n- [ ] Meets all acceptance criteria\n- [ ] Code reviewed\n- [ ] Tests written and passing\n- [ ] Documentation updated\n- [ ] UX review completed\n- [ ] Product owner sign-off\n\n* INVEST Checklist\n- [ ] Independent: Can this story be delivered independently?\n- [ ] Negotiable: Is there room for discussion about implementation?\n- [ ] Valuable: Does this deliver clear value to the user?\n- [ ] Estimable: Do we have enough information to estimate the work?\n- [ ] Small: Can this be completed in one sprint?\n- [ ] Testable: Do we have clear acceptance criteria?\n\n* References\n** Related Documents\n- Links: [[]]\n- Documentation: [[]]\n\n** Discussion Notes\n#+begin_quote\nRecord important discussions or decisions here\n#+end_quote\n\n")
:unnarrowed t)))) :unnarrowed t))))
(use-package org-roam-ui (use-package org-roam-ui

View file

@ -46,9 +46,7 @@
% Header and footer settings with scrlayer-scrpage instead of fancyhdr % Header and footer settings with scrlayer-scrpage instead of fancyhdr
\pagestyle{scrheadings} \pagestyle{scrheadings}
\clearpairofpagestyles \clearpairofpagestyles
\automark[section]{section}
\ohead{\pagemark} \ohead{\pagemark}
\ihead{\leftmark}
\setkomafont{pageheadfoot}{\normalfont} \setkomafont{pageheadfoot}{\normalfont}
\setkomafont{pagehead}{\normalfont} \setkomafont{pagehead}{\normalfont}