emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture does copy selected marked text
@ 2017-02-01 19:47 Uwe Brauer
  2017-02-01 20:37 ` Nicolas Goaziou
  2017-02-01 21:17 ` Stig Brautaset
  0 siblings, 2 replies; 4+ messages in thread
From: Uwe Brauer @ 2017-02-01 19:47 UTC (permalink / raw)
  To: emacs-orgmode

Hello

I am using GNU emacs 26 and org 8.3.6.


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)


But when I call org-capture and then j the selected text is not copied.
What do I miss?

Regards

Uwe Brauer 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture does copy selected marked text
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-02-01 20:37 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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)
>
>
> But when I call org-capture and then j the selected text is not copied.
> What do I miss?

I think you need to insert %c somewhere in your template. See
`org-capture-templates' for details.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture does copy selected marked text
  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
  2017-02-01 21:45   ` Uwe Brauer
  1 sibling, 1 reply; 4+ messages in thread
From: Stig Brautaset @ 2017-02-01 21:17 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-capture does copy selected marked text
  2017-02-01 21:17 ` Stig Brautaset
@ 2017-02-01 21:45   ` Uwe Brauer
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2017-02-01 21:45 UTC (permalink / raw)
  To: emacs-orgmode


   > Uwe Brauer <oub@mat.ucm.es> writes:

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

Thanks that is was %i 
helped, %c did not.

Uwe 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-01 21:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-02-01 21:45   ` Uwe Brauer

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).