Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: writing a function that pipes the html mime part to an external script
Date: Fri, 20 Jan 2017 10:07:24 -0800	[thread overview]
Message-ID: <87vat9zjtv.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87r33xhgic.fsf@b79.net>

John Magolske <listmail@b79.net> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>> On Jan 19 2017, John Magolske <listmail@b79.net> wrote:
>>
>>> and everything works as intended. But I'd like to do away with that last
>>> step of having to manually enter the shell command, somehow placing that
>>> "~/bin/pipe_to_tmp" directly into a function that could be mapped to a
>>> key binding. I've been messing around with mm-pipe-part but haven't
>>> found a way to do this. Any suggestions?
>>
>> Write a function that calls mm-pipe-part directly.
>
> This is where I'm stuck... I believe there should be something like
>
>     (mm-pipe-part HANDLE "~/bin/pipe_to_tmp")
>
> in the function, but I can't figure out exactly what should go in the
> place of HANDLE here.
>
> John

You can get the various article part handles with
`gnus-article-mime-handles', is that what you were looking for?

Eric




  parent reply	other threads:[~2017-01-20 18:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-20  6:59 John Magolske
2017-01-20 10:41 ` Andreas Schwab
2017-01-20 15:56   ` John Magolske
2017-01-20 17:51     ` Andreas Schwab
2017-01-20 18:24       ` John Magolske
2017-02-02  8:33         ` John Magolske
2017-01-20 18:07     ` Eric Abrahamsen [this message]
2017-01-20 20:04       ` John Magolske
2017-01-20 20:34         ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vat9zjtv.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).