From 78e5308f64f39029d84f8faa37d5eb97404e8b51 Mon Sep 17 00:00:00 2001 From: Seth Morabito Date: Sun, 20 Nov 2022 20:17:49 -0800 Subject: [PATCH] Mastodon mode --- .gitignore | 1 + configuration.org | 20 +++++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3137c51..fff1ad9 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ history ido.last image-dired mastodon.* +persist network-security.data org-roam.db places diff --git a/configuration.org b/configuration.org index 9a2954b..88a44c7 100644 --- a/configuration.org +++ b/configuration.org @@ -579,6 +579,18 @@ Turn on ANSI colors in the shell. (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) #+END_SRC +** Assembly Mode hack + +Tabs are all wrong in assembly mode, so here's a fix. + +#+BEGIN_SRC emacs-lisp + (add-hook 'asm-mode-hook (lambda () + (setq indent-tabs mode nil) + (electric-indent-mode) + (setq tab-stop-list (number-sequence 8 60 8)))) +#+END_SRC + + ** Line Numbers I like to see /(Line,Column)/ displayed in the modeline. @@ -1027,11 +1039,13 @@ with nicer looking defaults using Unicode. (setq auth-sources '("~/.authinfo.gpg"))) #+END_SRC -** Twittering +** Mastodon #+BEGIN_SRC emacs-lisp - (use-package twittering-mode - :ensure t) + (use-package mastodon + :ensure t + :config (setq mastodon-instance-url "https://vulpine.club/" + mastodon-active-user "tilton")) #+END_SRC ** Sly