From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: [SOLVED] org-attach provide org-store-link like link for org-insert-link Date: Sat, 05 May 2018 13:14:10 +0800 Message-ID: <87fu3665wd.fsf@gmail.com> References: <87h8nn53oh.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEpWb-0000rC-Fc for emacs-orgmode@gnu.org; Sat, 05 May 2018 01:14:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEpWY-0000vG-Ax for emacs-orgmode@gnu.org; Sat, 05 May 2018 01:14:25 -0400 Received: from [183.249.134.109] (port=13364 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEpWX-0000p4-Rq for emacs-orgmode@gnu.org; Sat, 05 May 2018 01:14:22 -0400 In-reply-to: <87h8nn53oh.fsf@gmail.com> 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: org-mode stardiviner writes: > I used a lot with org-attach to insert files like images, small PDF > files, and audio. Every time I attached one file, I have to manually > link to that attachment file. > > Can org-attach provide link directly after finished attaching? So user > can press [C-c C-l] (org-insert-link) directly. After check out org-attach.el source code. I found option `org-attach-store-link-p`. This is what I want. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3