From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: Re: Simple copy/paste of an agenda TODO list Date: Fri, 8 Jan 2016 19:58:31 -0500 Message-ID: References: <87r3hskrkp.fsf@alphaville.usersys.redhat.com> <87d1tblo53.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHhre-0001NK-Vf for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 19:58:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHhrb-0007PF-P5 for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 19:58:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:42948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHhrb-0007P1-IK for emacs-orgmode@gnu.org; Fri, 08 Jan 2016 19:58:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aHhra-00042k-ES for emacs-orgmode@gnu.org; Sat, 09 Jan 2016 01:58:38 +0100 Received: from modemcable038.50-161-184.mc.videotron.ca ([184.161.50.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2016 01:58:38 +0100 Received: from ldcmrtn by modemcable038.50-161-184.mc.videotron.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2016 01:58:38 +0100 In-Reply-To: <87d1tblo53.fsf@alphaville.usersys.redhat.com> 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 On 2016-01-08 05:09 PM, Nick Dokos wrote: > 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 > > > As simple as that ;) Thank you.