From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bingo Subject: Re: Scatter-gather idea Date: Sun, 02 Apr 2017 00:17:52 +0530 Message-ID: <9F0FBEEF-2E8D-4351-968D-092CBD2A969C@gmail.com> References: <87o9wgf376.fsf@bobnewell.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----MVMBWVBKEX4CQ8E6XF0ERL9HWCAGD9" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuNzu-00076t-Qa for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 14:43:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuNzp-0004Eq-QI for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 14:43:38 -0400 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:34645) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuNzp-0004D6-I5 for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 14:43:33 -0400 Received: by mail-pf0-x233.google.com with SMTP id 197so6486932pfv.1 for ; Sat, 01 Apr 2017 11:43:31 -0700 (PDT) Received: from [192.168.1.10] ([122.172.64.166]) by smtp.gmail.com with ESMTPSA id r66sm17289112pfi.49.2017.04.01.11.43.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Apr 2017 11:43:29 -0700 (PDT) In-Reply-To: <87o9wgf376.fsf@bobnewell.net> 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: emacs-orgmode@gnu.org ------MVMBWVBKEX4CQ8E6XF0ERL9HWCAGD9 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 On April 1, 2017 10:57:41 PM GMT+05:30, Bob Newell wrote: >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 * What is scatter-gather ? What is the purpose for which it is done? Google tells me about a vectored I/O method, which is not what i guess you are talking about. That would help clarify why you chose an org-syntax demolishing "!" instead of a tag. For myself i have coded a dirty elisp to extract and randomly order some specific marked headlines. But for this, tags work better because i don't want to mark all my headlines (hundreds) every time i dump this out. ------MVMBWVBKEX4CQ8E6XF0ERL9HWCAGD9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On April 1, 2017 10:57:41 PM GMT+05:30, Bob Newell <bobnewell@bobnewell.net> wrote:
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 ser ies 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 welco me. This doesn't look especially difficult to code, but
does it make sense and is it of any use?

What is scatter-gather ? What is the purpose for which it is done? Google tells me about a vectored I/O method, which is not what i guess you are talking about.

That would help clarify why you chose an org-syntax demolishing "!" instead of a tag.

For myself i have coded a dirty elisp to extract and randomly order some specific marked headlines. But for this, tags work better because i don't want to mark all my headlines (hundreds) every time i dump this out.

------MVMBWVBKEX4CQ8E6XF0ERL9HWCAGD9--