Re: What map is default for .maildir?
On Fri, Jul 02, 2010 at 04:23:18PM +0200, lee wrote: On Thu, Jul 01, 2010 at 01:33:09PM -0800, rog...@sdf.org wrote: In another shell within GNU Screen, I successfully did a stuff command to refresh the Mutt display using one of it's key bindings every 60 seconds: screen -X at Mutt stuff $'echo refresh key' Not sure what you mean, Ctrl-l doesn't work for you? No, CTRL-L does not work at all. I must use TAB or 'c' key to refresh the folder list (while in browse map) to show new emails. However, once I navigate into sub folder, Mutt then auto refreshes and shows when I have new email, but only for that folder - of course. As I recall now, the GNU Screen stuff command I used, more then likely echo'ed the terminal value of the TAB key into the Mutt screen tab. It performed quite lovely, but the cleaner method would be to hack/patch Mutt with appropriate C coding. -- Roger http://rogerx.freeshell.org/
Re: What map is default for .maildir?
On Thu, Jul 01, 2010 at 01:33:09PM -0800, rog...@sdf.org wrote: In another shell within GNU Screen, I successfully did a stuff command to refresh the Mutt display using one of it's key bindings every 60 seconds: screen -X at Mutt stuff $'echo refresh key' Not sure what you mean, Ctrl-l doesn't work for you? what to consider as mailboxes. That would require you to keep editing your ~/.muttrc to keep the list of mailboxes up to date. #mailboxes `echo ~/.maildir/.* ~/.maildir/*` mailboxes `find ~/.maildir/ -type d -name cur -printf '%h '` Yep, you could use something like that --- but mutt-mb can do a little more than that :)
Re: What map is default for .maildir?
On Thu, Jul 01, 2010 at 05:59:03PM +0200, lee wrote: On Tue, Jun 29, 2010 at 01:46:22PM -0800, Roger wrote: On Mon, Jun 28, 2010 at 10:50:34PM +0200, lee wrote: Still error, sidebar-next: no such function in map You could check out this one: http://sourceforge.net/search/?type_of_search=softwords=mutt-mb There's no need for the sidebar anymore with mutt-mb. Anybody else use mutt-mb? I've never heard of this, and it's not rolled into Gentoo Portage. Well, I wrote it to solve a problem like yours: making it easier to switch between maildirs. I don't like the sidebar-patch version, and mutt has already support for changing mailboxes built-in. The feature is by default on the y key, only thing you need to do is to tell mutt My problem, Mutt doesn't update my maildir folders when in browser map to show I've received new email (in my maildir folders). Sidebar patch has a tendency to also not refresh the view showing new email has arrived sometimes. In another shell within GNU Screen, I successfully did a stuff command to refresh the Mutt display using one of it's key bindings every 60 seconds: screen -X at Mutt stuff $'echo refresh key' ... lost the command line specifics, but the above is basically what I did. ... if I had more time, I could probably hack the Mutt code to refresh it's display while in browser map view. ... dunno why it doesn't update the folders in browser map view, and only while viewing a mail folder (index map I believe is what it's called). what to consider as mailboxes. That would require you to keep editing your ~/.muttrc to keep the list of mailboxes up to date. #mailboxes `echo ~/.maildir/.* ~/.maildir/*` mailboxes `find ~/.maildir/ -type d -name cur -printf '%h '` ;-) -- Roger http://rogerx.freeshell.org/ pgpRSdduYnT5p.pgp Description: PGP signature
Re: What map is default for .maildir?
On Mon, Jun 28, 2010 at 10:50:34PM +0200, lee wrote: On Mon, Jun 28, 2010 at 12:29:54PM -0800, rog...@sdf.org wrote: On Mon, Jun 28, 2010 at 07:59:13PM +0200, Christian Brabandt wrote: It's browser. :set bind browser \Cn sidebar-next It is :bind browser \Cn sidebar-next (if your mutt is compiled with the sidebar patch). Still error, sidebar-next: no such function in map You could check out this one: http://sourceforge.net/search/?type_of_search=softwords=mutt-mb There's no need for the sidebar anymore with mutt-mb. Anybody else use mutt-mb? I've never heard of this, and it's not rolled into Gentoo Portage. -- Roger http://rogerx.freeshell.org/
Re: What map is default for .maildir?
=- rog...@sdf.org wrote on Fri 25.Jun'10 at 21:00:29 -0800 -= the default view for my $HOME/.maildir folder on startup isn't defined as index or pager (or any maps mentioned within the Mutt Wiki map/bind keys sections). It's browser. Here's what my default view looks like: q:Exit c:Chdir m:Mask ?:Help -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least to show your attitude. You're responsible for ALL you do: you get what you give.
Re: What map is default for .maildir?
On Mon, Jun 28, 2010 at 05:57:08PM +0200, Rado S wrote: =- rog...@sdf.org wrote on Fri 25.Jun'10 at 21:00:29 -0800 -= the default view for my $HOME/.maildir folder on startup isn't defined as index or pager (or any maps mentioned within the Mutt Wiki map/bind keys sections). It's browser. :set bind browser \Cn sidebar-next (Mutt error message) sidebar-next: no such function in map Not sure if this function is mutt or sidebar patch related. ... if needed, I'll forward this issue to the Mutt sidebar patch maintainer. -- Roger http://rogerx.freeshell.org/
Re: What map is default for .maildir?
Hi rogerx! On Mo, 28 Jun 2010, rog...@sdf.org wrote: On Mon, Jun 28, 2010 at 05:57:08PM +0200, Rado S wrote: =- rog...@sdf.org wrote on Fri 25.Jun'10 at 21:00:29 -0800 -= the default view for my $HOME/.maildir folder on startup isn't defined as index or pager (or any maps mentioned within the Mutt Wiki map/bind keys sections). It's browser. :set bind browser \Cn sidebar-next It is :bind browser \Cn sidebar-next (if your mutt is compiled with the sidebar patch). regards, Christian -- Tell a man there are 300 billion stars in the universe and he'll believe you. Tell him a bench has wet paint on it and he'll have to touch to be sure.
Re: What map is default for .maildir?
On Mon, Jun 28, 2010 at 07:59:13PM +0200, Christian Brabandt wrote: It's browser. :set bind browser \Cn sidebar-next It is :bind browser \Cn sidebar-next (if your mutt is compiled with the sidebar patch). Still error, sidebar-next: no such function in map -- Roger http://rogerx.freeshell.org/
Re: What map is default for .maildir?
On Mon, Jun 28, 2010 at 12:29:54PM -0800, rog...@sdf.org wrote: On Mon, Jun 28, 2010 at 07:59:13PM +0200, Christian Brabandt wrote: It's browser. :set bind browser \Cn sidebar-next It is :bind browser \Cn sidebar-next (if your mutt is compiled with the sidebar patch). Still error, sidebar-next: no such function in map You could check out this one: http://sourceforge.net/search/?type_of_search=softwords=mutt-mb There's no need for the sidebar anymore with mutt-mb.
What map is default for .maildir?
I'm trying to figure out why bind keys are not working, and finding the reason being, the default view for my $HOME/.maildir folder on startup isn't defined as index or pager (or any maps mentioned within the Mutt Wiki map/bind keys sections). Here's what my default view looks like: q:Exit c:Chdir m:Mask ?:Help 1 4.0K Jun 19 15:25 =.abook-devel/ 2 4.0K Jun 21 22:44 =.cdw-devel/ 3 4.0K Feb 13 09:35 =.cmus-devel/ 4 4.0K Jun 25 13:12 =.dillo/ 5 4.0K Jun 25 13:02 =.Drafts/ 6 4.0K Feb 13 09:48 =.dsctl-devel/ 7 4.0K Jun 12 21:26 =.gcc-bugzilla/ 8 4.0K Jun 25 13:05 =.gentoo-bugzilla/ 9 4.0K Feb 12 22:48 =.gentoo-wiki/ 10 4.0K Jun 17 22:31 =.kernel-bugzilla/ ... and so on. I have a basic $HOME/.maildir with $HOME/.maildir/.subfolders listed. I'm guessing, this is just a basic folder view with no map definition at all! Once I enter a folder, I'm guessing that would be called index view/map and pager view/map would be when my $PAGER is invoked to read an email. (The other maps mentioned within the Mutt Wiki are self explanatory, but a few are still unknown to me -- ie. alias and generic.) -- Roger http://rogerx.freeshell.org/