all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: aartist <aartist@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Multi-Parent Nodes in org-mode
Date: Fri, 17 Jul 2009 00:07:46 +0200	[thread overview]
Message-ID: <e01d8a50907161507q45d98c95jd83e3ab811c148ae@mail.gmail.com> (raw)
In-Reply-To: <87vdlsl2ui.fsf@bzg.ath.cx>

On Thu, Jul 16, 2009 at 11:44 PM, Bastien<bastienguerry@googlemail.com> wrote:
> aartist <aartist@gmail.com> writes:
>
>> I like to have the nodes in org-mode that can have multiple parents.
>>
>> A : 1,2
>> B : 1,3
>> C:  2,3,4
>>
>> The above should easily be transferred too.
>>
>> 1 ! A,B
>> 2 ! A,C
>> 3 ! B,C
>> 4 ! C
>
> I don't see how to do it with a tree structure, and Org-mode is very
> tree-oriented.
>
> Maybe we can emulate this by having just a flat list of tasks and by
> adding two properties :Parents: and :Children:, each one indexing the
> parents' ids and the children ids.  But I don't see clearly how useful
> it would be.

I think the suggestion does not fit tree structures, but a two way
graph like that can be printed in two dimensional space -- ie if you
just print children and parents belonging to one node at a time. You
can look at it as a two-way tree (don't know if anyone actually uses
that term, but it is a subset of graphs).

In case of org-mode and the capabilities you have to show a graph as
text you could simply just show the parents as links, something like
this:

  * Other parent
  ** Other parent child
  * Parent
  ** Child
              # Other parent (make this a link)
                  Other parent body
              ## Other parent child
              # Next parent child (make this a link)
     Child body
  * Next parent
  ** Next parent child

I am not sure this will be tremendous useful in a case like this
however. However I am not sure. It is a common problems when
structuring knowledge so it might be. So if someone wants to use
org-mode for that it may be useful.

For a solution like the one above you have to think about how to
manage editing of the "# parent" part. I think it may be implemented
as 'after-string overlay properties in the buffer, perhaps with some
hooks for updating.




  reply	other threads:[~2009-07-16 22:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 15:59 Multi-Parent Nodes in org-mode aartist
2009-07-16 21:44 ` Bastien
2009-07-16 22:07   ` Lennart Borgman [this message]
2009-07-16 22:18     ` Bastien
2009-07-16 22:21       ` Lennart Borgman
2009-07-16 22:36         ` Bastien
2009-07-16 22:46           ` Lennart Borgman
2009-07-16 23:20             ` Bastien
2009-07-16 23:38               ` Lennart Borgman
2009-07-17  7:48                 ` Bastien
2009-07-17  8:19                   ` Lennart Borgman
2009-07-17  9:00                     ` Bastien
2009-07-18 14:31                       ` Lennart Borgman
2009-07-18 17:39                         ` Bastien

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

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

  git send-email \
    --in-reply-to=e01d8a50907161507q45d98c95jd83e3ab811c148ae@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=aartist@gmail.com \
    --cc=bastienguerry@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.