From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: ":results none" doesn't seem to be documented Date: Wed, 14 Jan 2015 22:27:39 +0000 Message-ID: References: <54B6E40F.7050902@arfer.net> <86lhl53t0h.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBWPJ-0000s7-So for emacs-orgmode@gnu.org; Wed, 14 Jan 2015 17:27:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBWPE-0006QC-TX for emacs-orgmode@gnu.org; Wed, 14 Jan 2015 17:27:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:37466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBWPE-0006Q0-ML for emacs-orgmode@gnu.org; Wed, 14 Jan 2015 17:27:16 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YBWPD-0004Nj-G2 for emacs-orgmode@gnu.org; Wed, 14 Jan 2015 23:27:15 +0100 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jan 2015 23:27:15 +0100 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jan 2015 23:27:15 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Fabrice Niessen writes: > Hello, > > Andreas Leha wrote: >> Kodi Arfer writes: >>> "none" is allowed as an argument to :results (see, for example, >>> ob-core.el line 704 as of Git d36bd8d), but this isn't mentioned in >>> results.html. I just learned of its existence while reading >>> ob-core.el. >>> >>> To me, by the way, ":results none" seems like a useful feature rather >>> than being redundant with ":results silent", because it won't attempt >>> to print a massive object to the echo area. (Pehaps "silent" wasn't a >>> great choice of name.) >> >> Especially given that ":results none" prints "results silenced" in the >> echo area. Should rather be "results nonced" ;-) > > They're not the same... I know. I just wanted to stress the unfortunate naming. Unfortunate, because if you want the source block to produce "results silenced" you must not specify ":results silent", but rather ":results none" which is counter intuitive. > > Extract from my modest (and still "work in progress") Org-Babel > refcard [1]: > > - :results silent :: > Sends the commands, echoes the results in the minibuffer (to see > code block output), but *does not change the Org mode buffer* (even > during export, *no results are inserted* into the exported > document). > (default for Org and Screen code blocks) > > - :results none :: > Silents the results, even for the minibuffer. By definition, such > a code block is run for its side effects. > > Best regards, > Fabrice > > [1] https://github.com/fniessen/refcard-org-babel That looks nice! Andreas