X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/c44ace121a47611a449c8755506f6bb5eeaf1336..4e0afb99adeb6c013635ad7cf01d42416fb101b1:/init.org?ds=sidebyside diff --git a/init.org b/init.org index b5f0618..8763a02 100644 --- a/init.org +++ b/init.org @@ -646,7 +646,7 @@ Enable =winner-mode=. (winner-mode 1) #+end_src -*** Close =*compilation*= on success +*** COMMENT Close =*compilation*= on success #+begin_src emacs-lisp (setq compilation-exit-message-function @@ -827,7 +827,8 @@ file. ',file-tangle-start-time))) "")) (when amin-async-tangle-post-compile - (compile amin-async-tangle-post-compile))) + (save-window-excursion + (compile amin-async-tangle-post-compile)))) (message "Tangling %s failed" ,file-nodir)))))))) (add-to-list @@ -979,6 +980,13 @@ There's no way I could top that, so I won't attempt to. '(("default" ("dired" (mode . dired-mode)) ("org" (mode . org-mode)) + ("gnus" + (or + (mode . gnus-group-mode) + (mode . gnus-summary-mode) + (mode . gnus-article-mode) + ;; not really, but... + (mode . message-mode))) ("web" (or (mode . web-mode) @@ -988,20 +996,21 @@ There's no way I could top that, so I won't attempt to. ("shell" (or (mode . eshell-mode) - (mode . shell-mode))) - ("notmuch" (name . "\*notmuch\*")) + (mode . shell-mode) + (mode . term-mode))) ("programming" (or (mode . python-mode) + (mode . c-mode) (mode . c++-mode) - (mode . emacs-lisp-mode))) + (mode . emacs-lisp-mode) + (mode . scheme-mode) + (mode . haskell-mode) + (mode . lean-mode))) ("emacs" (or (name . "^\\*scratch\\*$") - (name . "^\\*Messages\\*$"))) - ("slack" - (or - (name . "^\\*Slack*")))))) + (name . "^\\*Messages\\*$")))))) (ibuffer-formats '((mark modified read-only locked " " (name 18 18 :left :elide)