* Bug: org-babel-expand-noweb-references: FIXEDCASE=nil
@ 2020-03-09 15:34 Sebastian Miele
2020-03-09 22:11 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Miele @ 2020-03-09 15:34 UTC (permalink / raw)
To: emacs-orgmode
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
<<AA>>
#+END_SRC
the second block is expanded as "(IGNORE)". That probably is a bug.
FIXEDCASE should be t.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: org-babel-expand-noweb-references: FIXEDCASE=nil
2020-03-09 15:34 Bug: org-babel-expand-noweb-references: FIXEDCASE=nil Sebastian Miele
@ 2020-03-09 22:11 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-03-09 22:11 UTC (permalink / raw)
To: Sebastian Miele; +Cc: emacs-orgmode
Hello,
Sebastian Miele <sebastian.miele@gmail.com> writes:
> 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
> <<AA>>
> #+END_SRC
>
> the second block is expanded as "(IGNORE)". That probably is a bug.
> FIXEDCASE should be t.
Indeed! Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-09 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-09 15:34 Bug: org-babel-expand-noweb-references: FIXEDCASE=nil Sebastian Miele
2020-03-09 22:11 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).