From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87338 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: writing a function that pipes the html mime part to an external script Date: Fri, 20 Jan 2017 11:41:55 +0100 Message-ID: <87efzy9fnw.fsf@linux-m68k.org> References: <877f5qi5df.fsf@b79.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484908993 30382 195.159.176.226 (20 Jan 2017 10:43:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2017 10:43:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) Cc: ding@gnus.org To: John Magolske Original-X-From: ding-owner+M35558@lists.math.uh.edu Fri Jan 20 11:43:09 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUWej-0006NB-V1 for ding-account@gmane.org; Fri, 20 Jan 2017 11:42:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1cUWdx-0003U5-Kd; Fri, 20 Jan 2017 04:42:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cUWdu-0003TT-UJ for ding@lists.math.uh.edu; Fri, 20 Jan 2017 04:42:02 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1cUWds-0004R8-Tc for ding@lists.math.uh.edu; Fri, 20 Jan 2017 04:42:02 -0600 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by quimby.gnus.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1cUWdr-0005R7-ED for ding@gnus.org; Fri, 20 Jan 2017 11:41:59 +0100 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3v4chh4wrGz3hl8Y; Fri, 20 Jan 2017 11:41:56 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3v4chh4Lt1zvks7; Fri, 20 Jan 2017 11:41:56 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id om8RrkcjMs4j; Fri, 20 Jan 2017 11:41:55 +0100 (CET) X-Auth-Info: WZq3ZosZV/DbYS31V7P7ZNhoRDXfkRW9g61ZC3xAPZUSxrHuK6WM4HBDHOZ5Bx2x Original-Received: from igel.home (ppp-88-217-11-185.dynamic.mnet-online.de [88.217.11.185]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 20 Jan 2017 11:41:55 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 3040C2C205C; Fri, 20 Jan 2017 11:41:55 +0100 (CET) X-Yow: All this time I've been VIEWING a RUSSIAN MIDGET SODOMIZE a HOUSECAT! In-Reply-To: <877f5qi5df.fsf@b79.net> (John Magolske's message of "Thu, 19 Jan 2017 22:59:24 -0800") List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87338 Archived-At: On Jan 19 2017, John Magolske 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."