From mboxrd@z Thu Jan 1 00:00:00 1970 From: 42 147 Subject: org-copy-subtree Date: Sat, 2 Feb 2013 15:05:37 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d88ef2a5ad704d4c36280 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1jLH-00085R-1J for emacs-orgmode@gnu.org; Sat, 02 Feb 2013 15:05:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1jLG-0006Yp-3r for emacs-orgmode@gnu.org; Sat, 02 Feb 2013 15:05:38 -0500 Received: from mail-vb0-f48.google.com ([209.85.212.48]:32934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1jLF-0006Yl-VX for emacs-orgmode@gnu.org; Sat, 02 Feb 2013 15:05:38 -0500 Received: by mail-vb0-f48.google.com with SMTP id fc21so3059604vbb.7 for ; Sat, 02 Feb 2013 12:05:37 -0800 (PST) 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: Org Mode --047d7b5d88ef2a5ad704d4c36280 Content-Type: text/plain; charset=ISO-8859-1 I want to copy the text in the subtree, but not the headline. Right now I use the following hack: (org-narrow-to-subtree) (beginning-of-buffer) (next-line 1) (setq minPoint (point)) (copy-region-as-kill minPoint (point-max)) (widen) However, org-copy-subtree would do exactly what I need, IF it did not copy the headline. Then I could cut out four lines of the above code. --047d7b5d88ef2a5ad704d4c36280 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I want to copy the text in the subtree, but not the headline. Right now Iuse the following hack:

=A0 (org-narrow-to-subtree)
=A0 (beginn= ing-of-buffer)
=A0 (next-line 1)
=A0 (setq minPoint (point))
=A0 (= copy-region-as-kill minPoint (point-max))
=A0 (widen)

However, org-copy-subtree would do exactly what I need, = IF it did not copy
the headline. Then I could cut out four lines of the = above code.

--047d7b5d88ef2a5ad704d4c36280--