Re: Exporting a message body
- To: mutt-users@xxxxxxxx
- Subject: Re: Exporting a message body
- From: Andrey Zhidenkov <andrey.zhidenkov@xxxxxxxxx>
- Date: Fri, 19 Jun 2009 17:02:12 +0400
- 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=phnq1yIpVBzsUnbW62dtXhMP3AVoPjixrK8Ms4pVhIs=; b=D1g7q4K7ad1AAFZqK2Ul2yASUPyqPk4maM8UPUECBrRNHFqjZEXvOZs1yIQDFEqYPB VZkbcak/RJpTQEkWY9oD/0p4Yv9nVaC7nbDJBacd5k12ECeFID7OquMTMqt+WJewZoud 5hp6QEw7yqwL8HtSOWuLK8c4QAotxhn3vQ/ek=
- 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=LlgQuvmOQcGgGHUX6ojLWP36FW1QmrWlFMaKigyFJnT5X8ptiInaEYGfwkHbOLioQU vvVg/UY245GmKTZrGdj3uGyoTW85/1nw5pmlFXZZCGUOIFt0ZFENi44d9TTDlT8IAewE Ntt8Ui2iPqfIaxyMCs6bQsSwKXhPMzIVGEav8=
- In-reply-to: <20090619124812.GG368@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: Andrey Zhidenkov <andrey.zhidenkov@xxxxxxxxx>, mutt-users@xxxxxxxx
- References: <20090619104930.GA13264@ibm> <20090619124812.GG368@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Jun 19, 2009 at 02:48:12PM +0200, Rocco Rutte wrote:
> Hi,
>
> * Andrey Zhidenkov wrote:
> > I would like to set a shortcut to export message. For example, I want to
> > convert
> > messages in LaTeX to store them on my PC. So i wrote a script in Perl, which
> > reads a message(s) body from standard input. I want to select a message and
> > type Ctrl-L, for example to send a current or tagged messages to stdin of
> > my script.
>
> > Is it possible?
>
> Yes, simply tag the messages, set $pipe_decode and $pipe_split
> accordingly and hit ; followed by |. That way your script will be called
> once per message. You can then bind this to a macro. But I wouldn't
> choose Ctrl+L because that is already taken (for refreshing the screen).
>
> Rocco
Ok. Thank you, I'll try! Ctrl-L I sad for example, but anyway thanks )