org-brain icon indicating copy to clipboard operation
org-brain copied to clipboard

Better deal with entry without parent, child and friend?

Open tumashu opened this issue 4 years ago • 3 comments

Is it possible add a “ORPHAN:” in org-brain-visualize UI, to show all entry without parent, child and frend? for I think brain should let things link each other, it one not link any thing, it shoud be be focus.

  (org-ql-select (org-brain-files)
    `(and ,(cadr org-brain--ql-query)
          (property "ID")
          (not (property org-brain-parents-property-name))
          (not (property org-brain-children-property-name))
          (not (property org-brain-friends-property-name)))
    :action #'org-brain--headline-entry-at-point)

tumashu avatar Jan 13 '20 02:01 tumashu

Hi! Yes, that would be possible. However it would slow down the visualization quite a bit I think. Perhaps there could be a separate command like org-brain-list-orphans (or similar) which shows a list of the orphans in a buffer?

Kungsgeten avatar Jan 13 '20 08:01 Kungsgeten

Perhaps there could be a separate command like org-brain-list-orphans (or similar) which shows a list of the orphans in a buffer?

It maybe a good idea if this command is similar with org-brain-visualize-mind-map

tumashu avatar Jan 13 '20 09:01 tumashu

so in general is there a way to deal with entry without parent, child, and friend?

my org brain is in a "broken" state right now and I am not sure is there a way to properly "fix it"

Awannaphasch2016 avatar Mar 09 '22 05:03 Awannaphasch2016