From mboxrd@z Thu Jan 1 00:00:00 1970 From: ricky saurav Subject: Re: Bug: Symlink handling in org-babel-load-file Date: Thu, 13 Feb 2020 23:46:58 +0530 Message-ID: References: <87h7zw0zwd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000e8df19059e791884" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41109) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2J37-00021q-SM for emacs-orgmode@gnu.org; Thu, 13 Feb 2020 13:17:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2J36-0007ej-Ga for emacs-orgmode@gnu.org; Thu, 13 Feb 2020 13:17:17 -0500 In-Reply-To: <87h7zw0zwd.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org --000000000000e8df19059e791884 Content-Type: multipart/alternative; boundary="000000000000e8df16059e791882" --000000000000e8df16059e791882 Content-Type: text/plain; charset="UTF-8" Hey Bastien, After this patch, org-mode loads the most updated config. A minor issue that I have is that this patch creates config.el in my dotfiles directory, instead of ~/.emacs.d/config.el ,since ~/.emacs.d/config.org is a symlink to ~/dotfiles/config.org. The behaviour in org-9.1.5(emacs 26.3), was resolution of symlinks for just fetching the file attributes(file-modification-time). The below patch summarizes the changes that would keep the current version in line with current version in emacs release org-9.1.5(emacs 26.3). Regards, Saurav On Wed, 12 Feb 2020 at 17:40, Bastien wrote: > Hi Ricky, > > thanks for reporting this. > > Can you try this patch and confirm it solves your issue? > > > -- > Bastien > --000000000000e8df16059e791882 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Bastien,
After this patch, org-mode loa= ds the most updated config. A minor issue that I have is that this patch cr= eates config.el in my dotfiles directory, instead of ~/.emacs.d/config.el ,= since ~/.emacs.d/config.org is a symlink = to ~/dotfiles/config.org. The behaviour i= n org-9.1.5(emacs 26.3), was resolution of symlinks for just fetching the = file attributes(file-modification-time). The below patch summarizes the cha= nges that would keep the current version in line with current version in em= acs release=C2=A0 org-9.1.5(emacs 26.3).
Regards,
= Saurav

On Wed, 12 Feb 2020 at 17:40, Bastien <bzg@gnu.org> wrote:
Hi Ricky,

thanks for reporting this.

Can you try this patch and confirm it solves your issue?


--
=C2=A0Bastien
--000000000000e8df16059e791882-- --000000000000e8df19059e791884 Content-Type: text/x-patch; charset="US-ASCII"; name="org-babel-load-file.patch" Content-Disposition: attachment; filename="org-babel-load-file.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k6l2cbor0 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLmVsIGIvbGlzcC9vcmcuZWwKaW5kZXggMWE5OTVjYzQwLi4y MzllMzUyOGYgMTAwNjQ0Ci0tLSBhL2xpc3Avb3JnLmVsCisrKyBiL2xpc3Avb3JnLmVsCkBAIC0y MTgsMTIgKzIxOCwxMSBAQCBhbmQgdGhlbiBsb2FkcyB0aGUgcmVzdWx0aW5nIGZpbGUgdXNpbmcg YGxvYWQtZmlsZScuICBXaXRoCiBvcHRpb25hbCBwcmVmaXggYXJndW1lbnQgQ09NUElMRSwgdGhl IHRhbmdsZWQgRW1hY3MgTGlzcCBmaWxlIGlzCiBieXRlLWNvbXBpbGVkIGJlZm9yZSBpdCBpcyBs b2FkZWQuIgogICAoaW50ZXJhY3RpdmUgImZGaWxlIHRvIGxvYWQ6IFxuUCIpCi0gIChsZXQqICgo ZmlsZSAoZmlsZS10cnVlbmFtZSBmaWxlKSkKLQkgKHRhbmdsZWQtZmlsZSAoY29uY2F0IChmaWxl LW5hbWUtc2Fucy1leHRlbnNpb24gZmlsZSkgIi5lbCIpKSkKKyAgKGxldCogKCh0YW5nbGVkLWZp bGUgKGNvbmNhdCAoZmlsZS1uYW1lLX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