summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-07-03 23:55:34 +0200
committermms <michal@sapka.me>2024-07-03 23:55:34 +0200
commita4f57ffcf960345d44e01cc01a62d2b9d78d0a41 (patch)
tree86972166f7779c056986f172918e9ac0e25c413f
parent2aad862fe5b3b9718f02ea381fa93948b4f67ca8 (diff)
feat
-rw-r--r--mms-configuration.org9
-rw-r--r--mms-misc-irc.org26
-rw-r--r--mms-misc.org19
-rw-r--r--mms-ox-publish.org42
4 files changed, 45 insertions, 51 deletions
diff --git a/mms-configuration.org b/mms-configuration.org
index af22fde..35bc735 100644
--- a/mms-configuration.org
+++ b/mms-configuration.org
@@ -202,3 +202,12 @@ Dimish will hide them from the modeline, even if they are enabled.
(use-package transient
:ensure t)
#+end_src
+
+* Secrets
+
+#+begin_src emacs-lisp
+(setq auth-sources '((:source "~/.authinfo.gpg")))
+#+end_src
+
+#+RESULTS:
+| :source | ~/.authinfo.gpg |
diff --git a/mms-misc-irc.org b/mms-misc-irc.org
index b3a5ff9..476d86b 100644
--- a/mms-misc-irc.org
+++ b/mms-misc-irc.org
@@ -121,18 +121,18 @@ src:https://www.emacswiki.org/emacs/ErcNickColors
#+begin_src emacs-lisp
- (defun mms-irc-mode()
- "use this instance of Emacs for IRC"
- (interactive)
-
- (setq mms-bright-theme 'ef-cyprus
- mms-dark-theme 'ef-bio)
- (mms-dark-room-mode)
-
- (erc-tls :server "irc.tilde.chat" :port "6697"
- :nick "mms" :full-name "https://michal.sapka.me")
- (erc-tls :server "irc.libera.chat" :port "6697"
- :nick "mms" :full-name "https://michal.sapka.me")
- )
+ (defun mms-irc-mode()
+ "use this instance of Emacs for IRC"
+ (interactive)
+
+ (setq mms-bright-theme 'ef-cyprus
+ mms-dark-theme 'ef-bio)
+ (mms-dark-room-mode)
+
+ (erc-tls :server "irc.tilde.chat" :port "6697"
+ :nick "mms" :full-name "https://michal.sapka.me")
+ (erc-tls :server "irc.libera.chat" :port "6697"
+ :nick "mms" :full-name "https://michal.sapka.me")
+ )
#+end_src
diff --git a/mms-misc.org b/mms-misc.org
index 0b0c9dd..fd8636e 100644
--- a/mms-misc.org
+++ b/mms-misc.org
@@ -133,25 +133,6 @@ Listen.el is a new package for music playback.
#+RESULTS:
: [nil 26173 8423 527702 nil elpaca-process-queues nil nil 696999 nil]
-* Gnus
-
-Yeah, I'm trying it.
-
-#+begin_src emacs-lisp
- (use-package gnus
- :ensure nil
- :config
- (setq gnus-select-method '(nntp "news.gwene.org")) ;; Read feeds/atom through gwene
- (setq gnus-secondary-select-methods '((nntp "news.eternal-september.org"
- (nntp-open-connection-function
- nntp-open-tls-stream)
- (nntp-port-number 563)
- (nntp-address
- "news.eternal-september.org"))))
- )
-#+end_src
-
-
* Gaming
** Malyon
diff --git a/mms-ox-publish.org b/mms-ox-publish.org
index fd1847a..555dcd4 100644
--- a/mms-ox-publish.org
+++ b/mms-ox-publish.org
@@ -90,26 +90,30 @@ Finally, I want to have quick access
* Language tool
#+begin_src emacs-lisp
- (use-package languagetool
- :ensure t
- :commands (languagetool-check
- languagetool-clear-suggestions
- languagetool-correct-at-point
- languagetool-correct-buffer
- languagetool-set-language
- languagetool-server-mode
- languagetool-server-start
- languagetool-server-stop)
- :config
- (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8")
- languagetool-java-bin "doas"
- languagetool-console-command "/root/ltex/languagetool-commandline.jar"
- languagetool-console-arguments '("--languagemodel" "/var/ngrams/" "-l" "en-US")
- languagetool-server-command "/root/ltex/languagetool-server.jar"))
-
- (defun languagetool-console-command-exists-p () t )
+ (use-package languagetool
+ :ensure t
+ :commands (languagetool-check
+ languagetool-clear-suggestions
+ languagetool-correct-at-point
+ languagetool-correct-buffer
+ languagetool-set-language
+ languagetool-server-mode
+ languagetool-server-start
+ languagetool-server-stop)
+ :config
+ ;; (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8")
+ ;; languagetool-java-bin "doas"
+ ;; languagetool-console-command "/root/ltex/languagetool-commandline.jar"
+ ;; languagetool-console-arguments '("--languagemodel" "/var/ngrams/" "-l" "en-US")
+ ;; languagetool-server-command "/root/ltex/languagetool-server.jar")
+
+
+ (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8")
+ languagetool-server-urls "http://languagetool.org")
+ :init
+ (defun languagetool-console-command-exists-p () t ))
#+end_src
#+RESULTS:
-: languagetool-console-command-exists-p
+: [nil 26245 23595 987957 nil elpaca-process-queues nil nil 111999 nil]