From c209a559eaf974adf23cf119ab0476939df68e2f Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 14 Jun 2021 08:39:58 +0200 Subject: [PATCH 01/10] Enable plantuml mode --- bundle/bundle--package.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index ad8c66bd..b589567e 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -297,3 +297,6 @@ (webjump-sites (append '(("Wikipedia_de" . [simple-query "de.wikipedia.org" "https://de.wikipedia.org/wiki/" ""])) webjump-sample-sites))) + +(use-package plantuml-mode + :mode "\\.puml?\\'") From 0e59998962f09c37bd0df245d1d1f393bc7a07d2 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 14 Jun 2021 08:40:39 +0200 Subject: [PATCH 02/10] Update win32 customfile --- bundle/custom_win32_EVG02667NB.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/custom_win32_EVG02667NB.el b/bundle/custom_win32_EVG02667NB.el index 7fa47440..7b28b529 100644 --- a/bundle/custom_win32_EVG02667NB.el +++ b/bundle/custom_win32_EVG02667NB.el @@ -47,7 +47,7 @@ ("\\?\\?\\?+" . "#dc752f"))) '(initial-buffer-choice "d:/UserData/marcus.kammer/OneDrive - Siemens AG/documents/Journal/notes.org") - '(initial-frame-alist '((vertical-scroll-bars) (fullscreen . fullscreen))) + '(initial-frame-alist '((fullscreen . maximize) (vertical-scroll-bars))) '(ispell-program-name "~/AppData/Local/Programs/msys64/mingw64/bin/aspell.exe") '(ls-lisp-dirs-first t) '(mouse-wheel-scroll-amount '(1 ((shift) . 1) ((meta)) ((control) . text-scale))) @@ -63,7 +63,7 @@ '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail org-tempo ol-w3m)) '(org-plantuml-jar-path "~/AppData/Local/Programs/plantuml/plantuml.jar") '(package-selected-packages - '(rust-mode org-web-tools emojify erc-image slime-company shrface helpful eglot xref yaml-mode webpaste web-mode use-package typescript-mode slime rainbow-delimiters racket-mode projectile powershell ox-reveal org-tree-slide olivetti ob-typescript ob-rust ob-http ob-go nov markdown-mode magit go-mode geiser-racket elpy eldoc doom-themes doom-modeline counsel all-the-icons-dired ace-window)) + '(plantuml-mode rust-mode org-web-tools emojify erc-image slime-company shrface helpful eglot xref yaml-mode webpaste web-mode use-package typescript-mode slime rainbow-delimiters racket-mode projectile powershell ox-reveal org-tree-slide olivetti ob-typescript ob-rust ob-http ob-go nov markdown-mode magit go-mode geiser-racket elpy eldoc doom-themes doom-modeline counsel all-the-icons-dired ace-window)) '(pdf-view-midnight-colors '("#b2b2b2" . "#292b2e")) '(plantuml-default-exec-mode 'jar) '(plantuml-jar-path "~/AppData/Local/Programs/plantuml/plantuml.jar") From 8c89f1f9c9ef7690a92163335fd9af8bd8bf9173 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 14 Jun 2021 08:44:09 +0200 Subject: [PATCH 03/10] Update bookmarks --- eww-bookmarks | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eww-bookmarks b/eww-bookmarks index cf554501..63b982f2 100644 --- a/eww-bookmarks +++ b/eww-bookmarks @@ -1,5 +1,6 @@ ;; Auto-generated file; don't edit -((:url "https://www3.ntu.edu.sg/home/ehchua/programming/webprogramming/HTTP_Basics.html" :title "In Introduction to HTTP Basics" :time "Tue Jun 8 16:07:52 2021") +((:url "https://sachachua.com/blog/" :title "Home :: Sacha Chua" :time "Thu Jun 10 15:12:50 2021") + (:url "https://www3.ntu.edu.sg/home/ehchua/programming/webprogramming/HTTP_Basics.html" :title "In Introduction to HTTP Basics" :time "Tue Jun 8 16:07:52 2021") (:url "https://doc.rust-lang.org/stable/book/" :title "The Rust Programming Language - The Rust Programming Language" :time "Mon Jun 7 18:56:46 2021") (:url "https://www.emacswiki.org/emacs/SiteMap" :title "EmacsWiki: Site Map" :time "Mon Jun 7 18:06:58 2021") (:url "http://www.sbcl.org/manual/" :title "SBCL 2.1.5 User Manual" :time "Fri Jun 4 16:58:29 2021") From c4c61183c7918c5c3ea81c4c9e00a4a7f4b85986 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Thu, 17 Jun 2021 08:32:26 +0200 Subject: [PATCH 04/10] Update win32 customfile --- bundle/custom_win32_EVG02667NB.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/custom_win32_EVG02667NB.el b/bundle/custom_win32_EVG02667NB.el index 7b28b529..0d5ee0ed 100644 --- a/bundle/custom_win32_EVG02667NB.el +++ b/bundle/custom_win32_EVG02667NB.el @@ -47,7 +47,7 @@ ("\\?\\?\\?+" . "#dc752f"))) '(initial-buffer-choice "d:/UserData/marcus.kammer/OneDrive - Siemens AG/documents/Journal/notes.org") - '(initial-frame-alist '((fullscreen . maximize) (vertical-scroll-bars))) + '(initial-frame-alist '((fullscreen . maximized) (vertical-scroll-bars))) '(ispell-program-name "~/AppData/Local/Programs/msys64/mingw64/bin/aspell.exe") '(ls-lisp-dirs-first t) '(mouse-wheel-scroll-amount '(1 ((shift) . 1) ((meta)) ((control) . text-scale))) From 7c07f5d821b02615e8d67da3a7b7dad21e999b74 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Thu, 17 Jun 2021 08:33:26 +0200 Subject: [PATCH 05/10] Update lob --- library-of-babel.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/library-of-babel.org b/library-of-babel.org index f6c758de..a73bbf17 100644 --- a/library-of-babel.org +++ b/library-of-babel.org @@ -679,3 +679,28 @@ this default behavior. Below is a list of such options: print(*org_list(unique(authors(commits(repo))))) #+end_src + +** Show gitlab issues + #+name: gitlab-issues + #+begin_src python + import requests + import feedparser + + + def show_issues(URL): + issues = [] + states = ['&label_name[]=Doing', + '&label_name[]=Ready', + '&label_name[]=In Progress'] + for state in states: + full_url = URL + state + response = requests.get(full_url) + feed = feedparser.parse(response.text) + for entry in feed.entries: + _id = entry['id'].split('/')[-1] + _url = entry['id'] + _title = entry['title'] + issues.append(f"[[{_url}][{_title} ({_id})]]") + for issue in issues: + print(issue) + #+end_src From d4a2778b7dc71fd6c89cae34b5bc6e4d3cc0f54f Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Thu, 17 Jun 2021 08:35:04 +0200 Subject: [PATCH 06/10] Show better looking epub books --- bundle/bundle--package.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 8da8c164..e0909dbb 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -71,7 +71,12 @@ (use-package nov :hook (nov-mode . olivetti-mode) + :init + (add-hook 'nov-mode-hook #'shrface-mode) :config + (require 'shrface) + (setq nov-shr-rendering-functions '((img . nov-render-img) (title . nov-render-title))) + (setq nov-shr-rendering-functions (append nov-shr-rendering-functions shr-external-rendering-functions)) (setq nov-text-width nil nov-variable-pitch nil)) From ffe6edeb59f06ce5ee0a281b838300bb1edc2db7 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Fri, 18 Jun 2021 11:48:21 +0200 Subject: [PATCH 07/10] Update win32 customfile --- bundle/custom_win32_EVG02667NB.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bundle/custom_win32_EVG02667NB.el b/bundle/custom_win32_EVG02667NB.el index 0d5ee0ed..2d567074 100644 --- a/bundle/custom_win32_EVG02667NB.el +++ b/bundle/custom_win32_EVG02667NB.el @@ -11,6 +11,7 @@ ["#21252B" "#E06C75" "#98C379" "#E5C07B" "#61AFEF" "#C678DD" "#56B6C2" "#ABB2BF"]) '(backup-directory-alist '(("." . "~/.backup_filez"))) '(beacon-color "#d54e53") + '(bookmark-default-file "~/emacs-bookmarks") '(company-quickhelp-color-background "#4F4F4F") '(company-quickhelp-color-foreground "#DCDCCC") '(default-frame-alist @@ -47,7 +48,7 @@ ("\\?\\?\\?+" . "#dc752f"))) '(initial-buffer-choice "d:/UserData/marcus.kammer/OneDrive - Siemens AG/documents/Journal/notes.org") - '(initial-frame-alist '((fullscreen . maximized) (vertical-scroll-bars))) + '(initial-frame-alist '((fullscreen . maximized))) '(ispell-program-name "~/AppData/Local/Programs/msys64/mingw64/bin/aspell.exe") '(ls-lisp-dirs-first t) '(mouse-wheel-scroll-amount '(1 ((shift) . 1) ((meta)) ((control) . text-scale))) @@ -63,7 +64,7 @@ '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe ol-rmail org-tempo ol-w3m)) '(org-plantuml-jar-path "~/AppData/Local/Programs/plantuml/plantuml.jar") '(package-selected-packages - '(plantuml-mode rust-mode org-web-tools emojify erc-image slime-company shrface helpful eglot xref yaml-mode webpaste web-mode use-package typescript-mode slime rainbow-delimiters racket-mode projectile powershell ox-reveal org-tree-slide olivetti ob-typescript ob-rust ob-http ob-go nov markdown-mode magit go-mode geiser-racket elpy eldoc doom-themes doom-modeline counsel all-the-icons-dired ace-window)) + '(unicode-fonts plantuml-mode rust-mode org-web-tools emojify erc-image slime-company shrface helpful eglot xref yaml-mode webpaste web-mode use-package typescript-mode slime rainbow-delimiters racket-mode projectile powershell ox-reveal org-tree-slide olivetti ob-typescript ob-rust ob-http ob-go nov markdown-mode magit go-mode geiser-racket elpy eldoc doom-themes doom-modeline counsel all-the-icons-dired ace-window)) '(pdf-view-midnight-colors '("#b2b2b2" . "#292b2e")) '(plantuml-default-exec-mode 'jar) '(plantuml-jar-path "~/AppData/Local/Programs/plantuml/plantuml.jar") From 1b57e756e77ad917130d5271d29188228ee60450 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Fri, 18 Jun 2021 11:49:10 +0200 Subject: [PATCH 08/10] Add package for unicode fonts --- bundle/bundle--package.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index e0909dbb..3503bc86 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -304,3 +304,7 @@ (use-package plantuml-mode :mode "\\.puml?\\'") + +(use-package unicode-fonts + :config + (unicode-fonts-setup)) From efc16a6dd16eefff1edc05e1438fbbb4d82bcd30 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Wed, 30 Jun 2021 07:55:11 +0200 Subject: [PATCH 09/10] Use 89 width for olivetti --- bundle/bundle--package.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 3503bc86..1b1c3107 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -48,7 +48,7 @@ (ivy-mode 1)) (use-package olivetti - :custom (olivetti-body-width 82)) + :custom (olivetti-body-width 89)) (use-package shrface :config From 2241c6c0fc3db97b47e70bd41fac5e155f6d80f1 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Wed, 30 Jun 2021 07:56:17 +0200 Subject: [PATCH 10/10] Update win32 customfile --- bundle/custom_win32_EVG02667NB.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bundle/custom_win32_EVG02667NB.el b/bundle/custom_win32_EVG02667NB.el index 2d567074..653fd3a9 100644 --- a/bundle/custom_win32_EVG02667NB.el +++ b/bundle/custom_win32_EVG02667NB.el @@ -15,10 +15,11 @@ '(company-quickhelp-color-background "#4F4F4F") '(company-quickhelp-color-foreground "#DCDCCC") '(default-frame-alist - '((font . "Fira Code-12") + '((font . "Fira Code-11") (width . 91) (height . 60) - (alpha . 100))) + (alpha . 100) + (vertical-scroll-bars))) '(delete-by-moving-to-trash t) '(diary-file "d:/UserData/marcus.kammer/OneDrive - Siemens AG/documents/Diary/diary")