From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Minor fix for org-attach-dir Date: Mon, 2 Sep 2019 21:26:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37394) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4tqs-0001Tr-3i for emacs-orgmode@gnu.org; Mon, 02 Sep 2019 17:27:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4tqq-0002p7-Jk for emacs-orgmode@gnu.org; Mon, 02 Sep 2019 17:27:05 -0400 Received: from mail-eopbgr80095.outbound.protection.outlook.com ([40.107.8.95]:65089 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i4tqq-0002nT-67 for emacs-orgmode@gnu.org; Mon, 02 Sep 2019 17:27:04 -0400 Content-Language: en-US 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.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" For full transparency: An issue was found in org-brain [1] due to a change in functionality of org-attach-dir in commit ae9cd4370. I've given it some thought and figured that particular change in functionality wasn't really needed and not obviously correct either. So org-attach-dir will now check the filesystem (again) to see if the attachment folder from DIR or ID property exist or not. The check can be skipped with a new optional flag. See commit 4b7eda1a2 for the fix. [1] https://github.com/Kungsgeten/org-brain/pull/203 Regards Gustav