emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Leduc <ldcmrtn@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Simple copy/paste of an agenda TODO list
Date: Fri, 8 Jan 2016 19:58:31 -0500	[thread overview]
Message-ID: <n6plvo$8dg$1@ger.gmane.org> (raw)
In-Reply-To: <87d1tblo53.fsf@alphaville.usersys.redhat.com>

On 2016-01-08 05:09 PM, Nick Dokos wrote:
> Martin Leduc <ldcmrtn@gmail.com> writes:
>
>> On 2016-01-08 10:40 AM, Nick Dokos wrote:
>>> Martin Leduc <ldcmrtn@gmail.com> writes:
>>>
>>>> Hello orgers,
>>>>
>>>> I'm wondering how to do a simple copy/paste of a todo list from
>>>> org-mode. For instance, when I'm producing the list of all my TODOs
>>>> with C-c a t, and then filtering it using a given tag, how can I
>>>> simply copy and paste the resulting TODO list from the "Org Agenda"
>>>> buffer into another one (e.g. scratch) ? I tried to simply select and
>>>> copy, but then yanking into another buffer results in an un-filtered
>>>> list of many TODOs (which is nearly the same as the first one
>>>> constructed from C-c a t, but excludes all TODOs that appear before
>>>> the first entry retained by the filter). I also tried with
>>>> org-copy-visible, but still no success.
>>>>
>>>> Anybody could explain me how to do this simple task ?
>>>>
>>>
>>> C-x C-w (bound to org-agenda-write).
>>>
>>> --
>>> Nick
>>>
>>>
>>>
>>>
>>>
>> Thanks for your response Nick, with the new org 8.3.3,
>> org-agenda-write does nearly the what I want: it selects the right
>> filtered list of TODOs. However, it exports all TODO's subtrees, while
>> I want to copy only the list of TODOs as it appears in the agenda
>> view. Any other ideas ?
>
> C-h f org-agenda-write RET says:
>
> ,----
> | If the extension is .org, collect all subtrees
> | corresponding to the agenda entries and add them in an .org file.
> `----
>
> so IIUC, all you have to do is use a file name that does not have
> a .org extension.
>
> --
> Nick
>
>
>
As simple as that ;) Thank you.

      reply	other threads:[~2016-01-09  0:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08  2:14 Simple copy/paste of an agenda TODO list Martin Leduc
2016-01-08 15:40 ` Nick Dokos
2016-01-08 20:47   ` Martin Leduc
2016-01-08 22:09     ` Nick Dokos
2016-01-09  0:58       ` Martin Leduc [this message]

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='n6plvo$8dg$1@ger.gmane.org' \
    --to=ldcmrtn@gmail.com \
    --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).