From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: Bug: org-babel-expand-noweb-references: FIXEDCASE=nil Date: Mon, 09 Mar 2020 16:34:00 +0100 Message-ID: <87o8t5h79z.fsf@gmail.com> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38564) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBKPt-0001Qt-B6 for emacs-orgmode@gnu.org; Mon, 09 Mar 2020 11:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBKPs-00029j-EX for emacs-orgmode@gnu.org; Mon, 09 Mar 2020 11:34:05 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39191) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBKPs-00027G-88 for emacs-orgmode@gnu.org; Mon, 09 Mar 2020 11:34:04 -0400 Received: by mail-wr1-x42d.google.com with SMTP id r15so6719021wrx.6 for ; Mon, 09 Mar 2020 08:34:03 -0700 (PDT) Received: from huette ([2a02:908:175c:4260:33a6:b2b0:4ad5:928d]) by smtp.gmail.com with ESMTPSA id b186sm26267258wmb.40.2020.03.09.08.34.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2020 08:34:01 -0700 (PDT) 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org org-babel-expand-noweb-references in the current master branch ends with: (replace-regexp-in-string noweb-re (lambda...) body nil t 2) I.e., the FIXEDCASE argument to replace-regexp-in-string is nil. This has the effect that in #+BEGIN_SRC elisp :noweb-ref AA (ignore) #+END_SRC #+BEGIN_SRC elisp :noweb yes <> #+END_SRC the second block is expanded as "(IGNORE)". That probably is a bug. FIXEDCASE should be t.