emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug, patch, ox] INCLUDE and footnotes


From: Rasmus
Subject: Re: [O] [bug, patch, ox] INCLUDE and footnotes
Date: Wed, 24 Dec 2014 19:03:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi,

Nicolas Goaziou <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]