Skip to content

Commit

Permalink
[doom/notmuch] add initial notmuch setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pakelley committed Feb 8, 2023
1 parent d35ac65 commit 0315c53
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .config/doom/init.el

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .config/homebrew/emacs.Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ brew "isync"
# brew "ledger"
# brew "mailutils"
# brew "mu"
brew "notmuch"
# brew "offlineimap", restart_service: true
brew "railwaycat/emacsmacport/emacs-mac", args: ["with-no-title-bars", "without-modules", "with-native-comp"], link: false
89 changes: 89 additions & 0 deletions .config/notmuch/default/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# .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=/Users/pakelley/.local/share/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]
[email protected]

# 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=/.*[.](json|lock|bak)$/

# 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]

# 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]
1 change: 1 addition & 0 deletions .mackup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ karabiner-elements
mackup
my-homebrew
my-doom-emacs
my-notmuch
my-nushell
my-wezterm
prezto
Expand Down
5 changes: 5 additions & 0 deletions .mackup/my-notmuch.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[application]
name = notmuch

[xdg_configuration_files]
notmuch

0 comments on commit 0315c53

Please sign in to comment.