From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ILVuEecwpWVKRgAAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Jan 2024 14:19:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ILVuEecwpWVKRgAAqHPOHw (envelope-from ) for ; Mon, 15 Jan 2024 14:19:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RHiM9e0n; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705324775; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vi7H/gY/aXgJKBEgxvN+xVOUwN4IIOZFp8QKvOE/0iA=; b=PL5C611vWvlOp8cbQaFYp8GjSwSzz9/eIOIyeS4/CYcxuJYE5F6Lg8toA/jOIfVdApLcG9 btbRw8hW917DjxdBK6y9m9rJgY16laI2ZeHnSsedVfsJEeUhnYuhsz6ZhysqMQt/LSgLNS nLEZND7LIf2gK/dv5++tcgije5D6Q+a5GIvBqzSZ+VT2A/ylC+nBTfj8brBIwIjfinnQf5 SV6pdLvgUcK+iRagTym6LXKt8yAOIwgwebsjI/k3M5a4lh5Y3V+2wuqL2N/RVDtXMTCvvJ 7sRmqTxv5OuHDvzNITlqXEyAflzu2obDKwa0pTpWj11T98eFJQmAUFrUWAhanA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RHiM9e0n; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705324775; a=rsa-sha256; cv=none; b=nelISHEvzkcd+47ojOQOrwiX4ZBkGNX+BK011lKhXcHZF7SuPsOqLwzDNMAO2vIljdzcZN oygWuF3uQ1TbcQoMSu72bRu8eng5bVGBqXbH3cQckWY6zYXpeAntPGAYoJw5ALRHbDpZoR UKuS2701xPXqSdDOCyUugDptlheLmi9h+4Ydf8Lig+eUnQHpkRCKvLkJmWwRPvKGRPmtLc i91Aet2zIgabSGRPzEjEjm5d8KTfZ5D1Ir+UErWlfs/U8/47+vLznUTRh/tjAm/k5aEOXD cDotJvXG5UwFeNTVU5BE3Joyxi7FWvSGEiBg/+43w6TQqf1gzBpyhPbusijqXg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2BF7F3CA0B for ; Mon, 15 Jan 2024 14:19:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPMrM-0008Cv-Le; Mon, 15 Jan 2024 08:18:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPMrJ-0008Cn-7V for emacs-orgmode@gnu.org; Mon, 15 Jan 2024 08:18:33 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPMrG-00038B-Vt for emacs-orgmode@gnu.org; Mon, 15 Jan 2024 08:18:32 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 39186240104 for ; Mon, 15 Jan 2024 14:18:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705324707; bh=U185gRzh2cMoL8/kNR9vr/YKHYo2LRV1rdznoIpxSrk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=RHiM9e0nbwggcHrez4wOZTo2RpkDo6n57uTUYkgxJ6mnKS/E4k/OqtQedS+x08M6j 1yslzPFIF3fC45A/C0BkWxo9vzkFBQzOTGGCFilpyVsIO4kngIeIDxuU0E0t8HfWTU g6SoNOAVkxVmtEhjJNtZkglL7sKjTqye7FhVTcXuwNVFgBuC3peRUjLGHrxibTOa8e xGLQjHnnuYzXUYNjkMK9plV7H+ikjumbayZ50/2L8K3WQCR5yTmYcScohLiVMfH2q4 +Q9dLbHQdXTcy7DIFZr/52HKfFEBk3PZhwyDOBE4brdv1n3zfUt3dZT3RHUDf8SPwZ gyzNd/rhppAbQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TDCPt2RQHz9rxG; Mon, 15 Jan 2024 14:18:26 +0100 (CET) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: problem with https://orgmode.org/manual/Results-of-Evaluation.html In-Reply-To: <87o7dn9euy.fsf@mat.ucm.es> References: <87o7dn9euy.fsf@mat.ucm.es> Date: Mon, 15 Jan 2024 13:21:35 +0000 Message-ID: <87r0iirau8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 2BF7F3CA0B X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.76 X-Spam-Score: -3.76 X-TUID: 3FhdxbMHe8Wt Uwe Brauer via "General discussions about Org-mode." writes: > I tried to use the examples of the above link > ... > #+NAME: no-hline > #+BEGIN_SRC python :var tab=many-cols :hlines no > return tab > #+END_SRC > > Now already the first failed: > ,---- > | > | File "", line 4 > | return tab > | ^ > | IndentationError: unexpected indent > | [ Babel evaluation exited with code 1 ] > `---- > ... > I presume the code is for python 3.X. How can I tell org to use that > one? No, this is because you customized `org-src-preserve-indentation' or `org-edit-src-content-indentation', while the provided example only works with default indentation settings. Python is sensitive to whitespace and your config prevents Org mode from removing the two spaces in the example block. I adjusted the manual to not indent src blocks. Then, they should work across more wide range of user settings. Handled. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=78754cdcf -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at