From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: Babel: Set org-babel-min-lines-for-block-output for single code block? Date: Mon, 16 Dec 2019 18:11:48 +0000 Message-ID: <959DECCA-B2D8-4599-ABF1-52DA0D0FBC27@ucsd.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44413) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iguqp-0003FE-8o for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 13:12:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iguqn-0004Ld-VN for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 13:12:11 -0500 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:30826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iguqn-0004J1-F9 for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 13:12:09 -0500 In-Reply-To: Content-Language: en-US Content-ID: <0DD966DA616A0D4CACB2CE7A6EF90320@AD.UCSD.EDU> 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" To: Nathan Neff Cc: emacs-orgmode > On Dec 15, 2019, at 1:55 PM, Nathan Neff wrote: >=20 > Hello all, >=20 > I just found the org-babel-min-lines-for-block-output variable. >=20 > I have a table like this: >=20 > #+RESULTS: people-table > | User | ID | Homepage | > |-------+----+--------------------------| > | Bob | 1 | http://example.com/bob | > | Steve | 2 | http://example.com/steve | >=20 > And a code block like this: >=20 > #+begin_src python :var people=3Dpeople-table :results output=20 > for i, person in enumerate(people): > print('- ' + person[0]) > print(" " + person[2]) > #+end_src >=20 > I would like to set org-babel-min-lines-for-block-output variable for=20 > only the above code block. Is this possible using #+property or somethin= g like that? > Or do I need to have a "wrapper" elisp block around my python code? Use the `:wrap example' header. HTH, CCB