From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [PATCH] Improve symlink handling in `org-babel-load-file' Date: Thu, 04 Feb 2010 09:46:08 -0700 Message-ID: <87r5p1uey7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd4x0-0001d3-5u for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 11:53:06 -0500 Received: from [199.232.76.173] (port=38270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd4wz-0001cZ-KR for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 11:53:05 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd4wy-0004m5-Pe for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 11:53:05 -0500 Received: from mail-bw0-f219.google.com ([209.85.218.219]:61610) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd4wy-0004lx-Df for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 11:53:04 -0500 Received: by bwz19 with SMTP id 19so465970bwz.8 for ; Thu, 04 Feb 2010 08:53:02 -0800 (PST) In-Reply-To: ("Martin =?utf-8?Q?K=C3=BChl=22's?= message of "Thu, 4 Feb 2010 12:29:01 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin =?utf-8?Q?K=C3=BChl?= Cc: Emacs-Orgmode Applied, Thanks! -- Eric Martin K=C3=BChl 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