Re: Macro/Key Binding to call Fetchmail?
On Tue, Jul 10, 2007 at 07:52:09PM -0600, Kyle Wheeler wrote: > On Wednesday, July 11 at 11:42 AM, quoth Andrew Strong: > >I normally check mail from within Mutt 1.5.16 as follows: > > > > ! Fetchmail -v > > > >but I suspect this could be bound to a key rather than typed in each > >time. I have flailed around with no success, could I have a little > >direction from the mutt-users? > > macro index,pager I ' fetchmail -v' Absolutely perfect, thank you for that! Now I have that syntax I should be able to expand to other shell commands. Andrew -- Andrew's Corner http://people.aapt.net.au/~adjlstrong/homer.html
Re: How to organize mail in folders?
On Tue 10.Jul.07 19:23, Patrick Shanahan wrote: * Gary Johnson <[EMAIL PROTECTED]> [07-10-07 19:08]: Type l (the letter ell) to limit the messages that mutt displays, followed by ~F|~N to display only those messages that are either flagged (~F) or new (~N). See the mutt manual, especially the section on "Patterns" for more examples. You might even consider binding the limit[s] (described above) to easily remembered key strokes, and you are good to go :^) That + a folder-hook and he might get the exact desired behavior. -- redondos signature.asc Description: Digital signature
Re: Macro/Key Binding to call Fetchmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, July 11 at 11:42 AM, quoth Andrew Strong: >I normally check mail from within Mutt 1.5.16 as follows: > > ! Fetchmail -v > >but I suspect this could be bound to a key rather than typed in each >time. I have flailed around with no success, could I have a little >direction from the mutt-users? macro index,pager I ' fetchmail -v' ~Kyle - -- Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. -- Dwight D. Eisenhower -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFGlDfJBkIOoMqOI14RAtIaAJ9AnKOFhLOTD2hgt+1Xz02hRQhBJwCg2Ymc g/1nxcu4KMJwxr2DXMfHEhM= =8w7S -END PGP SIGNATURE-
Macro/Key Binding to call Fetchmail?
Hi, I normally check mail from within Mutt 1.5.16 as follows: ! Fetchmail -v but I suspect this could be bound to a key rather than typed in each time. I have flailed around with no success, could I have a little direction from the mutt-users? Thanks, Andrew -- Andrew's Corner http://people.aapt.net.au/~adjlstrong/homer.html
Re: Change into an mbox - like chdir
On (22:07 10/07/07), Cameron Simpson <[EMAIL PROTECTED]> put forth the proposition: > On 09Jul2007 12:55, Peter Wiersig <[EMAIL PROTECTED]> wrote: > | On Mon, Jul 09, 2007 at 12:49:57PM +0200, Peter Wiersig wrote: > | > On Mon, Jul 09, 2007 at 08:42:12AM +0100, David Woodfall wrote: > | > > Is there a way of setting up a macro or bind similar to change > | > > dir that will change to mbox? > | > > | > You probably don't know that ! is a shortcut to your configured > | > inbox, do you? > | > > | > See chapter "7. Mailbox Shortcuts" in your manual. > | > | I got another read on your message and have it interpreted another > | way now: > | > | In case you want to switch mutt cwd to the directory that matches > | the current mailfolder: > | > | I don't think there is a possibility for that. > > Inside mutt, no. But if you invoke mutt via a shell script you could cd into > a mail folder and then start mutt. If you run mutt once for a single folder > that would work ok (I do it this way). However, most people start mutt and > switch from folder to folder within it, and once inside mutt you can't change > directories. > > But I think we both misunderstand his request. Sorry it's hard to explain what I mean. Basically, I have some keybinds set up like this: macro browser l "^u/home/dive/mail/lists" Works fine, but, I want to be able to cd into an mbox. I can't with because I get an error about it not being a folder. So is there a command I can use in a macro or bind that will cd to an mbox? > -- > Cameron Simpson <[EMAIL PROTECTED]> DoD#743 > http://www.cskk.ezoshosting.com/cs/ > > The ultimate result of shielding men from the results of folly is to fill the > world with fools. - Tom Biggs, DoD #1146, <[EMAIL PROTECTED]> -- Have you ever wondered what makes Californians so calm? Besides drugs, I mean. The answer is hot tubs. A hot tub is a redwood container filled with water that you sit in naked with members of the opposite sex, none of whom is necessarily your spouse. After a few hours in their hot tubs, Californians don't give a damn about earthquakes or mass murderers. They don't give a damn about anything , which is why they are able to produce "Laverne and Shirley" week after week. -- Dave Barry, "The Taming of the Screw"
Re: How to organize mail in folders?
* Gary Johnson <[EMAIL PROTECTED]> [07-10-07 19:08]: > Type l (the letter ell) to limit the messages that mutt displays, > followed by > >~F|~N > > to display only those messages that are either flagged (~F) or new > (~N). See the mutt manual, especially the section on "Patterns" for > more examples. You might even consider binding the limit[s] (described above) to easily remembered key strokes, and you are good to go :^) -- Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://counter.li.org
Re: How to organize mail in folders?
On 2007-07-11, Kai Grossjohann <[EMAIL PROTECTED]> wrote: > With Gnus, I marked the to-do messages as important ("flagged" them, in > Mutt-speak, I think). After it was done, the message was marked as > read. Gnus would automatically show me both new messages and important > messages, hiding the ones marked as read. > > I think Mutt always shows me all messages, so this method cannot be > used. Type l (the letter ell) to limit the messages that mutt displays, followed by ~F|~N to display only those messages that are either flagged (~F) or new (~N). See the mutt manual, especially the section on "Patterns" for more examples. HTH, Gary
Re: How to organize mail in folders?
On Wed, Jul 11, 2007 at 12:57:10AM +0200, Kai Grossjohann wrote: > > With Gnus, I marked the to-do messages as important ("flagged" them, in > Mutt-speak, I think). After it was done, the message was marked as > read. Gnus would automatically show me both new messages and important > messages, hiding the ones marked as read. > > I think Mutt always shows me all messages, so this method cannot be > used. If you delete them, they won't show up anymore. :> If you don't like the idea of totally deleting them, you could apply the trash folder patch, and save them to a trash folder for later deleting and / or archiving. If you want to keep different trashes for different folders, this can be accomplished with folder hooks. Personally, I leave messages marked as "New" until I've responded to them or dealt with whatever needed to be dealt with, and then I either leave them in the folder (but unread), or delete them. I don't think you can /hide/ old and / or read messages, but you can color them differently if you want. w
How to organize mail in folders?
I used to use Gnus which is a newsreader at heart. Therefore the method to organize mail in folders ("groups" in Gnus-speak) was different from what I think I need with Mutt. I'd like to get some ideas from you how you organize your mail. For reference, here is what I think the problem might be. I distribute incoming mail across several folders according to the address they were sent to -- I am subscribed to quite a number of mailing lists. For most mailing lists, I want to know which messages are still to do, and also to keep old messages that have already been processed. With Gnus, I marked the to-do messages as important ("flagged" them, in Mutt-speak, I think). After it was done, the message was marked as read. Gnus would automatically show me both new messages and important messages, hiding the ones marked as read. I think Mutt always shows me all messages, so this method cannot be used. tia, Kai
Re: Q: Better list of mailboxes?
=- Kai Grossjohann wrote on Tue 10.Jul'07 at 14:51:30 +0200 -= > I have added all my (important) mail folders to the mailboxes > list, and I am now very fond of y to browse them. Some small > features are missing, though, so I thought I'd ask here for ideas: > > - How to navigate to the next/previous mailbox with new mail? When you "change" rather than use "y", it is offered as default in the order your specified them. > - How to restrict the list of mailboxes to the ones with new mail? No way, unless you use local mailboxes and delete/ save any read msgs to leave only N inside: when the folder is empty, it will be removed from the filesystem (mbox-format required) when you set "save_empty=no", and it will disappear from "y" list, but reappear when new mail arrives and the folder exists again. > - How to show the total number of messages / the number of unread > messages in each mailbox? Total: no way yet. You can only see # of N, and only with IMAP. > - How to elide information from each line, such as the permissions > and ownerships of the directories? "folder_format" as already told by fellow mutter. -- © 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: Change into an mbox - like chdir
=- David Woodfall wrote on Tue 10.Jul'07 at 18:35:38 +0100 -= > Sorry it's hard to explain what I mean. Basically, I have some > keybinds set up like this: > > macro browser l "^u/home/dive/mail/lists" > > Works fine, but, I want to be able to cd into an mbox. I can't > with because I get an error about it not being a folder. So is > there a command I can use in a macro or bind that will cd to an > mbox? "cd" means opening a directory of the filesystem to show you files acting as mailfolders (!= directories with "mbox format"). Mailfolders are simply selected from the browser, or "change"d to from the index. You have to explain in detail step by step _without_ using macros what you want to achieve and when (where you start), then describe which part(s) you want to automate with macros. -- © 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: Change into an mbox - like chdir
* David Woodfall <[EMAIL PROTECTED]> [2007-07-10 18:35 +0100]: Sorry it's hard to explain what I mean. Basically, I have some keybinds set up like this: macro browser l "^u/home/dive/mail/lists" I have some macros like this: macro index ,m =mag which work for me. Breen -- Breen Mullins Menlo Park, California
Re: Change into an mbox - like chdir
On (22:07 10/07/07), Cameron Simpson <[EMAIL PROTECTED]> put forth the proposition: > On 09Jul2007 12:55, Peter Wiersig <[EMAIL PROTECTED]> wrote: > | On Mon, Jul 09, 2007 at 12:49:57PM +0200, Peter Wiersig wrote: > | > On Mon, Jul 09, 2007 at 08:42:12AM +0100, David Woodfall wrote: > | > > Is there a way of setting up a macro or bind similar to change > | > > dir that will change to mbox? > | > > | > You probably don't know that ! is a shortcut to your configured > | > inbox, do you? > | > > | > See chapter "7. Mailbox Shortcuts" in your manual. > | > | I got another read on your message and have it interpreted another > | way now: > | > | In case you want to switch mutt cwd to the directory that matches > | the current mailfolder: > | > | I don't think there is a possibility for that. > > Inside mutt, no. But if you invoke mutt via a shell script you could cd into > a mail folder and then start mutt. If you run mutt once for a single folder > that would work ok (I do it this way). However, most people start mutt and > switch from folder to folder within it, and once inside mutt you can't change > directories. > > But I think we both misunderstand his request. Sorry it's hard to explain what I mean. Basically, I have some keybinds set up like this: macro browser l "^u/home/dive/mail/lists" Works fine, but, I want to be able to cd into an mbox. I can't with because I get an error about it not being a folder. So is there a command I can use in a macro or bind that will cd to an mbox? > -- > Cameron Simpson <[EMAIL PROTECTED]> DoD#743 > http://www.cskk.ezoshosting.com/cs/ > > The ultimate result of shielding men from the results of folly is to fill the > world with fools. - Tom Biggs, DoD #1146, <[EMAIL PROTECTED]> -- James Joyce -- an essentially private man who wished his total indifference to public notice to be universally recognized. -- Tom Stoppard
Re: Q: Better list of mailboxes?
Greetings, * Kai Grossjohann [2007-07-10 14:51]: I have added all my (important) mail folders to the mailboxes list, and I am now very fond of y to browse them. Some small features are missing, though, so I thought I'd ask here for ideas: - How to navigate to the next/previous mailbox with new mail? - How to restrict the list of mailboxes to the ones with new mail? - How to show the total number of messages / the number of unread messages in each mailbox? Not an exact answer to your question, but a possible solution - try the sidebar patch: http://lunar-linux.org/~tchan/mutt/patch-1.5.16.sidebar.20070704.txt The patch adds a sidebar with list of folders on the left side of the mutt window. The sidebar shows folders with the total and new number of messages in them and folders with new messages can be highlighted. - How to elide information from each line, such as the permissions and ownerships of the directories? Tweak folder_format. Remove %F, %u and %g to get rid of the mode and ownership information. Again, by using the sidebar patch you're only getting folder name and message count. Hope this helps. - Kirill -- #!/usr/bin/perl -w print(&{sub(@){join($",@_)}}((join(''=>map{ord=~/^106/?uc:lc}($[=> map{chr}(97..122))[map{int}grep{length}split/(\d\d)/,'1021192001'. qq(141520080518120123250518)]))=~m(\A(\w{4})(\S+)(?#)(l\D+)$)),$/)
Re: Threaded mode but bring updated threads to the front?
* Yann Lejeune [Tue, 10 Jul 2007 15:05:04 +0200]: > On 2007/07/10-11:59(+), Baldur Gislason wrote : > > I'm wondering if it's possible to sort in threaded mode but have > > mutt bring the whole thread to the bottom of the mailbox index > > rather than putting the new messages back where the first > > message of the thread is? > Hi, > the following line in your ~/.muttrc should do this: > set sort=threads > set sort_aux=last-date-received Related to this, I like the sorting within a same thread that last-date-received gives, but I would like the thread with newest mail to be on top instead of bottom. I know about sort_aux=reverse-last-date-received, but that changes the ordering within the thread as well. I guess it's not possible, then? Or maybe there's a patch I don't know about... Thanks in advance, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org The pure and simple truth is rarely pure and never simple. -- Oscar Wilde
Re: Threaded mode but bring updated threads to the front?
On 2007/07/10-11:59(+), Baldur Gislason wrote : > I'm wondering if it's possible to sort in threaded mode but have > mutt bring the whole thread to the bottom of the mailbox index > rather than putting the new messages back where the first > message of the thread is? > Hi, the following line in your ~/.muttrc should do this: set sort=threads set sort_aux=last-date-received Regards. Yann.
Q: Better list of mailboxes?
I have added all my (important) mail folders to the mailboxes list, and I am now very fond of y to browse them. Some small features are missing, though, so I thought I'd ask here for ideas: - How to navigate to the next/previous mailbox with new mail? - How to restrict the list of mailboxes to the ones with new mail? - How to show the total number of messages / the number of unread messages in each mailbox? - How to elide information from each line, such as the permissions and ownerships of the directories? tia, Kai
Re: Change into an mbox - like chdir
On 09Jul2007 12:55, Peter Wiersig <[EMAIL PROTECTED]> wrote: | On Mon, Jul 09, 2007 at 12:49:57PM +0200, Peter Wiersig wrote: | > On Mon, Jul 09, 2007 at 08:42:12AM +0100, David Woodfall wrote: | > > Is there a way of setting up a macro or bind similar to change | > > dir that will change to mbox? | > | > You probably don't know that ! is a shortcut to your configured | > inbox, do you? | > | > See chapter "7. Mailbox Shortcuts" in your manual. | | I got another read on your message and have it interpreted another | way now: | | In case you want to switch mutt cwd to the directory that matches | the current mailfolder: | | I don't think there is a possibility for that. Inside mutt, no. But if you invoke mutt via a shell script you could cd into a mail folder and then start mutt. If you run mutt once for a single folder that would work ok (I do it this way). However, most people start mutt and switch from folder to folder within it, and once inside mutt you can't change directories. But I think we both misunderstand his request. -- Cameron Simpson <[EMAIL PROTECTED]> DoD#743 http://www.cskk.ezoshosting.com/cs/ The ultimate result of shielding men from the results of folly is to fill the world with fools. - Tom Biggs, DoD #1146, <[EMAIL PROTECTED]>
Threaded mode but bring updated threads to the front?
I'm wondering if it's possible to sort in threaded mode but have mutt bring the whole thread to the bottom of the mailbox index rather than putting the new messages back where the first message of the thread is? Baldur