* Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember*
@ 2009-04-09 13:37 Deric Bytes
2009-04-09 15:44 ` dericbytes
2009-04-12 20:45 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Deric Bytes @ 2009-04-09 13:37 UTC (permalink / raw
To: emacs-orgmode
I was hoping to add a top-level heading to my file. I changed
(setq org-remember-templates
'(("* Task" ?t "%^{Task status|TODO|STARTED|SUBTASK} %^{Brief
Description} %^G\n %^{subject}p %^{other-subjects}p
%^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
"~/notes/notes-log-090410.org"))
to this ( subsituted '* Task' for 'Task' )
(setq org-remember-templates
'(("Task" ?t "%^{Task status|TODO|STARTED|SUBTASK} %^{Brief
Description} %^G\n %^{subject}p %^{other-subjects}p
%^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
"~/notes/notes-log-090410.org"))
i did this because it was adding double stars.
I got the following error message when adding properties to my template
byte-code: Before first headline at position 363 in buffer *Remember*
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember*
2009-04-09 13:37 Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember* Deric Bytes
@ 2009-04-09 15:44 ` dericbytes
2009-04-12 20:45 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: dericbytes @ 2009-04-09 15:44 UTC (permalink / raw
To: emacs-orgmode
Deric Bytes <dericbytes <at> gmail.com> writes:
>
> I was hoping to add a top-level heading to my file. I changed
>
> (setq org-remember-templates
> '(("* Task" ?t "%^{Task status|TODO|STARTED|SUBTASK} %^{Brief
> Description} %^G\n %^{subject}p %^{other-subjects}p
> %^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
> "~/notes/notes-log-090410.org"))
>
> to this ( subsituted '* Task' for 'Task' )
>
> (setq org-remember-templates
> '(("Task" ?t "%^{Task status|TODO|STARTED|SUBTASK} %^{Brief
> Description} %^G\n %^{subject}p %^{other-subjects}p
> %^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
> "~/notes/notes-log-090410.org"))
>
> i did this because it was adding double stars.
>
> I got the following error message when adding properties to my template
>
> byte-code: Before first headline at position 363 in buffer *Remember*
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
Just in case I confused someone. Here was the code that worked originally. ( I
made a typo )
(setq org-remember-templates
'(("Task" ?t "* %^{Task status|TODO|STARTED|SUBTASK} %^{Brief
Description} %^G\n %^{subject}p %^{other-subjects}p
%^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
"~/notes/notes-log-090410.org"))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember*
2009-04-09 13:37 Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember* Deric Bytes
2009-04-09 15:44 ` dericbytes
@ 2009-04-12 20:45 ` Carsten Dominik
2009-04-13 10:54 ` example - add remember template as a top-level heading dericbytes
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-04-12 20:45 UTC (permalink / raw
To: Deric Bytes; +Cc: emacs-orgmode
On Apr 9, 2009, at 3:37 PM, Deric Bytes wrote:
> I was hoping to add a top-level heading to my file. I changed
Set the headline field in the template to 'top or 'bottom to get top-
level headlines and the beginning or end of the file, respectively.
- Carsten
>
>
> (setq org-remember-templates
> '(("* Task" ?t "%^{Task status|TODO|STARTED|SUBTASK} %^{Brief
> Description} %^G\n %^{subject}p %^{other-subjects}p
> %^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
> "~/notes/notes-log-090410.org"))
>
> to this ( subsituted '* Task' for 'Task' )
>
> (setq org-remember-templates
> '(("Task" ?t "%^{Task status|TODO|STARTED|SUBTASK} %^{Brief
> Description} %^G\n %^{subject}p %^{other-subjects}p
> %^{sub-subjects}p %^{keywords}p %?\nCalled from: %a\nAdded: %U"
> "~/notes/notes-log-090410.org"))
>
> i did this because it was adding double stars.
>
> I got the following error message when adding properties to my
> template
>
> byte-code: Before first headline at position 363 in buffer *Remember*
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
* example - add remember template as a top-level heading
2009-04-12 20:45 ` Carsten Dominik
@ 2009-04-13 10:54 ` dericbytes
0 siblings, 0 replies; 4+ messages in thread
From: dericbytes @ 2009-04-13 10:54 UTC (permalink / raw
To: emacs-orgmode
Carsten Dominik <carsten.dominik <at> gmail.com> writes:
>
>
> On Apr 9, 2009, at 3:37 PM, Deric Bytes wrote:
>
> > I was hoping to add a top-level heading to my file. I changed
>
> Set the headline field in the template to 'top or 'bottom to get top-
> level headlines and the beginning or end of the file, respectively.
>
> - Carsten
Thanks.... I had to look up what the headline field was. Also didn't know
whether to use "top", 'top, or top..... So here's my working template to save
some people time.
(setq org-remember-templates
'(("Task" ?t "* %^{Task status|TODO|STARTED|SUBTASK|DONE} %^{Brief
Description} %^G\n %^{subject}p %^{other-subjects}p %^{sub-subjects}p
%^{keywords}p %?\n Added: %U \n" "~/notes/now.org" top))
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-13 10:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 13:37 Error message when running remember - byte-code: Before first headline at position 363 in buffer *Remember* Deric Bytes
2009-04-09 15:44 ` dericbytes
2009-04-12 20:45 ` Carsten Dominik
2009-04-13 10:54 ` example - add remember template as a top-level heading dericbytes
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.