From 7eef2fed276fec4397e2259b21141151e5764cfe Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Tue, 21 Feb 2023 20:33:52 -0800 Subject: [PATCH] Update config. --- README.md | 9 +++++++++ elisp/custom.el | 2 +- elisp/ibuffer-settings.el | 5 +---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a55516c..b9f58e3 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,15 @@ git clone git@git.xchg.sh:angrygoats/emacs-config.git .emacs.d ![emacs screenshot](emacs.png) +## Troubleshooting + +Occasionally there are issues with packages getting installed. Sometimes `magit` for example will not install correctly. In `init.el` you will find the +`load-library` lines that load nearly everything in this configuration. The order is important. Where it breaks will usually help you binary-search your +way into the broken file. + +Most problems, however, can be fixed by `M-x load-file ~/.emacs.d/init.el` once more. This fixes problems caused by weird states during intiialization. +Alternatively you can always debug further or use `package-install` to install packages you care about. + ## Server By default `init.el` spins up an Emacs server as it's last task. You can set `EDITOR` to `emacsclient` in order to use your existing diff --git a/elisp/custom.el b/elisp/custom.el index 4702cfb..6eccd04 100644 --- a/elisp/custom.el +++ b/elisp/custom.el @@ -4,7 +4,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(company-jedi jedi hl-defined counsel rainbow-identifiers exwm-config all-the-icons-ibuffer slime ivy zerodark-theme zerodark neotree all-the-icons paredit flycheck aggressive-indent aggressive-indent-mode lsp-python-ms py-autopep8 pyenv-mode elpy lsp-ui use-package))) + '(rainbow-delimiters python-pytest json-mode company-jedi jedi hl-defined counsel rainbow-identifiers exwm-config all-the-icons-ibuffer slime ivy zerodark-theme zerodark neotree all-the-icons paredit flycheck aggressive-indent aggressive-indent-mode lsp-python-ms py-autopep8 pyenv-mode elpy lsp-ui use-package))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/elisp/ibuffer-settings.el b/elisp/ibuffer-settings.el index 1600df6..4e1f852 100644 --- a/elisp/ibuffer-settings.el +++ b/elisp/ibuffer-settings.el @@ -35,11 +35,8 @@ (name . "^\\.bbdb$") (name . "^\\.newsrc-dribble"))))))) +(setq ibuffer-expert t) (add-hook 'ibuffer-mode-hook (lambda () (ibuffer-auto-mode 1) (ibuffer-switch-to-saved-filter-groups "default"))) - -(add-hook 'ibuffer-mode-hook - (lambda () - (ibuffer-switch-to-saved-filter-groups "default")))