From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Simple copy/paste of an agenda TODO list Date: Fri, 08 Jan 2016 17:09:12 -0500 Message-ID: <87d1tblo53.fsf@alphaville.usersys.redhat.com> References: <87r3hskrkp.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHfDp-0007gA-DZ for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 17:09:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHfDm-0004ur-8I for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 17:09:25 -0500 Received: from plane.gmane.org ([80.91.229.3]:34938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHfDm-0004uh-0w for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 17:09:22 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aHfDk-0000oB-Oq for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 23:09:20 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2016 23:09:20 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2016 23:09:20 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Martin Leduc writes: > On 2016-01-08 10:40 AM, Nick Dokos wrote: >> Martin Leduc 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