202412231734942458

This commit is contained in:
fz0x1 2024-12-23 09:27:38 +01:00
parent 49797f54ce
commit f79ba355c4
5 changed files with 39 additions and 14 deletions

View file

@ -91,6 +91,17 @@
(append org-agenda-files
(directory-files-recursively "~/org/braindump/" "\\.org$")))
(setq org-refile-targets '((org-agenda-files :maxlevel . 1)))
(setq org-refile-use-cache t)
;; clear cache every 5 minutes
(run-with-idle-timer 300 t (lambda ()
(org-refile-cache-clear)
(org-refile-get-targets)))
(use-package org
:commands org-refile-cache-clear)
(use-package org-roam
;; :ensure nil
:custom

View file

@ -14,13 +14,17 @@ macro index P "<enter-command>unmailboxes *<enter><enter-command>source $HOME/.c
set sendmail = "msmtp -a gmail"
# Use my key for signing and encrypting
# default key is for posteo
set pgp_default_key = B2A6D86C6EB94D40A9031FFADDCA1A115D6D2284
# Установка отправителя по умолчанию
set from = "foozzione@gmail.com"
set realname = "Tkachenko Ihor"
# Определите отправителя в зависимости от текущего ящика
send-hook '~f foozzione@gmail.com' 'set sendmail="msmtp -a gmail"'
send-hook '~f fz0x1@posteo.net' 'set sendmail="msmtp -a posteo"'
send-hook '~f foozzione@gmail.com' 'set sendmail="msmtp -a gmail"; set pgp_default_key="B79569222C920EB7515FEEE08B46C44BFBF5849F"'
send-hook '~f fz0x1@posteo.net' 'set sendmail="msmtp -a posteo"; set from="fz0x1@posteo.net"; set realname=""'
# Ensure TLS is enforced
set ssl_starttls = yes
@ -39,7 +43,7 @@ set move=no # don't move messages when marking as read
set mail_check = 30 # check for new mail every 30 seconds
set imap_keepalive = 900 # 15 minutes
set sleep_time = 0 # don't sleep when idle
set wait_key = no # mutt won't ask "press key to continue"
set wait_key = no # mutt won't ask "press key to continue"
set envelope_from # which from?
set edit_headers # show headers when composing
set fast_reply # skip to compose when replying
@ -68,9 +72,6 @@ set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8
# Use GPGME
# Use my key for signing and encrypting
set pgp_default_key = B2A6D86C6EB94D40A9031FFADDCA1A115D6D2284
# Use GPGME
set crypt_use_gpgme = yes
# Automatically sign all out-going email