From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [rfc] org-dired Date: Sun, 12 Nov 2017 17:38:38 +0100 Message-ID: <87mv3r1mgh.fsf@nicolasgoaziou.fr> References: <84bmk7ttkh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDvHP-0000qL-6x for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 11:38:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDvHO-0007WN-5v for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 11:38:43 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:44293) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eDvHN-0007Va-Vy for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 11:38:42 -0500 In-Reply-To: <84bmk7ttkh.fsf@gmail.com> (Marco Wahl's message of "Sun, 12 Nov 2017 16:17:34 +0100") 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: Marco Wahl Cc: emacs-orgmode@gnu.org Hello, Marco Wahl writes: > org-dired (https://github.com/marcowahl/org-dired) is a experimental > little tool to ease attaching files to org subtrees via dired. > > Actually I use this feature quite often. > > Up to now org-dired-attach-hardlinked-to-next-best-orgee is the only > function available. > > The flow goes like so > > Prepare > - In a dired buffer mark files or have the cursor on a file. > - Have also an org mode window open. > - Place the cursor in an orgee. (Orgee is short for org subtree.) > Act > - M-x org-dired-attach-hardlinked-to-next-best-orgee > Enjoy Why is hard linking mandatory? Couldn't this function obey to `org-attach-method'? > - Find the files attached to the orgee. > > Feel free to play with the implementation. > > WDYT? According to this description, I think it could be implemented as a function within "org-attach.el" instead of a new library. Also, in the context of Org, an "org subtree" is simply a "subtree". I prefer "subtree" over "orgee". > Thanks for your time, Thank you for your work. Regards, -- Nicolas Goaziou