home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b75f98d
)
Minor corrections.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 7 Aug 2019 21:10:55 +0000
(23:10 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 7 Aug 2019 21:10:55 +0000
(23:10 +0200)
buster/etc_files/eeepc/etc/systemd/logind.conf
patch
|
blob
|
history
buster/home_files/user_eeepc/.emacs.d/init.el
patch
|
blob
|
history
buster/home_files/user_eeepc/.mbsyncrc
patch
|
blob
|
history
buster/home_files/user_eeepc/mail_sync.sh
patch
|
blob
|
history
diff --git
a/buster/etc_files/eeepc/etc/systemd/logind.conf
b/buster/etc_files/eeepc/etc/systemd/logind.conf
index 10982296b91287b34d4ffa7d8c685ba1e897e9f8..6a61f0b7b5066ee5518e71e14f395dfb76e7c17c 100644
(file)
--- 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]
# See logind.conf(5) for details.
[Login]
+# Note that with the standard Buster kernel this won't work due to
+# <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919227>.
HandleLidSwitch=hibernate
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 158a12ae83abc1b3e93a83d71b86d8e31bacd465..31a4dcba29e16a2cb2a8fa6d04789f6bf5dcd3af 100644
(file)
--- 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 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
;; ========
;; org mode
;; ========
diff --git
a/buster/home_files/user_eeepc/.mbsyncrc
b/buster/home_files/user_eeepc/.mbsyncrc
index 978533cdaf27a44019cc8f67a433789b62d60412..41c9dd41ea4a2b45e94a74f8109b45ebda7b0377 100644
(file)
--- 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,
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
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 d20690d3606374f618f2d070c0ca14b730522274..0837390302a4b9d05e55f5bfae163b74969a56be 100755
(executable)
--- 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
#!/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
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
mv "${f}" "${target_path}"
fi
done
+ notmuch tag -"${tag}" tag:"${tag}"
done
# Remove all "deleted"-tagged files from maildirs.
done
# Remove all "deleted"-tagged files from maildirs.