email/notmuch: correct & reformat readme
This commit is contained in:
parent
a0b661edac
commit
1b81337d8d
1 changed files with 13 additions and 9 deletions
|
@ -44,11 +44,13 @@ This module requires:
|
||||||
|
|
||||||
** Arch Linux
|
** Arch Linux
|
||||||
Run one of the following commands.
|
Run one of the following commands.
|
||||||
|
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
#sudo pacman -S isync notmuch #mbsync
|
pacman -S isync notmuch #mbsync
|
||||||
## OR
|
#+END_SRC
|
||||||
#sudo pacman -S offlineimap notmuch
|
#+BEGIN_SRC sh
|
||||||
##+END_SRC
|
pacman -S offlineimap notmuch
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
See: [[https://wiki.archlinux.org/index.php/Notmuch][Arch Wiki - Notmuch]]
|
See: [[https://wiki.archlinux.org/index.php/Notmuch][Arch Wiki - Notmuch]]
|
||||||
|
|
||||||
|
@ -117,12 +119,10 @@ notmuch new
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Customize =*notmuch-hello*= buffer
|
** Customize =*notmuch-hello*= buffer
|
||||||
|
|
||||||
It is possible to change the =*notmuch-hello*= buffer if you want to.
|
It is possible to change the =*notmuch-hello*= buffer if you want to.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package! notmuch
|
(after! notmuch
|
||||||
:config
|
|
||||||
(setq notmuch-show-log nil
|
(setq notmuch-show-log nil
|
||||||
notmuch-hello-sections `(notmuch-hello-insert-saved-searches
|
notmuch-hello-sections `(notmuch-hello-insert-saved-searches
|
||||||
notmuch-hello-insert-alltags)
|
notmuch-hello-insert-alltags)
|
||||||
|
@ -132,9 +132,13 @@ It is possible to change the =*notmuch-hello*= buffer if you want to.
|
||||||
|
|
||||||
** Changing the =notmuch= landing page
|
** Changing the =notmuch= landing page
|
||||||
|
|
||||||
You may want to forego the =*notmuch-hello*= buffer by having ~M-x =notmuch~ or ~SPC o m~ take you straight to a search page.
|
You may want to forego the =*notmuch-hello*= buffer by having ~M-x =notmuch~ or
|
||||||
|
~SPC o m~ take you straight to a search page.
|
||||||
|
|
||||||
When using ~SPC o m~ the =+notmuch-home-function= is called. By default it uses the =notmuch= function and so has the same familiar behavior of running a vanilla install of notmuch-emacs. But, by overwriting this function you can run a custom search as your landing page.
|
When using ~SPC o m~ the =+notmuch-home-function= is called. By default it uses
|
||||||
|
the =notmuch= function and so has the same familiar behavior of running a
|
||||||
|
vanilla install of notmuch-emacs. But, by overwriting this function you can run
|
||||||
|
a custom search as your landing page.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq +notmuch-home-function (lambda () (notmuch-search "tag:inbox")))
|
(setq +notmuch-home-function (lambda () (notmuch-search "tag:inbox")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue