emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bob Newell <bobnewell@bobnewell.net>
To: emacs-orgmode@gnu.org
Subject: Scatter-gather idea
Date: Sat, 01 Apr 2017 07:27:41 -1000	[thread overview]
Message-ID: <87o9wgf376.fsf@bobnewell.net> (raw)
In-Reply-To: <m2wpb4duf1.fsf@xuchunyang.me> (Chunyang Xu's message of "Sat, 01 Apr 2017 23:22:42 +0800")

Org-mode has nearly everything that other outlining tools have, and
generally much, much more. But one thing that is missing (and
there's been sporadic traffic about this) is convenient
scatter-gather. BrainStorm WFO has this; it's not like I'm going to
start using it as an alternative, but such a feature might be nice in
org-mode.

The Emacs way is to write it yourself, and I'm thinking about that. But
I wanted to try out the concept and see if it's of interest, or for that
matter, more trouble than it's worth.

You can do something like this on the Agenda screen, but that's not a
general solution at all. What about an "ordinary" org mode file. So
here's the flow I envision.

1. You "mark" a series of headline entries with, say,
   'org-sg-mark'. Perhaps it would look like this when marked:
   
   ** ! interesting headline

   Yes, this disturbs the existing text. But the marking has to be
   somehow visual.

2. You give a command like 'org-sg-gather' and the marked headlines are
   gathered up, moved (just like archiving) to a file (for which you're
   prompted) or maybe, optionally to the top or bottom of the current
   buffer. The marks are then cleared.

3. 'org-sg-clear' clears a single mark; 'org-sg-clear-all' clears them all.

Potential problems:

1. As mentioned, text is disturbed at least temporarily.

2. Incomplete operation sequences leave marks in place, when they might
   be useless.

3. If the gathered headlines are at different levels, the resulting
   gathered outline will not be sensible and will require manual fixing.

Comments welcome. This doesn't look especially difficult to code, but
does it make sense and is it of any use?

-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *

  reply	other threads:[~2017-04-01 17:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01 15:22 Bug: Can't execute C code block from remote directory [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)] Chunyang Xu
2017-04-01 17:27 ` Bob Newell [this message]
2017-04-01 18:41   ` Scatter-gather idea John Kitchin
2017-04-01 20:12     ` Bob Newell
2017-04-03  2:48       ` Samuel Wales
2017-04-03  4:34         ` Bob Newell
2017-04-05  5:06           ` Yasushi SHOJI
2017-04-05 15:22             ` Nick Dokos
2017-04-06 18:28               ` Bob Newell
2017-04-06 19:19                 ` Nick Dokos
2017-04-06 19:40                   ` John Kitchin
2017-04-10  8:46           ` Daniel Clemente
2017-04-01 18:47   ` Bingo
2017-04-03  6:58 ` Bug: Can't execute C code block from remote directory [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)] Chunyang Xu
2017-04-05  8:11   ` Nicolas Goaziou
2017-04-05 11:49     ` Chunyang Xu
2017-04-07 16:15       ` 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=87o9wgf376.fsf@bobnewell.net \
    --to=bobnewell@bobnewell.net \
    --cc=emacs-orgmode@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 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).