Re: [ANN] notmuch-vim 0.7 released

2021-07-09 Thread Felipe Contreras
On Thu, Jul 8, 2021 at 12:51 AM Ralph Seichter  wrote:
>
> * Felipe Contreras:
>
> > https://github.com/felipec/notmuch-vim
> >
> > I stopped working on it in 2014, but I'm back.
>
> Welcome back. This is an interesting plugin for sure. I'd like to
> package notmuch-vim for Gentoo Linux, but I have not been able to find
> information about licensing. Could you please add a LICENSE file to your
> Git repository?

Sure. It's the same license as notmuch, since it's packaged in notmuch
too, but done.

-- 
Felipe Contreras
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [ANN] notmuch-vim 0.7 released

2021-07-09 Thread Felipe Contreras
Hi,

On Fri, Jul 9, 2021 at 12:50 PM Steve Litt  wrote:
> Felipe Contreras said on Wed, 07 Jul 2021 23:21:42 -0500

> >notmuch-vim is a fully-functional mail user agent implemented in vim.
> >It uses as inspiration other text-based MUAs such as mutt and sup, but
> >it's better because it uses two amazing programs: vim and notmuch.
> >
> >It by itself doesn't do much, following the UNIX philosophy you need
> >other tools to do anything useful: mbsync or offlineimap to fetch mail,
> >notmuch to index it, and sendmail or msmtp to send it, etc.
> >
> >Here's an example recorded session:
> >https://asciinema.org/a/oo4yUOQDDF2CrWZbzhZURFtTW
> >
> >For installation instructions and the works, check the GitHub repo:
> >https://github.com/felipec/notmuch-vim
> >
> >I stopped working on it in 2014, but I'm back.
>
> I've been looking to change email clients from Claws-Mail to something
> a little lighter. A couple questions about notmuch-vim...
>
> * If I use it with my local dovecot IMAP server, can I configure
>   notmuch-vim to not delete messages I read, and only delete messages I
>   explicitly delete from within notmuch-vim?

notmuch-vim doesn't really delete anything, tags are used to specify
what messages you want to see. If you search for "tag:unread", you'll
see messages that you haven't read, and once you mark a message as
read you won't see it in that view, but the message is still there
(similar to Gmail).

You can add a keymap to mark some messages as "deleted", and then
configure notmuch to exclude those messages from all the views, but
still, the messages are not really deleted, they just have the
"deleted" tag.

Furthermore you can synchronize some tags to Maildir flags, and
although at some point the "deleted" tag was synchronized to the
Trashed flag, that's not happening right now (although I think it
should).

So in short tags are mostly orthogonal to anything else.

> * When people send me HTML email, as they always do, is there something
>   I can attach to notmuch-vim in order to format that HTML email as
>   something readable, that shows links where they're supposed to be?
>   (NOTE: I never SEND HTML email, so I'm only asking about receiving).

By default notmuch-vim uses "elinks -dump" to convert HTML email to
plain text, but you can configure any program you want.

Hopefully that answers your questions.

-- 
Felipe Contreras
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: WIP fixes for rfc822/attachement display

2021-07-09 Thread Antoine Beaupré
On 2021-07-09 07:23:55, David Bremner wrote:
> Antoine Beaupré  writes:
>
>> On 2021-07-06 12:49:23, David Bremner wrote:
>>> David Bremner  writes:
>>>
 This is not finished/correct yet, but maybe it will save someone else
 some debugging.

 [PATCH 2/3] emacs: don't inline message/rfc822 parts without content

>>>
>>> I have confirmed that thanks to larsi's quick fix, patch 2/3 alone makes
>>> things copacetic in emacs master. I have marked the other two patches as
>>> obsolete, although if people thing this case is important enough, we
>>> could try to work around the issues with pre-28 emacs in a more
>>> careful way.
>>>
>>> Antoine, is this a common annoyance for you, or a rare issue?
>>
>> I actually fumble upon similar errors somewhat frequently, but it's the
>> first time it's reproducible. Typically, it happens under other, more
>> neboulous circumstances and the fix then is to restart emacs (!).
>>
>> Are you saying the fix is to upgrade to emacs 28?
>
> Pretty much. Along with a patch to notmuch, if you care about the
> display of !!! error messages. Of course, Emacs 28 is unreleased
> software, so may have other uncomfortable aspects.

I'm not at a place in my life where I compile my own Emacs. Once a upon
a time, that was a thing, before I found out about binary
distributions. But those days are (fortunately) over. ;)

a.

-- 
A developed country is not a place where the poor have cars. It's
where the rich use public transportation.
- Gustavo Petro 
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: WIP fixes for rfc822/attachement display

2021-07-09 Thread David Bremner
Antoine Beaupré  writes:

> On 2021-07-06 12:49:23, David Bremner wrote:
>> David Bremner  writes:
>>
>>> This is not finished/correct yet, but maybe it will save someone else
>>> some debugging.
>>>
>>> [PATCH 2/3] emacs: don't inline message/rfc822 parts without content
>>>
>>
>> I have confirmed that thanks to larsi's quick fix, patch 2/3 alone makes
>> things copacetic in emacs master. I have marked the other two patches as
>> obsolete, although if people thing this case is important enough, we
>> could try to work around the issues with pre-28 emacs in a more
>> careful way.
>>
>> Antoine, is this a common annoyance for you, or a rare issue?
>
> I actually fumble upon similar errors somewhat frequently, but it's the
> first time it's reproducible. Typically, it happens under other, more
> neboulous circumstances and the fix then is to restart emacs (!).
>
> Are you saying the fix is to upgrade to emacs 28?

Pretty much. Along with a patch to notmuch, if you care about the
display of !!! error messages. Of course, Emacs 28 is unreleased
software, so may have other uncomfortable aspects.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org