From c9a67ca0ab874b53e61fcd651c9afc1e5dd7b4f4 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 16 May 2021 16:12:43 +0100 Subject: nits --- email.org | 1 - gnus.org | 11 +++++------ init.org | 5 +++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/email.org b/email.org index 64b4e7c..6c107f2 100644 --- a/email.org +++ b/email.org @@ -419,7 +419,6 @@ tag_deleted "bigml.(drivel|lists|deploys|bugs)" 3d tag_deleted "bigml.reports" 1d - tag_deleted "bigml.inbox$" 1y tag_deleted "bigml.support$" 7d tag_deleted "jao.(drivel|lists|books|think)" 3d tag_deleted "feeds.+" 3d diff --git a/gnus.org b/gnus.org index 4e13dd1..8e4afd1 100644 --- a/gnus.org +++ b/gnus.org @@ -199,8 +199,7 @@ (setq gnus-check-new-newsgroups nil) (defvar jao-gnus-tracked-groups - '(("^nnimap:\\(bigml\\|jao\\)" "" default) - ("nnimap:bigml/inbox" "B" jao-themes-f00) + '(("nnimap:bigml/inbox" "B" jao-themes-f00) ("nnimap:bigml/bugs" "b" jao-themes-error) ("nnimap:bigml/support" "S" default) ("nnimap:jao/inbox" "I" jao-themes-f01) @@ -359,10 +358,10 @@ (gnus-server-exit) (message "Restarting all servers... done")) - (define-key gnus-group-mode-map "z" #'notmuch) - (define-key gnus-group-mode-map "Z" #'jao-gnus-restart-servers) - (define-key gnus-group-mode-map "Gg" #'consult-notmuch) - (define-key gnus-group-mode-map "GG" #'jao-consult-notmuch-folder) + (define-key gnus-group-mode-map "z" nil) + (define-key gnus-group-mode-map "zz" #'notmuch) + (define-key gnus-group-mode-map "zg" #'jao-consult-notmuch-folder) + (define-key gnus-group-mode-map "zG" #'consult-notmuch) (defun jao-gnus--first-group () (when (derived-mode-p 'gnus-group-mode) diff --git a/init.org b/init.org index dd37c41..50a6356 100644 --- a/init.org +++ b/init.org @@ -658,9 +658,9 @@ (setq mode-line-position-column-format '(" %c") mode-line-position-line-format '(" %l,%c")) (setq mode-line-percent-position - '(" %l" - (circe-chat-target (:eval (format " [%d]" + '((circe-chat-target (:eval (format " [%d]" (length (circe-channel-nicks))))) + " %l" (:eval (format "/%d" (line-number-at-pos (point-max)))))) (line-number-mode -1) (column-number-mode 1) @@ -1547,6 +1547,7 @@ ("^https?://.*\\.slack\\..*" . ,jao-browse-url-external-function) ("^https?://.*\\.gotomeeting\\.com\\.*" . browse-url-chrome) ("^https?://meet\\.google\\.com\\.*" . ,jao-browse-url-external-function) + ("^https?://t\\(witter\\)?\\.com?/.*" . ,jao-browse-url-external-function) (,(jao-wget--regexp) . jao-download) (jao-video--url-p . jao-maybe-view-video) ("." . ,jao-browse-url-function))) -- cgit v1.2.3