From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6NW9LqmvnF5vUAAA0tVLHw (envelope-from ) for ; Sun, 19 Apr 2020 20:08:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eJ1hH66vnF4SMgAA1q6Kng (envelope-from ) for ; Sun, 19 Apr 2020 20:08: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 D67D6941C0C for ; Sun, 19 Apr 2020 20:08:13 +0000 (UTC) Received: from localhost ([::1]:47264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQGEe-0004zM-1j for larch@yhetil.org; Sun, 19 Apr 2020 16:08:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60528 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQGEJ-0004xW-Vc for emacs-orgmode@gnu.org; Sun, 19 Apr 2020 16:07:52 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQGEJ-0008Ie-Dz for emacs-orgmode@gnu.org; Sun, 19 Apr 2020 16:07:51 -0400 Received: from hiwela.pair.com ([209.68.5.201]:64640) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQGEI-0008BB-Vp for emacs-orgmode@gnu.org; Sun, 19 Apr 2020 16:07:51 -0400 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id D5F519804D7 for ; Sun, 19 Apr 2020 16:07:45 -0400 (EDT) Received: from minshall-entroware-apollo.cliq.com (unknown [70.134.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id 8168E8F0849 for ; Sun, 19 Apr 2020 16:07:45 -0400 (EDT) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id 4540560D62 for ; Sun, 19 Apr 2020 13:07:43 -0700 (PDT) From: Greg Minshall To: emacs-orgmode@gnu.org Subject: babel/noweb concatenation of equally-named code blocks fails? X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 19 Apr 2020 13:07:43 -0700 Message-ID: <977659.1587326863@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-detected-operating-system: by eggs1p.gnu.org: FreeBSD 9.x or newer [fuzzy] X-Received-From: 209.68.5.201 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -0.01 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-Scan-Result: default: False [-0.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.57160573220027]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.24), country: US(-0.01), ip: 209.51.188.17(-0.57)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[209.51.188.17:from]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[minshall@umich.edu,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[eschulte.github.io:url]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[umich.edu : SPF not aligned (relaxed), No valid DKIM,none] X-TUID: AHaUt7sWZqGA hi. the description of :noweb-ref says ---- When expanding =E2=80=9Cnoweb=E2=80=9D style references, the bodies of all = code block with _either_ a block name matching the reference name _or_ a =E2=80=98:noweb-ref=E2=80=99 header argument matching the reference name wi= ll be concatenated together to form the replacement text. ---- plus, this (admittedly old) page suggests this concatenation should happen: ---- http://eschulte.github.io/org-scraps/scraps/2011-06-10-continued-code-block= s.html ---- if i evaluate (C-c C-c) "tryxx" below on the 9.1.9 which is in my emacs (26.3), i get two lines of output (as shown). if, using packages, i "upgrade" to either of the following: ---- org 9.3.6 available gnu org 20200413 available org ---- (and, also a 201912...), i only get the first output line ("in first tryx"). (*tangling*, i get both code blocks.) is the behavior in the newer versions intentional? or, should i file a bug? cheers, and thanks. and, these days, stay safe. Greg ---- cut here --- ** continued code blocks #+property: header-args :noweb yes #+name: tryx #+begin_src R cat("in first tryx\n") #+end_src #+name: tryx #+begin_src R cat("in second tryx\n") #+end_src #+name: tryxx #+begin_src R :results output <> #+end_src #+RESULTS: tryxx : in first tryx : in second tryx