From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Feng Shu" Subject: Re: FW: [RFC] Link-type for attachments, more attach options Date: Fri, 04 Jan 2019 20:21:37 +0800 Message-ID: <87r2dsaa0e.fsf@163.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfOUI-0006BG-6L for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 07:22:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfOUF-0003ly-2E for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 07:22:06 -0500 Received: from m12-15.163.com ([220.181.12.15]:49150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfOUC-0003R7-NW for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 07:22:03 -0500 In-Reply-To: ("Gustav \=\?iso-8859-1\?Q\?Wikstr\=F6m\=22's\?\= message of "Sun, 21 Oct 2018 07:53:38 +0000") 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: Gustav =?iso-8859-1?Q?Wikstr=F6m?= Cc: "emacs-orgmode@gnu.org" Gustav Wikstr=C3=B6m writes: I like this feature very much! > Hi, > >=20=20 > > I=E2=80=99ve attached a patch with some suggested additions to org-attach= . Patch comments below. Please review. > >=20=20 > > Kind regards > > Gustav > > ___ > > Patch comments: > > * Add new linktype "attached" for attachments > >=20=20 > > A new linktype "attached" is added in order to reduce link-duplication > > when wanting to link to files in attached folders of nodes. This works > > for both ID-based attachments and ATTACH_DIR. Inline images will > > trigger also for attachments, as well as search-decorations in the > > links. The goal is to make the functionality for attached-links > > mirror file-links. > >=20=20 > > * Add further options for ATTACH_DIR > >=20=20 > > When working with ATTACH_DIR there are now a couple of new options availa= ble: > > - org-attach-dir-inherit-by-default > > - org-attach-dir-create-if-not-exist > > - org-attach-dir-relative > >=20=20 > > Descriptions of them can be found in the commit for each new customizatio= n. > >=20=20 > > * Documentation in org-manual > >=20=20 > > Org-manual is updated with the new link-type as well as some minor > > cleanup in the documentation related to external links and attachments. > --=20