From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Martin Kühl" <martin.kuehl@gmail.com>
Cc: Emacs-Orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] Improve symlink handling in `org-babel-load-file'
Date: Thu, 04 Feb 2010 09:46:08 -0700 [thread overview]
Message-ID: <87r5p1uey7.fsf@gmail.com> (raw)
In-Reply-To: <c1d5a43d1002040329g8389de4o5ff4bc0f66407883@mail.gmail.com> ("Martin Kühl"'s message of "Thu, 4 Feb 2010 12:29:01 +0100")
Applied, Thanks! -- Eric
Martin Kühl <martin.kuehl@gmail.com> writes:
> Hi,
>
> when `org-babel-load-file' is called on a symlink, its timestamp code
> checks the modification date of the symlink instead of the file it
> points to, leading it to skip tangling the source file although its
> contents have been modified.
>
> The attached patch fixes this by resolving paths with `file-truename'
> before calling `file-attributes'.
>
> Thanks,
> Martin
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-02-04 16:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 11:29 [PATCH] Improve symlink handling in `org-babel-load-file' Martin Kühl
2010-02-04 16:46 ` Eric Schulte [this message]
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=87r5p1uey7.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=martin.kuehl@gmail.com \
/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).