From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: [rfc] org-dired Date: Sun, 12 Nov 2017 18:53:26 +0100 Message-ID: <8460aftmcp.fsf@gmail.com> References: <84bmk7ttkh.fsf@gmail.com> <87mv3r1mgh.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDwRs-0007iU-5Y for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 12:53:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDwRm-0007fK-J7 for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 12:53:36 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:40278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDwRm-0007f9-CK for emacs-orgmode@gnu.org; Sun, 12 Nov 2017 12:53:30 -0500 Received: by mail-wm0-x236.google.com with SMTP id b189so4092296wmd.5 for ; Sun, 12 Nov 2017 09:53:29 -0800 (PST) In-Reply-To: <87mv3r1mgh.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 12 Nov 2017 17:38:38 +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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou 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'? This was just my preference since I hardlink almost all of the time. Further attach-methods should be included, I agree. >> - 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. I chose org-dired.el because of the similar gnus-dired.el from which the idea has emerged. org-attach.el also looks like a good location for the feature to me. > Also, in the context of Org, an "org subtree" is simply a "subtree". > I prefer "subtree" over "orgee". Okay, I will stay with "subtree". Thanks! Marco