From: 42 147 <aeuster@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: org-copy-subtree
Date: Sat, 2 Feb 2013 15:05:37 -0500 [thread overview]
Message-ID: <CAMgvimERBPTnfVix8DRHKrg+Fb4wrWRwYj0X=5UJrJxJdyi4yg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 431 bytes --]
next reply other threads:[~2013-02-02 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-02 20:05 42 147 [this message]
2013-02-02 20:53 ` org-copy-subtree Suvayu Ali
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='CAMgvimERBPTnfVix8DRHKrg+Fb4wrWRwYj0X=5UJrJxJdyi4yg@mail.gmail.com' \
--to=aeuster@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).