Gnus development mailing list
 help / color / mirror / Atom feed
From: Enrico Schumann <es@enricoschumann.net>
To: "Peter Münster" <pmlists@free.fr>
Cc: ding@gnus.org
Subject: Re: piping html inline images through filter
Date: Thu, 15 Oct 2015 16:26:33 +0200	[thread overview]
Message-ID: <877fmotdgm.fsf@enricoschumann.net> (raw)
In-Reply-To: <87io69mjmw.fsf@free.fr> ("Peter \=\?utf-8\?Q\?M\=C3\=BCnster\=22's\?\= message of "Wed, 14 Oct 2015 19:42:47 +0200")

On Wed, 14 Oct 2015, Peter Münster <pmlists@free.fr> writes:

> On Wed, Oct 14 2015, Enrico Schumann wrote:
>
>> For processing specific parts of the email you could first save the
>> interesting parts to some tmp-directory (for instance with
>> 'gnus-summary-save-parts'). Then run a 'shell-command' that does all the
>> computations on the image(s), the output of which you insert into your
>> reply.
>
> Yes, thanks. And how would it be possible to place the output at the
> right location please?
>
> TIA,

I have no idea; sorry. [In my workflow, the script sends the emails,
without any interaction.]

In principle, you could to something like this from the Summary buffer

  (defun reply-with-shell-output () 
    (interactive)
    ;; save parts with gnus-summary-save-parts
    (gnus-summary-reply-with-original 1)
    ;; move to correct place
    (shell-command "date" t))

but it would require quite some manoeuvring/editing in the reply-buffer.

-- 
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net



      reply	other threads:[~2015-10-15 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13 20:16 Peter Münster
2015-10-14 11:47 ` Enrico Schumann
2015-10-14 17:42   ` Peter Münster
2015-10-15 14:26     ` Enrico Schumann [this message]

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=877fmotdgm.fsf@enricoschumann.net \
    --to=es@enricoschumann.net \
    --cc=ding@gnus.org \
    --cc=pmlists@free.fr \
    /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).