From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Kill all items with specific tag to kill-ring. Date: Thu, 25 Apr 2013 08:37:16 +0200 Message-ID: References: <87haivyy3h.fsf@gavenkoa.example.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVFo7-0006qy-Dt for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 02:37:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVFo2-0006Nw-TP for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 02:37:27 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:62922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVFo2-0006Nd-Mk for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 02:37:22 -0400 Received: by mail-ea0-f182.google.com with SMTP id r16so1090736ead.13 for ; Wed, 24 Apr 2013 23:37:19 -0700 (PDT) In-Reply-To: <87haivyy3h.fsf@gavenkoa.example.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: Oleksandr Gavenko Cc: emacs-orgmode@gnu.org On 25.4.2013, at 07:32, Oleksandr Gavenko wrote: > I use tags only on top level items in org-file. > > And want move all items marked by specific tag to different org-file. > > I expect that this command kill items with selected tag to kill-ring in one > step (so single undo command return original buffer content). > > Seems there are no such command build-in command... no, but you could easily make one using the function org-map-entries. - Carsten