diff --git a/.config/yadm/encrypt b/.config/yadm/encrypt index 476f73f..03123fb 100644 --- a/.config/yadm/encrypt +++ b/.config/yadm/encrypt @@ -1,3 +1,4 @@ .config/newsboat/urls .config/filezilla/sitemanager.xml -.config/filezilla/filezilla.xml \ No newline at end of file +.config/filezilla/filezilla.xml +Mail/thexcloud/.credentials.gmailieer.json \ No newline at end of file diff --git a/.config/yadm/files.gpg b/.config/yadm/files.gpg index 393fcdb..b5a7f8f 100644 Binary files a/.config/yadm/files.gpg and b/.config/yadm/files.gpg differ diff --git a/.emacs.d/custom.el b/.emacs.d/custom.el index c691c5e..0778a5a 100644 --- a/.emacs.d/custom.el +++ b/.emacs.d/custom.el @@ -12,6 +12,7 @@ '(notmuch-search-oldest-first nil) '(org-agenda-files '("~/Documents/org-mode/ETU/r&d.org" "~/Documents/org-mode/Personal/misc.org" "~/Documents/org-mode/Job/dig-traject.org" "~/Documents/org-mode/Personal/look-forward.org" "~/Documents/org-mode/ETU/sem-9.org")) + '(send-mail-function 'smtpmail-send-it) '(sgml-basic-offset 2) '(smtpmail-smtp-server "smtp.gmail.com") '(smtpmail-smtp-service 25) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index fbd0238..3c36e54 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -867,8 +867,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." #+end_src ** Export #+begin_src emacs-lisp -(use-package htmlize - :straight t) +;; (use-package htmlize +;; :straight t) (defun my/setup-org-latex () (setq org-latex-compiler "xelatex") @@ -1204,6 +1204,8 @@ pip install qtconsole markdown qrcode[pil] PyQt5 PyQtWebEngine #+begin_src emacs-lisp (use-package notmuch :ensure nil) + +(my-leader-def "am" 'notmuch) #+end_src * Programming ** LSP diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e657140..f4ba87e 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -682,8 +682,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.75)) (setq org-highlight-latex-and-related '(native script entities)) -(use-package htmlize - :straight t) +;; (use-package htmlize +;; :straight t) (defun my/setup-org-latex () (setq org-latex-compiler "xelatex") diff --git a/.mailcap b/.mailcap new file mode 100644 index 0000000..c46207a --- /dev/null +++ b/.mailcap @@ -0,0 +1,13 @@ +### +### Begin Red Hat Mailcap +### + +audio/*; /usr/bin/xdg-open %s + +image/*; /usr/bin/xdg-open %s + +application/msword; /usr/bin/xdg-open %s +application/pdf; /usr/bin/xdg-open %s +application/postscript ; /usr/bin/xdg-open %s + +text/html; /usr/bin/xdg-open %s diff --git a/.notmuch-config b/.notmuch-config new file mode 100644 index 0000000..3dd8a9f --- /dev/null +++ b/.notmuch-config @@ -0,0 +1,92 @@ +# .notmuch-config - Configuration file for the notmuch mail system +# +# For more information about notmuch, see https://notmuchmail.org + +# Database configuration +# +# The only value supported here is 'path' which should be the top-level +# directory where your mail currently exists and to where mail will be +# delivered in the future. Files should be individual email messages. +# Notmuch will store its database within a sub-directory of the path +# configured here named ".notmuch". +# + +[database] +path=/home/pavel/Mail + +# User configuration +# +# Here is where you can let notmuch know how you would like to be +# addressed. Valid settings are +# +# name Your full name. +# primary_email Your primary email address. +# other_email A list (separated by ';') of other email addresses +# at which you receive email. +# +# Notmuch will use the various email addresses configured here when +# formatting replies. It will avoid including your own addresses in the +# recipient list of replies, and will set the From address based on the +# address to which the original email was addressed. +# + +[user] +name=Pavel Korytov +primary_email=thexcloud@gmail.com + +# Configuration for "notmuch new" +# +# The following options are supported here: +# +# tags A list (separated by ';') of the tags that will be +# added to all messages incorporated by "notmuch new". +# +# ignore A list (separated by ';') of file and directory names +# that will not be searched for messages by "notmuch new". +# +# NOTE: *Every* file/directory that goes by one of those +# names will be ignored, independent of its depth/location +# in the mail store. +# + +[new] +tags=new +ignore= + +# Search configuration +# +# The following option is supported here: +# +# exclude_tags +# A ;-separated list of tags that will be excluded from +# search results by default. Using an excluded tag in a +# query will override that exclusion. +# + +[search] +exclude_tags=trash;spam; + +# Maildir compatibility configuration +# +# The following option is supported here: +# +# synchronize_flags Valid values are true and false. +# +# If true, then the following maildir flags (in message filenames) +# will be synchronized with the corresponding notmuch tags: +# +# Flag Tag +# ---- ------- +# D draft +# F flagged +# P passed +# R replied +# S unread (added when 'S' flag is not present) +# +# The "notmuch new" command will notice flag changes in filenames +# and update tags, while the "notmuch tag" and "notmuch restore" +# commands will notice tag changes and update flags in filenames +# + +[maildir] +synchronize_flags=true diff --git a/Mail/.notmuch/hooks/pre-new b/Mail/.notmuch/hooks/pre-new new file mode 100755 index 0000000..b76040f --- /dev/null +++ b/Mail/.notmuch/hooks/pre-new @@ -0,0 +1,4 @@ +#!/bin/bash +eval "$(conda shell.bash hook)" +conda activate mail +(cd /home/pavel/Mail/thexcloud/ && gmi sync) diff --git a/Mail/thexcloud/.gmailieer.json b/Mail/thexcloud/.gmailieer.json new file mode 100644 index 0000000..b2f9d9a --- /dev/null +++ b/Mail/thexcloud/.gmailieer.json @@ -0,0 +1 @@ +{"replace_slash_with_dot": true, "account": "thexcloud@gmail.com", "timeout": 600, "drop_non_existing_label": false, "ignore_empty_history": false, "ignore_tags": ["new"], "ignore_remote_labels": ["CATEGORY_PROMOTIONS", "CATEGORY_SOCIAL", "CATEGORY_FORUMS", "CATEGORY_UPDATES", "CATEGORY_PERSONAL"], "remove_local_messages": true, "file_extension": ""} \ No newline at end of file