From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: FW: [RFC] Link-type for attachments, more attach options Date: Fri, 13 Dec 2019 21:38:41 +0800 Message-ID: <87y2vgl50e.fsf@gmail.com> References: <87v9qmglut.fsf@gmail.com> <87y2vhrhun.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44233) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iflB7-00015T-Bi for emacs-orgmode@gnu.org; Fri, 13 Dec 2019 08:40:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iflB5-0005mt-VU for emacs-orgmode@gnu.org; Fri, 13 Dec 2019 08:40:21 -0500 Received: from [183.246.146.61] (port=2366 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ifl9l-0003gX-VJ for emacs-orgmode@gnu.org; Fri, 13 Dec 2019 08:40:19 -0500 In-reply-to: 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 =?utf-8?Q?Wikstr=C3=B6m?= Cc: "emacs-orgmode@gnu.org" Gustav Wikstr=C3=B6m writes: > Hi, > >> -----Original Message----- >> From: stardiviner >> Sent: den 12 december 2019 10:53 >> To: Gustav Wikstr=C3=B6m >> Cc: numbchild@gmail.com; emacs-orgmode@gnu.org >> Subject: Re: [O] FW: [RFC] Link-type for attachments, more attach options >>=20 >> ... >>=20 >> For example, I press =3D[Ctrl-c Ctrl-a]=3D to attach a file. Then I pres= s =3D[Ctrl-c >> Ctrl-l]=3D (~org-insert-link~) to insert link which will show a list of >> completions >> which are all link types prefix like ~attachment:~, and >> =3Dfile:data/a2/..../attachFile.png=3D. I mean the second link. it is al= ready in >> completion list, but ~attchment:~ does not have this support. > > Hmm, I'm not sure I follow. Is it in the same suggestion list for link ty= pe prefixes=20 > that you also get the file-link to the newly attached file? Yes. > I tried to reproduce that using emacs -q just now but couldn't... Is ther= e a > customization that you've enabled? Aha, seems yes. I checked my config. I have option enabled: #+begin_src emacs-lisp (setq org-attach-store-link-p 'attached) #+end_src About this feature, WDYT? > > Regards > Gustav=20 --=20 [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 =20=20=20=20=20=20