From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OMTZEEq+LGCIUQAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 06:57:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IJylDEq+LGCDNAAAB5/wlQ (envelope-from ) for ; Wed, 17 Feb 2021 06:57:14 +0000 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 BE3EC1DBF2 for ; Wed, 17 Feb 2021 07:57:13 +0100 (CET) Received: from localhost ([::1]:46256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCGls-0004YT-Te for larch@yhetil.org; Wed, 17 Feb 2021 01:57:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCGlY-0004YL-Ic for emacs-orgmode@gnu.org; Wed, 17 Feb 2021 01:56:52 -0500 Received: from hiwela.pair.com ([209.68.5.201]:55016) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCGlW-0008R1-So for emacs-orgmode@gnu.org; Wed, 17 Feb 2021 01:56:52 -0500 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id 6298D9805E1; Wed, 17 Feb 2021 01:56:47 -0500 (EST) Received: from minshall-entroware-apollo.cliq.com (unknown [31.141.90.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id 2D13E8F0957; Wed, 17 Feb 2021 01:56:47 -0500 (EST) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id 51194630A1; Wed, 17 Feb 2021 09:56:45 +0300 (+03) From: Greg Minshall To: Rodrigo Morales Subject: Re: How do you name your code blocks? In-reply-to: Your message of "Tue, 16 Feb 2021 20:27:54 -0500." <87sg5vlbz9.fsf@gmail.com> X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1494322.1613545005.1@apollo2.minshall.org> Date: Wed, 17 Feb 2021 09:56:45 +0300 Message-ID: <1494323.1613545005@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Eric S Fraga Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: BE3EC1DBF2 X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: MWRMCqwJHWdD hi, Rodrigo, thanks. i understand. we all like "int i;" to be independent in separate functions (as it were). right now, names of source blocks are global to the .org file, and i don't suspect that will (or should) change. i apologize for bringing it up, but the one thing that jumps out at the programmer part of me is that the python blocks in your code don't "know" what main.txt actually contains when they are executed, as there is no dependency on the correct "create-file" source block. possibly, though, if you created some dummy :var (on the python "begin_src" lines) to express this dependency, it would help? or, maybe it doesn't really matter? cheers, Greg