Notmuch DB Problems

2018-09-05 Thread mueen
write a script to get all the message/thread ID's for all the tags and store them, and then rebuild the database and use that stored information to retag all my messages (all without using the dump command)? Thanks! Mueen ___ notmuch mailing li

Sorting and attachments

2011-03-26 Thread mueen
Hi, 1. Can notmuch return results sorted by size? 2. Can I tell notmuch to limit the items it returns (e.g. show me first ten messages matching ... ) 3. Any plans for searching via attachment size or type? Say I want all emails with attachments bigger than 1 MB. Essentially, I have a tendency

Re: Sorting and attachments

2011-03-28 Thread mueen
Jameson Graef Rollins writes: > On Sat, 26 Mar 2011 21:53:49 -0700, mu...@nawaz.org wrote: >> 1. Can notmuch return results sorted by size? > > As far as I know, there is currently no way to do that (but see below). It would be really convenient. Would this be a challenging task? >> 2. Can I te

Not build threads option?

2011-04-01 Thread mueen
Is there a way in the notmuch emacs client not to build the threads for each query? It can be a bit time consuming. Sometimes (often, actually), I just want to read all mails from someone, and am not interested in the whole threads. If the above can be implemented, it would then be nice to have

Header and other questions

2011-05-14 Thread mueen
Hi, 1. How do I see *all* the headers using the emacs interface? It shows me only 4 headers. 2. Using the Python bindings, I want to do a query, get the messages, and examine the headers of the messages. The problem is that if a message is multi-part, then, I can't find any way to see the main he

Re: Header and other questions

2011-05-15 Thread mueen
Daniel Kahn Gillmor writes: > On 05/15/2011 01:23 AM, mu...@nawaz.org wrote: >> 1. How do I see *all* the headers using the emacs interface? It shows me >> only 4 headers. > > shift-v from within a "notmuch-show" buffer will show the entire source > of the message, including all headers. That di

Re: [PATCH 0/4] notmuch reply bugfix & reply to sender only

2012-01-07 Thread Mueen Nawaz
Jameson Graef Rollins writes: > On Thu, 5 Jan 2012 22:25:11 +0200, Jani Nikula wrote: >> Bikeshedding topic #1: How about making replying to just the sender the >> default >> in "notmuch reply", and having --reply-all option (instead of >> --no-reply-all)? >> >> Bikeshedding topic #2: How ab

Questions about importing mail (mbox)

2011-03-20 Thread Mueen Nawaz
Hi, I'm trying to experiment with notmuch. As I understand it, notmuch does not handle mbox for input. The problem is that all my mail is currently in mbox format. So I first tried converting mbox to maildir using mb2md. It didn't do a good job. When I subsequently tried importing to notmuch,

Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Pieter Praet writes: > It would've been a no-brainer if you'd been using Maildir all along > (mbox is evil incarnate), but... Sure, but mbox is too convenient. > I'd suggest keeping your original mbox file safe in git [1], and > consistently commiting every step of the way, so even if messages w

Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Jesse Rosenthal writes: > I didn't need to convert when I started using notmuch, but for past > mbox-to-maildir conversions, I always had the most confidence in using > mutt interactively. Tag all messages (S-t, all), copy or save to a > maildir, and make sure your mbox_type is set appropriately.

Header and other questions

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins writes: > On Mon, 16 May 2011 11:27:52 -0400, Jesse Rosenthal > wrote: >> The decision, if I remember correctly, was that regions are so intuitive >> for emacs users, and many people reported trying to tag by region >> without thinking about it, that this approach would ma

Multiple sender identities (composing)

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins writes: > This is great, guys. I've been wanting to get something like this > working for a while now. Agreed. Would be awesome if someone could post it to the Wiki...

a python terminal gui?

2011-05-20 Thread Mueen Nawaz
Patrick Totzke writes: > * use libraries wherever possible. Therefore, instead of > programming raw curses, I go for the urwid toolkit: It's a bit like gtk, > you create a bunch of widgets and put them together in a tree-like structure > and the library handles redrawing the screen and red

[PATCH 0/4] notmuch reply bugfix & reply to sender only

2012-01-07 Thread Mueen Nawaz
Jameson Graef Rollins writes: > On Thu, 5 Jan 2012 22:25:11 +0200, Jani Nikula wrote: >> Bikeshedding topic #1: How about making replying to just the sender the >> default >> in "notmuch reply", and having --reply-all option (instead of >> --no-reply-all)? >> >> Bikeshedding topic #2: How ab

Re: Notmuch DB Problems

2018-09-09 Thread Mueen Nawaz
Jani Nikula writes: > It might be interesting to see an strace log to possibly get an idea > where it gets stuck. > > Is the filesystem writable and working okay? > > If search and show work, I'm guessing it gets stuck in trying to open > the database writable. One hackish idea is to patch notmuc

Re: Notmuch DB Problems

2018-09-10 Thread Mueen Nawaz
David Bremner writes: Here's why it would freeze: I have a post-new hook that runs a Python script. Depending on whether the new email it is processing matches a rule I have, it will fire off an email to the sender using the SMTP library in Python. I had recently upgraded my MTA (PostFix)

Re: Notmuch DB Problems

2018-09-10 Thread Mueen Nawaz
David Bremner writes: I can think of two experiments: I was thinking more along the lines of something that could be part of the notmuch test suite, i.e. run in a few seconds. Or at worst in 10 minutes or so to be usable to debug. I don't know if this can reliably be done. As I pointed ou

Re: Notmuch DB Problems

2018-09-11 Thread Mueen Nawaz
Olly Betts writes: It doesn't make much sense to me that holding the lock alone could be causing any sort of corruption - that's just an fcntl() lock. I would suggest to make sure you're running Xapian 1.4.7 as that fixed a cursor handling bug which affected notmuch. I didn't find a way t

Questions about importing mail (mbox)

2011-03-20 Thread Mueen Nawaz
Hi, I'm trying to experiment with notmuch. As I understand it, notmuch does not handle mbox for input. The problem is that all my mail is currently in mbox format. So I first tried converting mbox to maildir using mb2md. It didn't do a good job. When I subsequently tried importing to notmuch,

Re: Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Pieter Praet writes: > It would've been a no-brainer if you'd been using Maildir all along > (mbox is evil incarnate), but... Sure, but mbox is too convenient. > I'd suggest keeping your original mbox file safe in git [1], and > consistently commiting every step of the way, so even if messages w

Re: Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Jesse Rosenthal writes: > I didn't need to convert when I started using notmuch, but for past > mbox-to-maildir conversions, I always had the most confidence in using > mutt interactively. Tag all messages (S-t, all), copy or save to a > maildir, and make sure your mbox_type is set appropriately.

Re: Header and other questions

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins writes: > On Mon, 16 May 2011 11:27:52 -0400, Jesse Rosenthal > wrote: >> The decision, if I remember correctly, was that regions are so intuitive >> for emacs users, and many people reported trying to tag by region >> without thinking about it, that this approach would ma

Re: Multiple sender identities (composing)

2011-05-16 Thread Mueen Nawaz
Jameson Graef Rollins writes: > This is great, guys. I've been wanting to get something like this > working for a while now. Agreed. Would be awesome if someone could post it to the Wiki... ___ notmuch mailing list notmuch@notmuchmail.org http://not

Re: a python terminal gui?

2011-05-20 Thread Mueen Nawaz
Patrick Totzke writes: > * use libraries wherever possible. Therefore, instead of > programming raw curses, I go for the urwid toolkit: It's a bit like gtk, > you create a bunch of widgets and put them together in a tree-like structure > and the library handles redrawing the screen and red