Re: sync-mailbox not available in postpone map?
On Fri, May 29, 2015 at 3:33 AM, Michael Tatge tatg...@gmail.com wrote: * On Thu, May 28, 2015 04:37PM -0400 Xu Wang (xuwang...@gmail.com) muttered: The following does not work. bind postpone $ sync-mailbox And it's not supposed to. There are only two functions valid in the postpone menu. http://www.mutt.org/doc/devel/manual.html#postpone-map I see. Is there intuition for this being the case? For example, if I do 'q', it asks if I would like to sync, so I do not see why it is not suggested to sync without quitting. Kind regards, Xu
Re: sync-mailbox not available in postpone map?
* On Thu, May 28, 2015 04:37PM -0400 Xu Wang (xuwang...@gmail.com) muttered: The following does not work. bind postpone $ sync-mailbox And it's not supposed to. There are only two functions valid in the postpone menu. http://www.mutt.org/doc/devel/manual.html#postpone-map Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
sync-mailbox not available in postpone map?
The following does not work. Is there some reason or intution for why not? bind postpone $ sync-mailbox Kind regards, Xu
sync-mailbox automation
Hi Is it possible to run automatically and periodically a sync-mailbox command in mutt? This is to update the flags on the mailfolder non-interactively. -- - Eric Smith
Re: sync mailbox
=- Albert Shih wrote on Fri 17.Oct'08 at 22:26:47 +0200 -= It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? Stupid question : How I do that ? Do change-folder to the same mailbox, which you do by hitting c ^, with the default bindings. Lots of thanks. It's working Do you known how can I include this in my macro ? If I put {...} This might have been filed as ticket, search http://bugs.mutt.org/ for it. Attach yourself as Cc: for updates and wait for it to be corrected or supply a patch yourself. -- © 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: sync mailbox
Le 17/10/2008 à 04:34:56+, Michael Kjorling a écrit On 16 Oct 2008 22:06 +0200, by [EMAIL PROTECTED] (Albert Shih): It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? Stupid question : How I do that ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 17 oct 2008 08:18:36 CEST
Re: sync mailbox
* Albert Shih [EMAIL PROTECTED] [2008-10-17 08:20]: Le 17/10/2008 à 04:34:56+, Michael Kjorling a écrit On 16 Oct 2008 22:06 +0200, by [EMAIL PROTECTED] (Albert Shih): It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? Stupid question : How I do that ? Simply try '$' ... pgpqOZGJfcyYa.pgp Description: PGP signature
Re: sync mailbox
Le 17/10/2008 à 11:08:26+0200, Stefan Wimmer a écrit * Albert Shih [EMAIL PROTECTED] [2008-10-17 08:20]: Le 17/10/2008 à 04:34:56+, Michael Kjorling a écrit On 16 Oct 2008 22:06 +0200, by [EMAIL PROTECTED] (Albert Shih): It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? Stupid question : How I do that ? Simply try '$' ... OK. That's I known (after 10 years of using mutt ) But...no it's not working I don't get my message. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 17 oct 2008 14:21:21 CEST
Re: sync mailbox
* Albert Shih [EMAIL PROTECTED], 2008-10-17 08:19:10 Fri: Le 17/10/2008 à 04:34:56+, Michael Kjorling a écrit On 16 Oct 2008 22:06 +0200, by [EMAIL PROTECTED] (Albert Shih): It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? Stupid question : How I do that ? Do change-folder to the same mailbox, which you do by hitting c ^, with the default bindings. -- David Haguenauer pgp8TdFQd6IzC.pgp Description: PGP signature
Re: sync mailbox
Le 17/10/2008 à 08:30:35-0400, David Haguenauer a écrit * Albert Shih [EMAIL PROTECTED], 2008-10-17 08:19:10 Fri: Le 17/10/2008 à 04:34:56+, Michael Kjorling a écrit On 16 Oct 2008 22:06 +0200, by [EMAIL PROTECTED] (Albert Shih): It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? Stupid question : How I do that ? Do change-folder to the same mailbox, which you do by hitting c ^, with the default bindings. Lots of thanks. It's working Do you known how can I include this in my macro ? If I put macro index,pager y enter-commandset editor=\~/bin/editlabel append\\n\ editsync-mailbox\nchange-folder='^'\nenter-commandset editor=monediteur\n Append label he tell me the mailbox don't exist Thanks again. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Ven 17 oct 2008 22:25:30 CEST
sync mailbox
Hi all I'm using mutt with imap connection on courier-imap server. Sometime I edit a mail the X-Label under mutt for that I'm using a script editlabel http://blitiri.com.ar/p/other/mutt-labels/editlabel I put this macro macro index,pager y enter-commandset editor=\~/bin/editlabel append\\n\ editsync-mailboxnext-undeleted\ enter-commandset editor=vim\n Append label in my .muttrc It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. How can I make the old-one disapear but the new one is in the index very quickly ? Thanks, Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Jeu 16 oct 2008 22:05:46 CEST
Re: sync mailbox
On 16 Oct 2008 22:06 +0200, by [EMAIL PROTECTED] (Albert Shih): It's working but the mail a edit disapear from the mailbox and...and the new one not come. I must exit mutt and re-launch. Maybe I can wait long-time. What happens if you simply reload the mailbox? -- Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se * . No bird soars too high if he soars with his own wings . * * ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 * * ASCII Ribbon Campaign: Against HTML mail, proprietary attachments * signature.asc Description: Digital signature
sync-mailbox / delete question
Hi everyone, I've been trying to write a macro to remap my $ key to sync my mailbox (and delete marked emails), and then run an external script. I've written the below macro, and it works except it doesn't ask me if I'm sure I want to delete the messages. Thiisn't a really big deal, but it seems as thought it still should. Any ideas? macro index $ enter-commandset delete=ask-yesenterenter-commandset wait_key=noentersync-mailboxshell-escapetest-script.plenterenter-commandset wait_key=yesenter Thanks! Josh ps.. if you could reply to this email, and not just the list I'd appreciate it. Thanks! -- _ | Josh Estelle http://www.joshestelle.com/ | | 312 N. Thayer St. AIM: joshuajestelle | | Ann Arbor, MI 48104-1519 MSN: joshuajestelle | | Cell: (734) 945-6331 [EMAIL PROTECTED] | |___|
Auto sync-mailbox
Hi! I was just wondering if mutt have some options for autorunning sync-mailbox ($)? -- |Mail address |Home telephonenumber|E-mail address | |Johan Svedberg |+46 (0)90 49 139|[EMAIL PROTECTED]| |Hästhagsvägen 2|| | |905 96 Umeå|Cellular telephonenumber|WWW address | |Sweden |+46 (0)70 639 49 82 |http://www.acc.umu.se/~winkle| --
Re: Auto sync-mailbox - no way!
* Johan Svedberg [EMAIL PROTECTED] [2002-07-08 15:24]: I was just wondering if mutt have some options for autorunning sync-mailbox ($)? no. we'd rather not have people lose mails that way. besides, you can use rm with 'crontab to get rid of some mail periodically if you wish. *ehem* Sven
sync-mailbox signals errors on empty mailboxes?
Why does sync-mailbox signal an error when the mailbox is empty? Shouldn't it just be a no-op? The error foils these macros: macro index y sync-mailboxchange-folder?toggle-mailboxes macro pager y sync-mailboxchange-folder?toggle-mailboxes Thanks, Sam
sync mailbox (was Re: a couple more questions)
On Mon, Dec 03, 2001 at 10:31:54AM -0500, Paul Brannan wrote: No, I'm not trying to delete the message. What I want to do is send a message to myself and refresh the mailbox, so that I can see the message in my mailbox before the next scheduled mail check. (In other words, I want to be able to check my mail at an arbitrary time, rather than at every mail_check interval). I've been trying out setting delete=ask-no, and seeing if I can live with that. It seems bearable, but still a minor nuisance. However, if I respond no that I do not want to purge message, it seems that new messages do not show up in the inbox. As soon as I respond with a yes, the new messages show up. Is there any way to allow new messages to show up without purging messages from a mailbox? Paul
Re: sync mailbox (was Re: a couple more questions)
* Paul Brannan [EMAIL PROTECTED] [05-12-2001 21:34]: | Is there any way to allow new messages to show up without purging | messages from a mailbox? I'm not sure on this one, but what seemed to work for me, was trying to move the indicator below the last message. This seemd to force a check. But, again, I don't know this for sure... HTH, -- René Clerc - ([EMAIL PROTECTED]) There is a definite parallel between shots of tequila and a woman's breasts. One is not enough and three are too many. msg21109/pgp0.pgp Description: PGP signature
Re: sync mailbox (was Re: a couple more questions)
On Wed, Dec 05, 2001 at 09:40:36PM +0100, René Clerc wrote: I'm not sure on this one, but what seemed to work for me, was trying to move the indicator below the last message. This seemd to force a check. But, again, I don't know this for sure... Hmm, that did not help. :) I think this has something to do with Mutt's interaction with IMAP mailboxes? Paul
Re: a couple more questions - sync-mailbox
On Sat, Dec 01, 2001 at 09:08:02AM +0100, Sven Guckes wrote: * Paul Brannan [EMAIL PROTECTED] [011130 15:45]: 1) How can I refresh the current inbox? Use the command sync-mailbox - bound to '$' by default. And please use '?' to show the help screen and '/' to search within. Then go RTFM. Pressing '$' does not appear to have any effect. As a test, I: a) send a message to myself b) return to my INBOX (which resides on an IMAP server) c) wait a while, then press '$' -- nothing happens d) quit mutt e) start mutt and return to my INBOX -- the message is there As a test, I try the same thing in Pine: a) send a message to myself b) return to my INBOX c) press Ctrl-L -- the message is there Is there a configuration option I am missing in Mutt? Thanks again, Paul
Re: a couple more questions - sync-mailbox
On Mon, Dec 03, 2001 at 10:19:33AM -0500, Paul Brannan wrote: On Sat, Dec 01, 2001 at 09:08:02AM +0100, Sven Guckes wrote: * Paul Brannan [EMAIL PROTECTED] [011130 15:45]: 1) How can I refresh the current inbox? Use the command sync-mailbox - bound to '$' by default. And please use '?' to show the help screen and '/' to search within. Then go RTFM. Pressing '$' does not appear to have any effect. As a test, I: a) send a message to myself b) return to my INBOX (which resides on an IMAP server) c) wait a while, then press '$' -- nothing happens d) quit mutt e) start mutt and return to my INBOX -- the message is there syncing doesn't delete anything on it's own... you have to delete the message if you expect the sync to remove it from the mailbox. or am I misunderstanding you? -- Dan Boger Linux MVP brainbench.com msg20967/pgp0.pgp Description: PGP signature
Re: a couple more questions - sync-mailbox
On Mon, Dec 03, 2001 at 10:24:04AM -0500, Dan Boger wrote: On Mon, Dec 03, 2001 at 10:19:33AM -0500, Paul Brannan wrote: Pressing '$' does not appear to have any effect. As a test, I: a) send a message to myself b) return to my INBOX (which resides on an IMAP server) c) wait a while, then press '$' -- nothing happens d) quit mutt e) start mutt and return to my INBOX -- the message is there syncing doesn't delete anything on it's own... you have to delete the message if you expect the sync to remove it from the mailbox. or am I misunderstanding you? No, I'm not trying to delete the message. What I want to do is send a message to myself and refresh the mailbox, so that I can see the message in my mailbox before the next scheduled mail check. (In other words, I want to be able to check my mail at an arbitrary time, rather than at every mail_check interval). Paul
Re: a couple more questions - sync-mailbox
Paul Brannan [EMAIL PROTECTED] writes: On Sat, Dec 01, 2001 at 09:08:02AM +0100, Sven Guckes wrote: * Paul Brannan [EMAIL PROTECTED] [011130 15:45]: 1) How can I refresh the current inbox? Use the command sync-mailbox - bound to '$' by default. And please use '?' to show the help screen and '/' to search within. Then go RTFM. Pressing '$' does not appear to have any effect. As a test, I: I also have the same problem. '$' does nothing and I cannot find the sync-mailbox command. This problem only occurs in X-windows, via a terminal or menu. Outside of X it works fine. -- Harold Sargeant
Re: a couple more questions - sync-mailbox
* Paul Brannan [EMAIL PROTECTED] [011130 15:45]: 1) How can I refresh the current inbox? Use the command sync-mailbox - bound to '$' by default. And please use '?' to show the help screen and '/' to search within. Then go RTFM. 2) Can I set up vim to place the cursor in the To field automatically when composing a message? yes. this is not a vim list, however. oh, ok, it's just that easy: set editor=vim +/To: Sven -- Sven Guckes [EMAIL PROTECTED] - editing emails and posts in color with VIM: Just get the filehttp://www.math.fu-berlin.de/~guckes/vim/syntax/sven.vim How to use this syntax file with Vim: :syntax on and :source path/sven.vim Using mutt with Vim: http://www.math.fu-berlin.de/~guckes/mutt/and.vim.html
Re: spontaneous sync-mailbox
Hi Eric, * Eric Smith [EMAIL PROTECTED] [08/13/01 12:03]: Is this possible to implement without pathcing the source? I mean, Instead of having to explicitly calling it with '$' You just have to define some macros. For instance : macro index d delete-messagesync-mailbox delete and sync macro pager d delete-messagesync-mailbox delete and sync Whatever I do in mutt I would like my mailbox flags to be updated in real time. But doing this you'll lose the ability to change your mind and undo changes. Furthermore, for huge mailboxes (especially if you manipulate old mails in mbox format), syncing can take a lot of time. Anyway, HTH. -- Cedric
Re: spontaneous sync-mailbox
According to Cedric Duval on Mon, Aug 13, 2001 at 01:03:48PM +0200: | Hi Eric, | | * Eric Smith [EMAIL PROTECTED] [08/13/01 12:03]: | Is this possible to implement without pathcing the source? | | I mean, Instead of having to explicitly calling it with '$' | | You just have to define some macros. For instance : | | macro index d delete-messagesync-mailbox delete and sync | macro pager d delete-messagesync-mailbox delete and sync | Of course ! But slight problem, the sync-mailbox command does not work on my Mutt 1.2.5i in the pager - only in the index. Can check this by going exec sync-mailbox sync-mailbox: no such command And of course this don't win any prizes cause you dont get to read the mail! macro index return display-messageexitsync-mailbox read the mail and sync reason for wanting this is that I have a kind of an xbiff running every minute viz. #!/bin/sh response=`nfrm`; if [ $response != 'You have no new mail.' ];then screen -X -S 4880.ENVELOPE echo $response fi very kewl if you are a screen user (IMHO). So I need to do a manual resync to stop the flashing of the new mail. I do not want to have to do that. | Whatever I do in mutt I would like my mailbox flags to be updated in | real time. | | But doing this you'll lose the ability to change your mind and undo | changes. Furthermore, for huge mailboxes (especially if you manipulate | old mails in mbox format), syncing can take a lot of time. ten we use folder-hook, I only need theis macro for my incoming mailspool. -- Eric Smith Fruitcom.com Benelux Wire phone: +31 20 681 6889 Wireless: +31 617 232 304
Re: spontaneous sync-mailbox
* Eric Smith [EMAIL PROTECTED] [08/13/01 16:25]: | You just have to define some macros. For instance : | | macro index d delete-messagesync-mailbox delete and sync | macro pager d delete-messagesync-mailbox delete and sync | Of course ! But slight problem, the sync-mailbox command does not work on my Mutt 1.2.5i in the pager - only in the index. Can check this by going exec sync-mailbox sync-mailbox: no such command Ok. I hadn't tested these macros. I forgot sync-mailbox is only for the pager. And of course this don't win any prizes cause you dont get to read the mail! macro index return display-messageexitsync-mailbox read the [...] ^ ^^^ ??? this seems equivalent to... doing nothing ! For the index: macro index d delete-messagesync-mailbox For the pager: macro pager d exitdelete-messagesync-mailboxdisplay-message Er... delete-message was indeed the worst example I could have chosen, because Mutt won't display the mail it has just deleted! :-/ But you get the idea. -- Cedric