emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Want to copy a sparse tree to a buffer
@ 2013-10-24 18:02 Subhan Tindall
  2013-11-04 11:48 ` Bastien
  2013-11-04 19:52 ` Samuel Wales
  0 siblings, 2 replies; 3+ messages in thread
From: Subhan Tindall @ 2013-10-24 18:02 UTC (permalink / raw)
  To: Org-Mode

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

Hi, I'm looking for a way to effectively copy a sparse tree to another
buffer.
I'm restructuring some files, and what I have is a large datetree, with sub
trees one per day tagged by external ticket number

** 2013-09 September
*** 2013-09-03 Tuesday
**** PPTDEV-300 tswap
:300:
***** LOG <2013-09-03 Tue> toci updates
      CLOCK: [2013-09-03 Tue 14:03]--[2013-09-03 Tue 17:13] =>  3:10
      CLOCK: [2013-09-03 Tue 10:40]--[2013-09-03 Tue 14:03] =>  3:23
      might be some notes here too
***** TODO do this thing
***** NOTES workingnotes
**** PPTDEV-59 Misc
 :59:
***** LOG <2013-09-03 Tue> email, morning
      CLOCK: [2013-09-03 Tue 08:44]--[2013-09-03 Tue 09:29] =>  0:45
......

What I need to do is grab all subtrees matching e.g. 300 & copy them into
one contiguous block in
another file.

I can generate a sparse tree for the tag, but it only displays the
headlines and so org-copy-visible fails
to copy the clock lines, or any other next not included in the headline

Any ideas for a simple way to do this?

Thanks,
Subhan


-- 
Subhan Michael Tindall | Software Developer
| smt@rentrakmail.com
RENTRAK | www.rentrak.com | NASDAQ: RENT

[-- Attachment #2: Type: text/html, Size: 1901 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Want to copy a sparse tree to a buffer
  2013-10-24 18:02 Want to copy a sparse tree to a buffer Subhan Tindall
@ 2013-11-04 11:48 ` Bastien
  2013-11-04 19:52 ` Samuel Wales
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2013-11-04 11:48 UTC (permalink / raw)
  To: Subhan Tindall; +Cc: Org-Mode

Hi Subhan,

Subhan Tindall <subhan.tindall@rentrakmail.com> writes:

> What I need to do is grab all subtrees matching e.g. 300 & copy them
> into one contiguous block in
> another file.

I would use an agenda view (perhaps a simple interactive search view)
then save the result with C-x C-s mynewfile.org RET -- using .org as
the extension of the file will only copy the items of the view.

Hope that helps,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Want to copy a sparse tree to a buffer
  2013-10-24 18:02 Want to copy a sparse tree to a buffer Subhan Tindall
  2013-11-04 11:48 ` Bastien
@ 2013-11-04 19:52 ` Samuel Wales
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2013-11-04 19:52 UTC (permalink / raw)
  To: Subhan Tindall; +Cc: Org-Mode

Untested: C-v in the export dispatcher.

On 10/24/13, Subhan Tindall <subhan.tindall@rentrakmail.com> wrote:
> Hi, I'm looking for a way to effectively copy a sparse tree to another
> buffer.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-04 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-24 18:02 Want to copy a sparse tree to a buffer Subhan Tindall
2013-11-04 11:48 ` Bastien
2013-11-04 19:52 ` Samuel Wales

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).