From: Nicolas Goaziou <n.goaziou@gmail.com>
To: steckerhalter <org-mode@postmomentum.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: Issue with commit 6062f9e in ox-publish
Date: Tue, 25 Mar 2014 10:08:42 +0100 [thread overview]
Message-ID: <87lhvyk5lx.fsf@gmail.com> (raw)
In-Reply-To: <CAJa170ppHat6uCQYvpONg2m8S+wb3xo-8g0QxwwhVokop57PRQ@mail.gmail.com> (steckerhalter's message of "Tue, 25 Mar 2014 08:57:21 +0100")
Hello,
steckerhalter <org-mode@postmomentum.ch> writes:
> This change:
>
> @@ -1169,5 +1168,10 @@ the file including them will be republished as well."
> - (while (re-search-forward
> - "^#\\+INCLUDE:[ \t]+\"\\([^\t\n\r\"]*\\)\"[ \t]*.*$" nil t)
> - (let* ((included-file (expand-file-name (match-string 1))))
> - (add-to-list 'included-files-ctime
> - (org-publish-cache-ctime-of-src included-file) t))))
> + (while (re-search-forward "^[ \t]*#\\+INCLUDE:" nil t)
> + (let* ((element (org-element-at-point))
> + (included-file
> + (and (eq (org-element-type element) 'keyword)
> + (org-string-nw-p (org-element-property :value element)))))
> + (when included-file
> + (add-to-list 'included-files-ctime
> + (org-publish-cache-ctime-of-src
> + (expand-file-name included-file))
> + t)))))
>
> causes an error for me:
>
> org-publish-cache-ctime-of-src: No such file:
> "/home/user/org-mode-blog/posts/"../elisp/org-mode-blog-setup.el" src
> emacs-lisp"
>
> When I revert the commit I do not get an error.
>
> Probably it's just that it does not strip the "src emacs-lisp" part
> now?
Good catch. This should be fixed. Thank you for reporting it.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2014-03-25 9:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-25 7:57 Issue with commit 6062f9e in ox-publish steckerhalter
2014-03-25 9:08 ` Nicolas Goaziou [this message]
2014-03-25 14:56 ` steckerhalter
2014-03-25 15:09 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhvyk5lx.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=org-mode@postmomentum.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).