From f86a59412b61a5978f78602d8b0fb5652463bfa7 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sat, 9 Feb 2019 16:38:08 -0500 Subject: Add a keybinding for cleaning up ERC's modeline addition, and remove my Gnus configuration (for now) --- jakob.org | 55 ++++++++++++------------------------------------------- 1 file changed, 12 insertions(+), 43 deletions(-) (limited to 'jakob.org') diff --git a/jakob.org b/jakob.org index 67a399a..a1ac237 100644 --- a/jakob.org +++ b/jakob.org @@ -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) -- cgit v1.3