From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83595 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: External viewer output inserted into Article buffer Date: Thu, 01 Aug 2013 23:24:25 +0200 Message-ID: References: <87zjz0zpiq.fsf@thinkpad.tsdh.de> <87vc9gftvi.fsf@web.de> <87sj4hiy0f.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375392357 30898 80.91.229.3 (1 Aug 2013 21:25:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 21:25:57 +0000 (UTC) Cc: ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M31853@lists.math.uh.edu Thu Aug 01 23:25:57 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V50Nf-0000OW-RJ for ding-account@gmane.org; Thu, 01 Aug 2013 23:25:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1V50MW-0004AV-Tp; Thu, 01 Aug 2013 16:24:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1V50MV-0004A2-0m for ding@lists.math.uh.edu; Thu, 01 Aug 2013 16:24:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1V50MT-0006LY-UJ for ding@lists.math.uh.edu; Thu, 01 Aug 2013 16:24:42 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1V50MS-0003jo-J0 for ding@gnus.org; Thu, 01 Aug 2013 23:24:40 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V50ME-0006Yo-0Q; Thu, 01 Aug 2013 23:24:26 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUVFRROZJEFBAkwNCkB AQSmwvQLCQxqhNKFAs3PAAACM0lEQVQ4jXVSwYrbMBB9Gxf12hCWXI0qdFYQm/OiFb6XYnwdFDN3 U7b5/b5xsummu30Y2Z43895oJGzfY3++Abfg+R4rsXyMv+KjyI3Yb5fzB4xY/s29FIz4LPx/4nU6 f06M58+IcRynZXdHvI6jhcdxycC7vBuWbASN7qLj+CvBCaaLxBUTdzV1SVVxn/wz57wA7l9iorjl +xjfiB+P65q7hNY8QWKy1N3TpSI53XhfiwdFH9hgwn7ZL9sdZbTVWgsEAGV+d/mQDtQXEsUqINrl R/be5ZwAX7zMNTYP1ejkaTngRF8S1dc6wAhBLw8cwRo/yqy1RuvKRUWPnFqPhIzDzJboHSFBcTp0 edPB8DB31Tc6IaoTxdetE8dRiJt7XzVQqkSViMctV4qqa+7qESVBWwffe6ZwfN6HaoTKt0gVF/xA C6F04PZIsK4qWgh0IuFKay2ax6B2Kq2U2oRxx2xrysN7qf4ZGkovLgotomkpNWXmbpQt9jRP8c08 FG3RaRtKZE9wPtgx+YZQOZxQavCqtKWUncba1cwv/vGg2xBR1zhHMrS5rUmFRGyyxgMJbwWNm3Pt +Yv4tlbYCQrWb5VNeDnSXS2RQLfhGkwqnvIhQ5ILK+EuCcMsPEfCrg33X1hK69LKBha6wC4Gcuvr i3dd5rPieHmhE/Ywn1LGKe+yPVci1TDXEKnznRomYZVJcJzXi0SJk1LG1FNy6GD3rzPj4+7qznvN Mf9tJa9KtnKQvf4BmFQp3VX66WUAAAAASUVORK5CYII= X-Now-Playing: Various's _The Silence Was Warm Vol. 4_: "Hideki Umezawa - Re:painted Wall, Pawn" X-Hashcash: 1:23:130801:yamaoka@jpl.org::cTuw1WTXRo+GlZ6Y:00fyo1 X-Hashcash: 1:23:130801:ding@gnus.org::JPmQnAjase2MGlxc:0001YMGe In-Reply-To: <87sj4hiy0f.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 27 Feb 2013 16:20:48 +0100") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1V50ME-0006Yo-0Q MailScanner-NULL-Check: 1375997066.35157@VdxG/ajEmdaJXPXcFda+ww X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83595 Archived-At: Tassilo Horn writes: > Can't we simply assume that meaningful text-output arrives at stdout and > warnings appear at stderr? > > At least > > $ pdftotext foo.pdf - 2> /dev/null > > shows the pdf contents, whereas > > $ evinge foo.pdf 2> /dev/null > > outputs nothing, i.e., its warnings are redirected to /dev/null. > > Maybe there should be an option if one wants to ignore standard error > output, though. I don't know whether that's warranted. I think the user wants all the output from the command, in general. Some commands are chattier than they should be, but that's not the norm. > Oh, and maybe the output inserted into the article buffer should be > somewhat outstanding, e.g., fontify it with some special face. If it > had been fontified with something different than 'default, I'd > immediately seen that it is a feature and not a bug. :-) Good idea. I've now done that in Ma Gnus. -- (domestic pets only, the antidote for overdose, milk.) No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php