From: Christian Heller Date: Wed, 7 Aug 2019 21:10:55 +0000 (+0200) Subject: Minor corrections. X-Git-Url: https://plomlompom.com/repos/feed.xml?a=commitdiff_plain;h=a80110a0331d3300e46f6af2a62c92b6c5ad4bf1;p=config Minor corrections. --- diff --git a/buster/etc_files/eeepc/etc/systemd/logind.conf b/buster/etc_files/eeepc/etc/systemd/logind.conf index 1098229..6a61f0b 100644 --- a/buster/etc_files/eeepc/etc/systemd/logind.conf +++ b/buster/etc_files/eeepc/etc/systemd/logind.conf @@ -3,4 +3,6 @@ # See logind.conf(5) for details. [Login] +# Note that with the standard Buster kernel this won't work due to +# . HandleLidSwitch=hibernate diff --git a/buster/home_files/user_eeepc/.emacs.d/init.el b/buster/home_files/user_eeepc/.emacs.d/init.el index 158a12a..31a4dcb 100644 --- a/buster/home_files/user_eeepc/.emacs.d/init.el +++ b/buster/home_files/user_eeepc/.emacs.d/init.el @@ -135,6 +135,9 @@ ;; this only works if we use notmuch-mua-send instead of message-send (setq notmuch-fcc-dirs '(("plom@plomlompom.com" . "maildir/Sent"))) +;; this gets rid of "i-did-not-set--mail-host-address--so-tickle-me" +;; in the message ID +(setq mail-host-address "plomlompom.com") ;; org mode ;; ======== diff --git a/buster/home_files/user_eeepc/.mbsyncrc b/buster/home_files/user_eeepc/.mbsyncrc index 978533c..41c9dd4 100644 --- a/buster/home_files/user_eeepc/.mbsyncrc +++ b/buster/home_files/user_eeepc/.mbsyncrc @@ -3,7 +3,7 @@ IMAPAccount plom Host core.plomlompom.com User plom # For some reason, mbsync doesn't accept a PassCmd output beyond 79 chars, -# therefore ~/.imap_pass should not be longer than that. +# therefore the pw in ~/.authinfo should not be longer than that. PassCmd "cat ~/.authinfo | cut -d' ' -f8-" SSLType IMAPS AuthMechs LOGIN diff --git a/buster/home_files/user_eeepc/mail_sync.sh b/buster/home_files/user_eeepc/mail_sync.sh index d20690d..0837390 100755 --- a/buster/home_files/user_eeepc/mail_sync.sh +++ b/buster/home_files/user_eeepc/mail_sync.sh @@ -1,8 +1,9 @@ #!/bin/sh set -e -# Ensure all "dir:*"-tagged mails are in proper directories. -basedir="/home/plom/test_mbsync/maildir/" +# Ensure all "dir:*"-tagged mails are in proper directories, +# remove all "dir:*" tags. +basedir="/home/plom/mail/maildir/" for tag in $(notmuch search --output=tags '*'); do if [ ! $(echo "${tag}" | cut -c-4) = "dir:" ]; then continue @@ -16,6 +17,7 @@ for tag in $(notmuch search --output=tags '*'); do mv "${f}" "${target_path}" fi done + notmuch tag -"${tag}" tag:"${tag}" done # Remove all "deleted"-tagged files from maildirs.