Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208336

Re: Detour: notmuch advertisement (was: emacs save and kill buffer for (neo)mutt)

From Pétùr <peturvilj@gmail.com>
Newsgroups linux.debian.user
Subject Re: Detour: notmuch advertisement (was: emacs save and kill buffer for (neo)mutt)
Date 2019-05-07 06:40 +0200
Message-ID <xV03v-7ky-1@gated-at.bofh.it> (permalink)
References <xM6Ux-6hs-1@gated-at.bofh.it> <xMe5H-29y-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 13/04/19 01:43, Peter Wiersig wrote:
>Pétùr <peturvilj@gmail.com> writes:
>
>> I use neomutt with emacs.
>
>If you're using the kitchen sink, why not stay completely in emacs?
>https://emacs.stackexchange.com/q/12927
>(Disclaimer: I wrote one of the answers to that meta question)
>
>I used mutt for decades, I still think it's a fine tool, but I found
>more happiness in my chosen "notmuch" mail setup.  David & the bunch are
>doing a terrific job with the project as whole and the debian packages
>in focus, and even if you're building the project directly from the
>repository, it's no bother with dabian (even stable).
>
>What I gained by dropping mutt was an uninterupted access to the rest of
>my life in emacs, and the user interface is streamlined to hundreds or
>thousands of replied messages a day.
>
>A I finish this post, the next keypress will be C-c C-c like many other
>emacs modes, which will send the mail to the list, bury the buffer and
>redisplay the search results, where I filtered for debian-user and
>unread before.

Thanks, I will definitly consider using notmuch inside emacs. I already
have my email fetched by offlineimap and I use mutt-notmuch inside mutt to
search email (with the code below).

I have some work to do (for example, I have some difficulty with
notmuch's spirit of doing everything with a search; for now I am unable
to display only my inbox inside notmuch-emacs...). 

#######################
# Notmuch integration #
#######################
macro index,pager <F8> \
     "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --prompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>" \
     "notmuch: search mail"
macro index,pager <F9> \
     "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" \
     "notmuch: reconstruct thread"
macro index,pager <F6> \
     "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -inbox<enter>" \
     "notmuch: remove message from inbox"

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

emacs save and kill buffer for (neo)mutt Pétùr <peturvilj@gmail.com> - 2019-04-12 18:10 +0200
  Re: emacs save and kill buffer for (neo)mutt David Wright <deblis@lionunicorn.co.uk> - 2019-04-12 20:10 +0200
    Re: emacs save and kill buffer for (neo)mutt Pétùr <peturvilj@gmail.com> - 2019-04-29 10:40 +0200
      Re: emacs save and kill buffer for (neo)mutt David Wright <deblis@lionunicorn.co.uk> - 2019-04-29 17:50 +0200
        Re: emacs save and kill buffer for (neo)mutt Pétùr <peturvilj@gmail.com> - 2019-05-07 06:20 +0200
  Detour: notmuch advertisement (was: emacs save and kill buffer for (neo)mutt) Peter Wiersig <peter@friesenpeter.de> - 2019-04-13 01:50 +0200
    Re: Detour: notmuch advertisement John Hasler <jhasler@newsguy.com> - 2019-04-13 02:10 +0200
      Re: Detour: notmuch advertisement 황병희 <soyeomul@red-october.yw.doraji.xyz> - 2019-04-13 03:50 +0200
    Re: Detour: notmuch advertisement (was: emacs save and kill buffer  for (neo)mutt) Pétùr <peturvilj@gmail.com> - 2019-05-07 06:40 +0200

csiph-web