Re: Refering to current message headers in mutt macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cameron,

On Mon, Aug 13, 2012 at 09:24:56AM +1000, Cameron Simpson wrote:
> On 13Aug2012 01:11, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> | > You could use a short python or perl-script to extract the message-id,
> | > e.g. something like this
> | > 
> | >  perl -ne '/^Message-Id:\s+(.*)/; print "$1\n";'
> | 
> | How do I say, run that command on the current message (or pipe it)
> | inside the macro definition?
> 
> Use <pipe-message> to send the message to a script which writes a mutt
> command, and then source the resulting file.
> 

Do you mean something like this:

"<pipe-message> <shell-cmd> > <tmp-file>; source <tmp-file>"

> Also consider joining the mutt-users list; plenty of mutters there.

Thanks for reminding me, I will do that soon.

:)

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux