Re: tag pattern
- To: mutt-users@xxxxxxxx
- Subject: Re: tag pattern
- From: bill lam <cbill.lam@xxxxxxxxx>
- Date: Thu, 2 Oct 2008 22:58:32 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=A6mVcjEG9ty3Plo6Eg89/G7fU07f4MaRsmifmdk3kvc=; b=CPmP1ilHRpkKumu+4ouyh6Xg4xkYuvtbdiuqbK9fIXfl5itZF6H/9jWBic4qGKHsHm EGQ1wdBuT19wzQ+aqGSpXxL9uJpgNiA0Aqaslj7MSd8phPWVcLwSJMbEEWcgcxOD7aex w8lj+F65cLryTP8eL3hvc9mfO9IVHRuBY3184=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=pMyv46EtWaRRo01b+Jwk/4DE3ezFPKtP5e07MUiJhuMKHjIZyPKhp2k0f91ZbSDG1w luc6O+v6rbytApCmf24o2l3/UV+RgCz+IAnWrvMyJEyeU79JFVifTWN93PLJDHdXk5Rh sO7AfjHXHEneCMhfMdi5UXbnr3CY0H2PntCSw=
- In-reply-to: <20081002135506.GE18817@xxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20081002134516.GA7546@b2j> <20081002135506.GE18817@xxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-09-24)
On Thu, 02 Oct 2008, Rejo Zenger wrote:
> ++ 02/10/08 21:45 +0800 - bill lam:
> >I often need to tag the same pattern. Instead of typing each time, how
> >can I save the following and bind it shortcut key?
> >tag pattern
> > T \[.*patch.*\] <return>
>
> You would need to use a "macro". Untested:
>
> macro pager,index \ca "T\[.*patch.*\]<enter>" # tag using pattern
Thank you Rejo! I tried that \ inside quotes should be escaped too.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3