Hi, Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:
> You can push the patch once this is fixed. Pushed. See general comments in the other mail. One funny thing I observed was that the following test fails, but only when run via "make test", not from e.g. my "own" Emacs or emacs -q and emacs -q -nw. (should (org-test-with-temp-text (format "* h1\n<point>#+INCLUDE: \"%s/examples/include.org::#ah\"" org-test-dir) (narrow-to-region (point) (point-max)) (org-export-expand-include-keyword) (eq 1 (org-current-level)))) When running through "make test" (org-current-level) evaluate to one (before expansion) even when narrowed (should be nil). However, this test passes "make test": (should (org-test-with-temp-text-in-file (format "* h1\n<point>#+INCLUDE: \"%s/examples/include.org::#ah\"" org-test-dir) (narrow-to-region (point) (point-max)) (org-export-expand-include-keyword) (eq 1 (org-current-level)))) If somebody knows *why* this I would appreciate an explanation. (Can anybody confirm the above on their system?) Thanks, Rasmus -- . . . It begins of course with The Internet. A Net of Peers