Removing Telega and other minor bug fixes

This commit is contained in:
Howard Abrams 2026-08-06 08:25:23 -07:00
parent 968885e5f3
commit e7f9677ee2
5 changed files with 12 additions and 50 deletions

1
.gitignore vendored
View file

@ -11,3 +11,4 @@
/ha-theme-results.org /ha-theme-results.org
/support/dashboard /support/dashboard
/.emacs.desktop /.emacs.desktop
/.*-notes.org

View file

@ -152,7 +152,7 @@ And point Emacs to it:
:config :config
(setq agent-shell-preferred-agent-config (agent-shell-anthropic-make-claude-code-config) (setq agent-shell-preferred-agent-config (agent-shell-anthropic-make-claude-code-config)
agent-shell-anthropic-claude-acp-command agent-shell-anthropic-claude-acp-command
`,(file-expand-wildcards "/opt/homebrew/Cellar/node/*/bin/claude-agent-acp"))) `,(file-expand-wildcards "/opt/homebrew/bin/claude-agent-acp")))
;; /opt/homebrew/Cellar/node/26.0.0/bin/claude-agent-acp ;; /opt/homebrew/Cellar/node/26.0.0/bin/claude-agent-acp
#+END_SRC #+END_SRC

View file

@ -146,7 +146,7 @@ Perhaps we can make it more attractive:
** Telega ** Telega
I'm thinking the [[https://zevlg.github.io/telega.el/][Telega package]] would be better than Bitlbee for Telegram communication. I'm thinking the [[https://zevlg.github.io/telega.el/][Telega package]] would be better than Bitlbee for Telegram communication.
#+begin_src emacs-lisp #+begin_src emacs-lisp :tangle no
(use-package telega (use-package telega
:config :config
(setq telega-chat-show-avatars nil (setq telega-chat-show-avatars nil
@ -167,7 +167,7 @@ I'm thinking the [[https://zevlg.github.io/telega.el/][Telega package]] would be
For some reason, you need [[https://github.com/Fanael/rainbow-identifiers][rainbow-identifiers]] to work, oh, I guess the docs state this. For some reason, you need [[https://github.com/Fanael/rainbow-identifiers][rainbow-identifiers]] to work, oh, I guess the docs state this.
In the Telega chats, lets turn on non-fixed-width fonts: In the Telega chats, lets turn on non-fixed-width fonts:
#+begin_src emacs-lisp #+begin_src emacs-lisp :tangle no
(use-package telega (use-package telega
:hook (telega-chat-mode . mixed-pitch-mode)) :hook (telega-chat-mode . mixed-pitch-mode))
#+end_src #+end_src

View file

@ -45,9 +45,9 @@ Let's turn off the menu and other settings:
** Mode Line ** Mode Line
Let's install and load some of packages from the [[https://github.com/hlissner/doom-emacs][Doom Emacs]] project, like [[https://github.com/seagle0128/doom-modeline][doom-modeline]] and maybe the themes: Let's install and load some of packages from the [[https://github.com/hlissner/doom-emacs][Doom Emacs]] project, like [[https://github.com/seagle0128/doom-modeline][doom-modeline]] and maybe the themes:
#+begin_src emacs-lisp :tangle no #+begin_src emacs-lisp
(use-package doom-modeline (use-package doom-modeline
:init :config
(setq doom-modeline-minor-modes nil (setq doom-modeline-minor-modes nil
doom-modeline-buffer-encoding nil doom-modeline-buffer-encoding nil
doom-modeline-major-mode-color-icon t doom-modeline-major-mode-color-icon t
@ -56,52 +56,13 @@ Let's install and load some of packages from the [[https://github.com/hlissner/d
doom-modeline-modal 'evil doom-modeline-modal 'evil
doom-modeline-lsp-icon t doom-modeline-lsp-icon t
doom-modeline-percent-position nil) doom-modeline-percent-position nil)
(doom-modeline-mode -1))
;; Weird bug:
(defvar helm-ag-show-status-function nil "Workaround")
(doom-modeline-mode 1))
#+end_src #+end_src
After reading [[https://blog.davep.org/2026/06/12/simplifying-my-mode-line.html][this essay]], I decided to try the lighter-weight [[https://github.com/emacsmirror/mood-line][mood-line]].
#+BEGIN_SRC emacs-lisp
(use-package mood-line
:ensure t
:init
(setq mood-line-glyph-alist mood-line-glyphs-fira-code
mood-line-format
(mood-line-defformat
:padding ""
:left
(((mood-line-segment-modal) . " ")
((mood-line-segment-anzu) . " ")
((mood-line-segment-buffer-status) . " ")
((mood-line-segment-buffer-name) . " ")
((format #(":%d" 0 2 (face mood-line-unimportant)) (line-number-at-pos)) . " ")
" ")
:right
(((mood-line-segment-process) . " ")
((mood-line-segment-major-mode) . " ")
((mood-line-segment-misc-info) . " ")
((mood-line-segment-vc) . " ")
((mood-line-segment-checker) . " "))))
(setq mood-line-segment-modal-evil-state-alist
`((normal ,(nerd-icons-mdicon "nf-md-alpha_n_circle") . font-lock-keyword-face)
(insert ,(nerd-icons-mdicon "nf-md-alpha_i_circle") . font-lock-variable-name-face)
(visual ,(nerd-icons-mdicon "nf-md-alpha_v_circle") . font-lock-string-face)
(replace ,(nerd-icons-mdicon "nf-md-alpha_r_circle") . font-lock-type-face)
(motion ,(nerd-icons-mdicon "nf-md-alpha_m_circle") . font-lock-constant-face)
(emacs ,(nerd-icons-mdicon "nf-md-alpha_r_circle") . font-lock-constant-face))))
#+END_SRC
Now, we turn it on for all modes:
#+BEGIN_SRC emacs-lisp
(use-package mood-line
:config
(mood-line-mode)
(which-function-mode))
#+END_SRC
* Window Dimmer * Window Dimmer
To make the active window /more noticeable/, we /dim/ the in-active windows with the [[https://github.com/gonewest818/dimmer.el][dimmer project]]. To make the active window /more noticeable/, we /dim/ the in-active windows with the [[https://github.com/gonewest818/dimmer.el][dimmer project]].

View file

@ -2,4 +2,4 @@
# name: title # name: title
# key: title # key: title
# -- # --
#+title: ${0} #+TITLE: ${0}