Re: Replying to a specific message
- To: mutt-users@xxxxxxxx
- Subject: Re: Replying to a specific message
- From: "Shreevatsa R" <shreevatsa.public@xxxxxxxxx>
- Date: Sun, 24 Aug 2008 17:17:41 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Z7qqcmKrOAKQB8IOEXdGm62THWVdYZElwD6VorOeGC0=; b=DUjrVL+iw9zjRC5cFyX0tVq5ADzPkGRB1ct4igO5juCqOihh3hXBb7oXwgq60DTXMd iqFHGGPteTAmOVnMRFHddNnJOtl9Mr3C8XYcuqywWJ8sbXCCboJjypjMJ4cl/lNQ/p7g 3s0oAXn1kmArARCLByvmyJSwvSiwAqT+EWRkE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bcZZ583JDkpSzO71B4sZwLj9v0KTFBGO1Uodiz5aSocORFrEvCkO3T8PQmkd7dHCqe kdLYHBNIoPbjkdBAIaA818n1Q4DURJ64d9V6zoZCyPYeFbbetGsGou4IxGv1vShINhdu rvcqALplWGb+spH7A503926NxMTjqoLmIJcrc=
- In-reply-to: <20080824200626.GD15670@xxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <7675454e0808241225t24a170f1na8a72aca1de4b159@xxxxxxxxxxxxxx> <20080824200626.GD15670@xxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
On Sun, Aug 24, 2008 at 4:06 PM, Michael Kjorling <michael@xxxxxxxxxxxx> wrote:
> On 24 Aug 2008 15:25 -0400, by shreevatsa.public@xxxxxxxxx (Shreevatsa R):
>> Is it possible to reply to a specific message (specified by its
>> Message-ID, say) from the command line?
>>
>> I was told on the #mutt IRC channel that it is possible to write such
>> a script using mutt -e ..., and that someone on this mailing list
>> might know how.
>
> The obvious solution would be to open the correct mailbox, set a limit,
> the editor and any reply-related settings (if needed), then invoke the
> reply command. Have you looked into that?
Thanks, that works:
function reply() {
MID=$1; shift;
mutt -e "push 'l ~h $MID<Enter>g'" $@
}
Excellent, now I can reply through mutt even when I'm reading email
through Gmail :)
Thanks,
Shreevatsa