diff options
| author | Jakob L. Kreuze | 2019-02-09 16:38:08 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-02-09 16:38:08 -0500 |
| commit | f86a59412b61a5978f78602d8b0fb5652463bfa7 (patch) | |
| tree | 37086ff6d880479df70848a75450a2b6f9ccf653 | |
| parent | 703f2c9a60773989a8e434d00b2e32a8cd9afcbd (diff) | |
Add a keybinding for cleaning up ERC's modeline addition, and remove my Gnus configuration (for now)
| -rw-r--r-- | jakob.org | 55 |
1 files changed, 12 insertions, 43 deletions
@@ -431,6 +431,16 @@ Interactive function for marking a channel's backlog as read in ZNC. (erc-send-message (format "clearbuffer %s" channel-to-clear))))) #+END_SRC +Interactive function for clearing out the list of active channels in the mode +line. + +#+BEGIN_SRC elisp +(defun clear-erc-track-list () + (interactive) + (setq erc-modified-channels-alist nil) + (erc-modified-channels-display)) +#+END_SRC + ERC tracking bar. Not mine. Shamelessly lifted from [[https://www.emacswiki.org/emacs/ErcBar][EmacsWiki]]. #+BEGIN_SRC elisp @@ -1223,49 +1233,6 @@ Enable Yasnippet globally. (yas-global-mode)) #+END_SRC -* Gnus - -Hide the modeline image. It's large enough to needlessly widen my modeline. - -#+BEGIN_SRC elisp -(use-package gnus - :config - (fset #'gnus-mode-line-buffer-identification #'identity) -#+END_SRC - -Show the most recent threads at the top of the summary buffer. - -#+BEGIN_SRC elisp - :init - (setq gnus-thread-sort-functions 'gnus-thread-sort-by-most-recent-number) -#+END_SRC - -Preference of hygene. See [[Filesystem]]. - -#+BEGIN_SRC elisp - :init - (setq gnus-init-file "~/.emacs.d/gnus" - gnus-startup-file "~/.newsrc" - gnus-directory "~/.local/share/gnus/News/" - gnus-article-save-directory "~/.local/share/gnus/News/" - gnus-kill-files-directory "~/.local/share/gnus/News/" - gnus-uu-default-dir "~/.local/share/gnus/News/" - gnus-agent-directory "~/.local/share/gnus/News/agent/" - gnus-x-face-directory "~/.local/share/gnus/News/x-faces" - nndiary-directory "~/.local/share/gnus/News/diary/" - nndraft-directory "~/.local/share/gnus/News/drafts/" - gnus-duplicate-file "~/.local/share/gnus/News/suppression" - gnus-cache-active-file "~/.local/share/gnus/News/cache/active" - gnus-cache-directory "~/.local/share/gnus/News/cache/" - nnfolder-newsgroups-file "~/.local/share/gnus/Mail/newsgroups" - gnus-home-directory "~/.local/share/gnus" - mail-source-directory "~/.local/share/gnus/Mail/" - message-directory "~/.local/share/gnus/Mail/" - smime-certificate-directory "~/.local/share/gnus/Mail/certs/" - smtpmail-queue-dir "~/.local/share/gnus/Mail/queued-mail/" - nsm-settings-file "~/.cache/emacs/network-security.data")) -#+END_SRC - * Elfeed Preference of hygene. See [[Filesystem]]. @@ -1455,6 +1422,7 @@ in [[IRC]]. (bind-key "C-c i" irc-map) (dolist (chord '("C-c i b" "C-c i c" + "C-c i f" "C-c i i" "C-c i s" "C-c i q" @@ -1466,6 +1434,7 @@ in [[IRC]]. (interactive) (clear-irc-buffer) (message "Backlog cleared."))) + (bind-key "C-c i f" #'clear-erc-track-list) (bind-key "C-c i i" #'ignore-channel) (bind-key "C-c i s" #'irc) (bind-key "C-c i q" #'irc-quit) |