Re: Macro question

2020-12-11 Thread Cameron Simpson
On 11Dec2020 07:27, Tom Tunguz wrote: >Suppose I'd like to move the address in the to field to the bcc field. >How do I do that? With a macro. Not sure it is possible. I have: set edit_headers=yes in my config and do all of that when editing the message. Cheers, Cameron Simpson

Re: Macro question

2020-12-11 Thread Tom Tunguz
Amazing. Thank you so much, Anders and Francesco. One more question if you don't mind. Suppose I'd like to move the address in the to field to the bcc field. How do I do that? On Thu, Dec 10, 2020 at 8:57 PM Francesco Ariis wrote: > Hello Tom, > > Il 10 dicembre 2020 alle 20:11 Tom Tunguz ha s

Re: Macro question

2020-12-10 Thread Francesco Ariis
Hello Tom, Il 10 dicembre 2020 alle 20:11 Tom Tunguz ha scritto: > Hi, > > I'm just getting into mutt and really enjoying it. I'm trying to create a > macro to add someone to the cc window that appears after closing the editor > (vim in my case) and mutt shows the to, cc, BCC, subject fields. I'd

Re: Macro question

2020-12-10 Thread Anders Damsgaard
* Tom Tunguz [2020-12-10 20:11:47 -0800]: Hi, I'm just getting into mutt and really enjoying it. I'm trying to create a macro to add someone to the cc window that appears after closing the editor (vim in my case) and mutt shows the to, cc, BCC, subject fields. I'd like to hit control + g and a

Macro question

2020-12-10 Thread Tom Tunguz
Hi, I'm just getting into mutt and really enjoying it. I'm trying to create a macro to add someone to the cc window that appears after closing the editor (vim in my case) and mutt shows the to, cc, BCC, subject fields. I'd like to hit control + g and add an email address. My current macro is this

Re: macro question

2008-08-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, August 6 at 11:32 PM, quoth Thorsten Scherf: > in my muttrc I have the following: > > folder-hook . 'macro index,pager d ' > folder-hook 'INBOX$' \ > 'macro pager,index d "+INBOX.Trash"' > > this should move my deleted mails from INBOX

Re: macro question

2008-08-06 Thread Thorsten Scherf
On [Thu, 07.08.2008 04:39], Michael Kjorling wrote: On 6 Aug 2008 23:32 +0200, by [EMAIL PROTECTED] (Thorsten Scherf): folder-hook 'INBOX$' \ 'macro pager,index d "+INBOX.Trash"' Have you tried making the regexp '.*INBOX$'? It would be semantically the same, but *might* (I haven't tried this)

Re: macro question

2008-08-06 Thread Michael Kjorling
On 6 Aug 2008 23:32 +0200, by [EMAIL PROTECTED] (Thorsten Scherf): > folder-hook 'INBOX$' \ > 'macro pager,index d "+INBOX.Trash"' Have you tried making the regexp '.*INBOX$'? It would be semantically the same, but *might* (I haven't tried this) make a difference for mutt. > folder-hook . \ >

macro question

2008-08-06 Thread Thorsten Scherf
Could somebody enlighten me what is wrong with the following macro definition? I have several local IMAP-mailboxes: imap://[EMAIL PROTECTED]/INBOX imap://[EMAIL PROTECTED]/INBOX.Drafts ... in my muttrc I have the following: folder-hook . 'macro index,pager d ' folder-hook 'INBOX$' \ 'macro pa

Re: Compose macro question

2002-09-11 Thread Sven Guckes
* Pedro Alves <[EMAIL PROTECTED]> [2002-09-10 14:37]: > On Tue, Sep 10, 2002 at 04:08:44PM +0200, Michael Tatge wrote: > > Pedro Alves ([EMAIL PROTECTED]) muttered: > > > I want to make a compose macro that verifies the from-address and changes > > > the fcc according to that value... > > > > >

Re: Compose macro question

2002-09-10 Thread Pedro Alves
On Tue, Sep 10, 2002 at 04:08:44PM +0200, Michael Tatge wrote: > Pedro Alves ([EMAIL PROTECTED]) muttered: > > I want to make a compose macro that verifies the from-address and changes > > the fcc according to that value... > > > > perhaps something like: > > > > compose V if ( == 'foo@ba

Re: Compose macro question

2002-09-10 Thread Michael Tatge
Pedro Alves ([EMAIL PROTECTED]) muttered: > I want to make a compose macro that verifies the from-address and changes > the fcc according to that value... > > perhaps something like: > > compose V if ( == 'foo@bar' )then { = '=bla'} > > Can you give me a hand on this? What about fcc-h

Compose macro question

2002-09-10 Thread Pedro Alves
Hi! I want to make a compose macro that verifies the from-address and changes the fcc according to that value... perhaps something like: compose V if ( == 'foo@bar' )then { = '=bla'} Can you give me a hand on this? Thanks a lot -- Pedro Miguel G. Alves [EMAIL PROTECT

Re: Silly Macro Question

2000-12-02 Thread Nils Vogels
Hi Timothy Grant ! On Fri 01 Dec 2000 (17:03), you muttered on the list: > Hi all, > > This is probably a silly question, but I thought I would ask just in case. > > Is there a way to create a macro that will run a shell command and then > return to mutt without me having to press a key to con

Re: Silly Macro Question

2000-12-01 Thread Harold Oga
On Fri, Dec 01, 2000 at 05:03:46PM -0800, Timothy Grant wrote: >Hi all, > >This is probably a silly question, but I thought I would ask just in case. > >Is there a way to create a macro that will run a shell command and then >return to mutt without me having to press a key to continue? Hi, The

Silly Macro Question

2000-12-01 Thread Timothy Grant
Hi all, This is probably a silly question, but I thought I would ask just in case. Is there a way to create a macro that will run a shell command and then return to mutt without me having to press a key to continue? -- Stand Fast, tjg. Timothy Grant [EMAIL PROTEC

Re: macro question

1999-10-06 Thread Dennis Moore
On Thu, Oct 07, 1999 at 12:31:11AM +0300, Mikko Hänninen wrote: > Is there some specific reason you want to have the messages tagged? > If not, I recommend you go for D instead of T, which is "delete > messages matching pattern..." And if there are no such messages, > nothing happens. > > So the

Re: macro question

1999-10-06 Thread Mikko Hänninen
Dennis Moore <[EMAIL PROTECTED]> wrote on Wed, 06 Oct 1999: > i'm need a macro to do the following: > macro index \cE "TMail Delivery\n;d\$y" > > in other words, delete all the email with 'Mail Delivery' > does anyone know of a better way to do this in mutt? Is there some specific reason you w

macro question

1999-10-06 Thread Dennis Moore
i'm need a macro to do the following: macro index \cE "TMail Delivery\n;d\$y" in other words, delete all the email with 'Mail Delivery' this works, except if there are no matching messages, the ';' will fail and the 'd' will apply to the current message which then gets deleted. does anyone know