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

This commit is contained in:
Marcus Kammer 2021-10-18 08:29:44 +02:00
commit 7dc430c9c6
4 changed files with 15 additions and 20 deletions

View file

@ -1,9 +1,9 @@
(require 'ox-latex) (with-eval-after-load 'ox-latex
(add-to-list 'org-latex-classes (add-to-list 'org-latex-classes
'("koma-article" '("koma-article"
"\\documentclass{scrartcl}" "\\documentclass{scrartcl}"
("\\section{%s}" . "\\section*{%s}") ("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))

View file

@ -1,5 +1,3 @@
(require 'ox-latex)
(defun mk-show-modeline () (defun mk-show-modeline ()
(interactive) (interactive)
(setq mode-line-format (setq mode-line-format
@ -53,15 +51,6 @@
(interactive) (interactive)
(me/split-windows-vertical 3)) (me/split-windows-vertical 3))
(add-to-list 'org-latex-classes
'("koma-article"
"\\documentclass{scrartcl}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
;; Set transparency of emacs ;; Set transparency of emacs
(defun transparency (value) (defun transparency (value)
"Sets the transparency of the frame window. 0=transparent/100=opaque" "Sets the transparency of the frame window. 0=transparent/100=opaque"

View file

@ -349,6 +349,7 @@
(use-package csv-mode) (use-package csv-mode)
(use-package elfeed (use-package elfeed
:bind ("C-x w" . elfeed)
:config :config
(setq elfeed-feeds (setq elfeed-feeds
'("http://nullprogram.com/feed/" '("http://nullprogram.com/feed/"
@ -371,6 +372,9 @@
"https://uxmovement.com/feed" "https://uxmovement.com/feed"
"https://www.uxbeginner.com/feed/" "https://www.uxbeginner.com/feed/"
"https://jeffgothelf.com/feed/" "https://jeffgothelf.com/feed/"
"https://irreal.org/blog/?feed=rss2"
"https://emacs.stackexchange.com/feeds"
"https://www.planetpython.org/rss20.xml"
"https://www.phoronix.com/rss.php"))) "https://www.phoronix.com/rss.php")))
(use-package smartparens) (use-package smartparens)

View file

@ -37,6 +37,8 @@
("\\?\\?\\?+" . "#dc752f"))) ("\\?\\?\\?+" . "#dc752f")))
'(initial-buffer-choice "~/Documents/journal/notes.org") '(initial-buffer-choice "~/Documents/journal/notes.org")
'(initial-frame-alist '((fullscreen . maximized))) '(initial-frame-alist '((fullscreen . maximized)))
'(ispell-dictionary "de_DE,de_CH,en_GB,en_US")
'(ispell-program-name "hunspell")
'(org-modules '(org-modules
'(ol-bbdb ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail org-tempo ol-w3m orgtbl-sqlinsert)) '(ol-bbdb ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail org-tempo ol-w3m orgtbl-sqlinsert))
'(org-plantuml-jar-path "~/.local/bin/plantuml.jar") '(org-plantuml-jar-path "~/.local/bin/plantuml.jar")