emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgmode capture template how to add entry under org header
@ 2014-08-10  0:07 jenia.ivlev
  2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
  0 siblings, 1 reply; 5+ messages in thread
From: jenia.ivlev @ 2014-08-10  0:07 UTC (permalink / raw)
  To: emacs-orgmode


Hello:

I added a custom template for the capture-mode:

    
The problem is that the default "Tasks" template is not there anymore.
So I tried to add this:
    
    ("t" "Tasks" entry
        (file "~/Documents/org/notes.org"))

Now, when I press `M-x org-capture`, the "Tasks" option appears in the
template options list.

The default behaviour for the default Tasks template is to add the new
entries under the "* Tasks" headline.

How do I achieve that same feature?

How to add all new entries under a specific header in the .org file?

Thanks in advance for your kind help and time.

Jenia

P.S.

This is how I add the custom template to the org-capture templates list:

    (setq org-capture-templates '(
        ("c" "Class" entry
           (file "~/Documents/org/class.txt")
           #'org-capture-class)
        ("n" "Exercise session" entry
            (file "~/Documents/org/notes.org"))
        ("t" "Tasks" entry
            (file "~/Documents/org/notes.org"))
    ))

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

* "#+begin_src R :results output drawer" doesn't work.
  2014-08-10  0:07 orgmode capture template how to add entry under org header jenia.ivlev
@ 2014-08-10  0:43 ` Feng Shu
  2014-08-10 16:31   ` Charles Berry
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Feng Shu @ 2014-08-10  0:43 UTC (permalink / raw)
  To: emacs-orgmode


#+begin_src R :results output drawer
"1"
"2"
#+end_src

#+RESULTS:
: 2



-- 

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

* Re: "#+begin_src R :results output drawer" doesn't work.
  2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
@ 2014-08-10 16:31   ` Charles Berry
  2014-08-13  6:19   ` Aaron Ecay
  2014-08-20 15:48   ` tumashu
  2 siblings, 0 replies; 5+ messages in thread
From: Charles Berry @ 2014-08-10 16:31 UTC (permalink / raw)
  To: emacs-orgmode

Feng Shu <tumashu <at> gmail.com> writes:

> 
> 
> #+begin_src R :results output drawer
> "1"
> "2"
> #+end_src
> 
> #+RESULTS:
> : 2
> 

I get:

#+RESULTS:
:RESULTS:
[1] "1"
[1] "2"
:END:

#+BEGIN_SRC emacs-lisp :results drawer
(org-version)
#+END_SRC

#+RESULTS:
:RESULTS:
8.3beta
:END:

HTH,

Chuck

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

* Re: "#+begin_src R :results output drawer" doesn't work.
  2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
  2014-08-10 16:31   ` Charles Berry
@ 2014-08-13  6:19   ` Aaron Ecay
  2014-08-20 15:48   ` tumashu
  2 siblings, 0 replies; 5+ messages in thread
From: Aaron Ecay @ 2014-08-13  6:19 UTC (permalink / raw)
  To: Feng Shu, emacs-orgmode

Hi Feng,

2014ko abuztuak 9an, Feng Shu-ek idatzi zuen:
> 
> #+begin_src R :results output drawer
> "1"
> "2"
> #+end_src
> 
> #+RESULTS:
> : 2
>

Like Eric, I cannot reproduce this behavior.  Can you send us the output
of the following code block, to check the exact version of org that is
giving you this unexpected result?

#+BEGIN_SRC emacs-lisp
  (org-version nil t)
#+END_SRC

Thanks,

-- 
Aaron Ecay

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

* Re: "#+begin_src R :results output drawer" doesn't work.
  2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
  2014-08-10 16:31   ` Charles Berry
  2014-08-13  6:19   ` Aaron Ecay
@ 2014-08-20 15:48   ` tumashu
  2 siblings, 0 replies; 5+ messages in thread
From: tumashu @ 2014-08-20 15:48 UTC (permalink / raw)
  To: Aaron Ecay, emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 1146 bytes --]

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

end of thread, other threads:[~2014-08-20 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-10  0:07 orgmode capture template how to add entry under org header jenia.ivlev
2014-08-10  0:43 ` "#+begin_src R :results output drawer" doesn't work Feng Shu
2014-08-10 16:31   ` Charles Berry
2014-08-13  6:19   ` Aaron Ecay
2014-08-20 15:48   ` tumashu

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