Re: mutt's counterpart feature to gmail's archive?

2015-04-17 Thread Suvayu Ali
On Thu, Apr 16, 2015 at 07:43:54PM +0200, Suvayu Ali wrote:
> On Thu, Apr 16, 2015 at 09:47:21AM -0500, Luis Mochan wrote:
> > > I see that everyone else either have written custom scripts, or manage
> > > the archiving manually.  Since you mention something similar to Gmail, I
> > > would suggest use something search based: notmuch, mu, etc.
> > > 
> > > I use notmuch[1] to index my messages, and mutt-kz[2] (a mutt fork with
> > > notmuch support) to read my emails.  I usually read emails consolidated
> > > from several inboxes into one virtual folder.  If I want to archive any
> > > thread, I just tag it archived, and it disappears from my virtual
> > > folder.  The physical message stays in the original mailbox as before.
> > > 
> > > Hope this helps,
> > 
> > I recall notmuch keeps its labels in a database, not within the
> > messages. Is this right? An advantage of using X-Label is that when
> > messages are synchronized between computers (I use mbsync) the labels
> > are automatically synchronized also. I use 'mu' to index and when
> > required produce virtual maildirs containing messages that match
> > certain criteria, among whom one can include Xlabels.
> 
> Yes this is correct, notmuch is more or less equivalent to mu.  In fact,
> I think, even the underlying database for both is Xapian.  I read my
> emails from one location; for backups, I can backup both the database
> and the maildirs.
> 
> If you read emails on multiple machines, then syncing the tags can be a
> bit non-trivial.  But scripting that is possible.  I think someone on
> the notmuch list is working on a rather robust solution.

... and the first release was announced today!

  http://thread.gmane.org/gmane.mail.notmuch.general/20517

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.


Re: mutt's counterpart feature to gmail's archive?

2015-04-17 Thread Igor Sosa Mayor
bastian-muttu...@t6l.de writes:
> You can find all the details on how to set it up here:
>
>   https://pbrisbin.com/posts/mairix/

thanks!



Re: Multiple crypt-hook behavior

2015-04-17 Thread Kevin J. McCarthy
Rejo Zenger wrote:
> ++ 04/04/15 11:54 -0700 - Kevin J. McCarthy:
> >However, I'm a little nervous to take away the prompt from everyone.  It
> >would be great if other crypt-hook users could chime in here.  Is the
> >prompt universally annoying?  Is this worth an option?
> 
> If you are asking me, most definately yes. And, I am pretty sure I'm not the
> only one: .

The above patch looks pretty straightforward: it adds a boolean
$crypt_confirmhook, that if unset turns off prompts for the crypt-hooks.

Another option could be something like: $crypt_use_hooks as a
quadoption:
  - yes means all crypt-hooks are used without prompting
  - ask-yes/ask-no prompt for each hook
  - no disables all crypt-hooks.
This could provide a way to disable the crypt-hooks in certain
circumstances.  I don't know if something like that is useful or is
overkill.

-Kevin


signature.asc
Description: PGP signature


Re: mutt's counterpart feature to gmail's archive?

2015-04-17 Thread Heinz Diehl
On 17.04.2015, bastian-muttu...@t6l.de wrote: 

>   https://pbrisbin.com/posts/mairix/

Thanks a lot, Bastian. Will take a look.



Re: mutt's counterpart feature to gmail's archive?

2015-04-17 Thread Heinz Diehl
On 17.04.2015, Chris Bannister wrote: 

> > macro index  "=.Search" "Load the search results"
> > macro pager  "=.Search" "Load the search results"
 
> I believe those last two lines can be replaced with:
> macro index,pager  "=.Search" "Load the search 
> results"

Yes, they can. Thanks!



Re: mutt's counterpart feature to gmail's archive?

2015-04-17 Thread Chris Bannister
On Thu, Apr 16, 2015 at 11:01:03PM +0200, Heinz Diehl wrote:

[...]

> In .muttrc, I have this:
> 
> macro generic  "mairix " "Search"
> macro index  "=.Search" "Load the search results"
> macro pager  "=.Search" "Load the search results"

I believe those last two lines can be replaced with:
macro index,pager  "=.Search" "Load the search 
results"



-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: mutt's counterpart feature to gmail's archive?

2015-04-17 Thread bastian-muttuser
On 16Apr15 22:11 +0200, Heinz Diehl wrote:
> > Also the fcc is set to inbox so that I can see in threaded view the
> > history of dialogs/threads.
> 
> I'm doing virtually the same by specifying
> set record="+.INBOX"

Exactly.

> > To search the mailboxes I use mairix which I invoke inside mutt via a
> > key-bind. Very quick and reliable by now. 
> 
> > If there is interest I'll share some config and scripts on the mairix
> > setup.
> 
> Please go ahead ;-)

There are two parts. The key-bind in muttrc and a script, which simply
fakes a cmd-line within mutt and executes mairix. Afterwards it
automatically switches the folder view to the search results.

You can find all the details on how to set it up here:

  https://pbrisbin.com/posts/mairix/



-- 
Bastian