emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stig Brautaset <stig@brautaset.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-capture does copy selected marked text
Date: Wed, 01 Feb 2017 21:17:24 +0000	[thread overview]
Message-ID: <m21svhvcez.fsf@Margil.home> (raw)
In-Reply-To: <87r33hsngo.fsf@mat.ucm.es>


Uwe Brauer <oub@mat.ucm.es> writes:
>
> I have used org-capture a long time ago and do not recall the details,
> but I thought I could select a text and then org-capture would copy that
> selected text to a file of my choice in a format I can customize. A bit
> like good old remember does/did.
>
> For example I have set
>
>         ("j" "Journal Entry"
>          entry (file+datetree "~/ALLES/journal.org")
>          "* %?"
>          :empty-lines 1)

Try adding "%i" to the capture template, for example like so:

         ("j" "Journal Entry"
          entry (file+datetree "~/ALLES/journal.org")
          "* %?\n\n  %i"
          :empty-lines 1)

Stig

  parent reply	other threads:[~2017-02-01 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 19:47 org-capture does copy selected marked text Uwe Brauer
2017-02-01 20:37 ` Nicolas Goaziou
2017-02-01 21:17 ` Stig Brautaset [this message]
2017-02-01 21:45   ` Uwe Brauer

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=m21svhvcez.fsf@Margil.home \
    --to=stig@brautaset.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /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).