Re: [mutt] generating mailboxes command

2009-07-28 Thread Christian Ebert
* Christian Ebert on Wednesday, July 22, 2009 at 10:49:08 +0100 Another idea: find ~/Mail -type d \( -name cur -o -name new -o -name tmp \) -prune -execdir pwd \; | uniq Better (for find w/o -printf) getting rid of uniq call: find ~/Mail -type d \( -name cur -o -name new -o -name tmp

Re: [mutt] generating mailboxes command

2009-07-22 Thread Christian Ebert
* Adam Wellings on Tuesday, July 21, 2009 at 20:28:39 +0100 On Tue, 21 Jul 2009, Christian Ebert wrote: Well, your nodes clobber the mailboxes list, don't they. Not that I can see. Do toggle-mailboxes (bound to tab by default) in the browser. This lists your configured mailboxes, and the

Re: [mutt] generating mailboxes command

2009-07-22 Thread Adam Wellings
On Wed, 22 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 20:28:39 +0100 On Tue, 21 Jul 2009, Christian Ebert wrote: Well, your nodes clobber the mailboxes list, don't they. Not that I can see. Do toggle-mailboxes (bound to tab by default) in the

Re: [mutt] generating mailboxes command (was: split display?)

2009-07-22 Thread lee
On Tue, Jul 21, 2009 at 02:52:57PM +0100, Adam Wellings wrote: If the set of maildirs rarely changes, would it be faster to generate a file and just source that in your .muttrc? It depends on what information from the file system is already cached. Assuming that nothing is cached, I would

Re: [mutt] generating mailboxes command

2009-07-22 Thread lee
On Tue, Jul 21, 2009 at 05:49:13PM +0100, Christian Ebert wrote: lee's little C program mutt-mb that he posted in this thread Message-ID: 20090721042825.gj27...@cat.rubenette.is-a-geek.com It's better to use the version on sourceforge instead. The one posted here doesn't free all the

Re: [mutt] generating mailboxes command (was: split display?)

2009-07-21 Thread Adam Wellings
On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 11:17:09 +0100 I have a folder hierarchy of maildirs, though only the nodes (or leaves) are actually maildirs, eg: fol2 | -Fol2 || -maildira || -maildirb | -Fol3 || -Fol4 ||| -maildirc

Re: [mutt] generating mailboxes command

2009-07-21 Thread Christian Ebert
* Adam Wellings on Tuesday, July 21, 2009 at 14:52:57 +0100 On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 11:17:09 +0100 I have a folder hierarchy of maildirs, though only the nodes (or leaves) are actually maildirs, eg: fol2 | -Fol2 ||

Re: [mutt] generating mailboxes command

2009-07-21 Thread Adam Wellings
On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 14:52:57 +0100 On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 11:17:09 +0100 I have a folder hierarchy of maildirs, though only the nodes (or leaves) are

Re: [mutt] generating mailboxes command

2009-07-21 Thread Christian Ebert
* Adam Wellings on Tuesday, July 21, 2009 at 17:12:27 +0100 On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 14:52:57 +0100 mailboxes `find ~/Mail -type d \( \( -name cur -o -name new -o -name tmp \) -prune -o -printf '+%P ' \)` It's cut the time

Re: [mutt] generating mailboxes command

2009-07-21 Thread Adam Wellings
On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 17:12:27 +0100 On Tue, 21 Jul 2009, Christian Ebert wrote: * Adam Wellings on Tuesday, July 21, 2009 at 14:52:57 +0100 mailboxes `find ~/Mail -type d \( \( -name cur -o -name new -o -name tmp \)