On Sun, Jun 23, 2002 at 10:06:02PM +0200, [EMAIL PROTECTED] wrote: > One thing I do by mail is play some games at www.gamerz.net/pbmserv > and their you set your game commando in the subject. Is there someway > I could adjust the subject before I get the question by mutt what the > subject should be so I don't have to repeat the same procedur every > time. > > The commando always look like this: > > Subject: <game> <commando> <boardnr> <nick> <password> <move> > > But when doing a standard reply it looks like this : > > Subject: Re: <game> <boardnr> <nick> > > So I am looking for something to get me from the last subject to the > first so I only have to enter the <move> and only when replying to a > specific mailaddress with a specific first word in the subject.
You _could_ use a macro and the line-editing commands to edit the Subject. I played with it a little bit, but I don't know if can do everything you need. For example, with the following macro, macro index \cP 'r^M^M^W^B^B^B^B' typing Ctrl-P will start a reply to the current message (r), follow the To: and Cc: prompts with an Enter (^M^M), delete the last word of the Subject (^W), and move the cursor four columns to the left (^B^B^B^B). Note that each of the control characters on the right side of the macro is entered as a carat (^) followed by a letter, e.g., ^W is entered as ^ followed by W, not as Ctrl-W. So maybe you could use a macro to edit the Subject line the way you want, leaving cursor in the proper location for entering your move. HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |