emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [rfc] org-dired
Date: Sun, 12 Nov 2017 18:53:26 +0100	[thread overview]
Message-ID: <8460aftmcp.fsf@gmail.com> (raw)
In-Reply-To: <87mv3r1mgh.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 12 Nov 2017 17:38:38 +0100")

Nicolas Goaziou <mail@nicolasgoaziou.fr> 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
       

  reply	other threads:[~2017-11-12 17:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12 15:17 [rfc] org-dired Marco Wahl
2017-11-12 16:38 ` Nicolas Goaziou
2017-11-12 17:53   ` Marco Wahl [this message]
2017-11-15 11:07   ` Marco Wahl
2017-11-15 11:38     ` Nicolas Goaziou
2017-11-15 13:54       ` Marco Wahl
2017-11-21 22:48         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8460aftmcp.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).