From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86222 Path: news.gmane.org!not-for-mail From: Enrico Schumann Newsgroups: gmane.emacs.gnus.general Subject: Re: piping html inline images through filter Date: Thu, 15 Oct 2015 16:26:33 +0200 Message-ID: <877fmotdgm.fsf@enricoschumann.net> References: <87d1wio76u.fsf@roche-blanche.net> <874mhty8md.fsf@enricoschumann.net> <87io69mjmw.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1444919284 425 80.91.229.3 (15 Oct 2015 14:28:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 14:28:04 +0000 (UTC) Cc: ding@gnus.org To: Peter =?utf-8?Q?M=C3=BCnster?= Original-X-From: ding-owner+M34456@lists.math.uh.edu Thu Oct 15 16:27:52 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZmjVQ-0005Yp-Vb for ding-account@gmane.org; Thu, 15 Oct 2015 16:27:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1ZmjUZ-0004kO-On; Thu, 15 Oct 2015 09:26:51 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZmjUY-0004k1-2Y for ding@lists.math.uh.edu; Thu, 15 Oct 2015 09:26:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZmjUW-0001hv-9v for ding@lists.math.uh.edu; Thu, 15 Oct 2015 09:26:49 -0500 Original-Received: from www231.your-server.de ([188.40.28.11]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZmjUU-00084a-GD for ding@gnus.org; Thu, 15 Oct 2015 16:26:46 +0200 Original-Received: from [88.198.220.132] (helo=sslproxy03.your-server.de) by www231.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1ZmjUO-0005nV-T7; Thu, 15 Oct 2015 16:26:40 +0200 Original-Received: from [109.164.234.9] (helo=radiance.enricoschumann.net) by sslproxy03.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1ZmjUL-0006dI-4h; Thu, 15 Oct 2015 16:26:37 +0200 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") X-Authenticated-Sender: es@enricoschumann.net X-Virus-Scanned: Clear (ClamAV 0.98.7/20969/Thu Oct 15 14:38:20 2015) X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86222 Archived-At: On Wed, 14 Oct 2015, Peter M=C3=BCnster 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 ()=20 (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. --=20 Enrico Schumann Lucerne, Switzerland http://enricoschumann.net