From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: Unrelated Babel blocks interfering Date: Thu, 23 May 2019 21:32:53 +0000 Message-ID: <521c3dc292047288c872afe10c0a3b51@openmail.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTvKs-0007la-Mr for emacs-orgmode@gnu.org; Thu, 23 May 2019 17:33:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTvKr-0000KX-Jm for emacs-orgmode@gnu.org; Thu, 23 May 2019 17:33:14 -0400 Received: from nl101b.vfemail.net ([95.170.95.182]:29831 helo=freequeue.vfemail.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1hTvKr-0000F9-Ad for emacs-orgmode@gnu.org; Thu, 23 May 2019 17:33:13 -0400 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: emacs-orgmode@gnu.org Hi! I don't know if I am doing something wrong, if this is a feature or a bug. Emacs asks me to assign a value to variable "10" when running Emacs 26.2 with GTK 3.24.8 and Org 9.1.14 in GNU/Linux (running as emacs -q). Try to preview (org-babel-expand-src-block C-c C-v v) the block called dic_max_vals2straight_line_febpts_blk.py below (seems related to the ~# USE 0.1 * \Psi~ part). Please, reply directly to my e-mail if you need more information to debug or if I am doing something terribly wrong. #+NAME: dic_xml_get_elmtag.py #+BEGIN_SRC python treetag = tree.find(elmtag) #+END_SRC #+NAME: dic_xml_check_empty_elmtag.py #+BEGIN_SRC python if treetag is not None and treetag is not []: #+END_SRC #+NAME: dic_xml_assert_elmtag.py #+BEGIN_SRC python :noweb yes # * Make sure that the tag (node, subtree, whatever...) # exists in the XML #+END_SRC #+NAME: dic_max_vals2straight_line_febpts_blk.py #+BEGIN_SRC python :noweb yes <> <> loaddata = treetag # ** Remove all pre-existing `loadcurve' (or equivalent) xmlset = loaddata [xmlset.remove(VAL) for VAL in xmlset.findall(curvetag)] #+END_SRC #+NAME: dic_max_vals2straight_line_disppts.py #+BEGIN_SRC python :noweb yes def max_vals2straight_line_disppts(tree, curvetag="loadcurve", vals=None, num_pts=11): <> #+END_SRC #+HEADER: :var mu_min = # USE 0.1 * \Psi #+HEADER: :var mu_max = # USE 10 * \Psi #+BEGIN_SRC python :noweb yes :tangle /tmp/t.py # Based on # <> <> # Program start ################################# # * Experimental part * <> # DANGER: untested <> # * Simulation part * # *** Read XML file <> # * Create a series of values with a preset difference # between them <> #+END_SRC ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!