* [bug] remember saves to wrong Heading
@ 2007-04-15 19:39 Leo
2007-04-15 19:57 ` Carsten Dominik
2007-04-16 11:14 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Leo @ 2007-04-15 19:39 UTC (permalink / raw)
To: emacs-orgmode
Dear Carsten,
With a setting like this:
,----
| (setq org-remember-templates
| '((?m "* %?\n %i\n %a" org-default-notes-file "Misc")
| (?p "* %?\n %i\n %a" org-default-notes-file "PhD")))
`----
and an org file like this:
,----
| * Misc
| #+CATEGORY: Misc
| #+ARCHIVE: %s_archive::* Misc
| *** Shopping
| * PhD
| #+CATEGORY: PhD
| #+ARCHIVE: %s_archive::* PhD
| *** Project A
`----
When I call remember and type `p' to choose a template, after `C-u C-c
C-c' the remember buffer is saved to a place above the "* PhD" heading,
in this case the "* Misc" heading, and the saved subtree does not
respect `org-odd-levels-only'.
BTW, any comments on http://permalink.gmane.org/gmane.emacs.orgmode/1456?
HTH
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [bug] remember saves to wrong Heading
2007-04-15 19:39 [bug] remember saves to wrong Heading Leo
@ 2007-04-15 19:57 ` Carsten Dominik
2007-04-15 20:22 ` Leo
2007-04-16 11:14 ` Carsten Dominik
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2007-04-15 19:57 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
On Apr 15, 2007, at 21:39, Leo wrote:
> Dear Carsten,
>
> With a setting like this:
> ,----
> | (setq org-remember-templates
> | '((?m "* %?\n %i\n %a" org-default-notes-file "Misc")
> | (?p "* %?\n %i\n %a" org-default-notes-file "PhD")))
> `----
>
> and an org file like this:
> ,----
> | * Misc
> | #+CATEGORY: Misc
> | #+ARCHIVE: %s_archive::* Misc
> | *** Shopping
> | * PhD
> | #+CATEGORY: PhD
> | #+ARCHIVE: %s_archive::* PhD
> | *** Project A
> `----
Hmm, I will check when I find time.
>
>
> BTW, any comments on
> http://permalink.gmane.org/gmane.emacs.orgmode/1456?
I think I did not understand the question at the time.
I have not checked, but have you tried using nil for the file name?
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [bug] remember saves to wrong Heading
2007-04-15 19:57 ` Carsten Dominik
@ 2007-04-15 20:22 ` Leo
0 siblings, 0 replies; 4+ messages in thread
From: Leo @ 2007-04-15 20:22 UTC (permalink / raw)
To: emacs-orgmode
----- Carsten Dominik (2007-04-15) wrote:-----
> On Apr 15, 2007, at 21:39, Leo wrote:
>
>> Dear Carsten,
>>
>> With a setting like this:
>> ,----
>> | (setq org-remember-templates
>> | '((?m "* %?\n %i\n %a" org-default-notes-file "Misc")
>> | (?p "* %?\n %i\n %a" org-default-notes-file "PhD")))
>> `----
>>
>> and an org file like this:
>> ,----
>> | * Misc
>> | #+CATEGORY: Misc
>> | #+ARCHIVE: %s_archive::* Misc
>> | *** Shopping
>> | * PhD
>> | #+CATEGORY: PhD
>> | #+ARCHIVE: %s_archive::* PhD
>> | *** Project A
>> `----
>
> Hmm, I will check when I find time.
Thanks.
>> BTW, any comments on
>> http://permalink.gmane.org/gmane.emacs.orgmode/1456?
>
> I think I did not understand the question at the time.
> I have not checked, but have you tried using nil for the file name?
>
> - Carsten
Yeah, it works. However the manual didn't mention this.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [bug] remember saves to wrong Heading
2007-04-15 19:39 [bug] remember saves to wrong Heading Leo
2007-04-15 19:57 ` Carsten Dominik
@ 2007-04-16 11:14 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2007-04-16 11:14 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
Fixed, thanks.
- Carsten
On Apr 15, 2007, at 21:39, Leo wrote:
> Dear Carsten,
>
> With a setting like this:
> ,----
> | (setq org-remember-templates
> | '((?m "* %?\n %i\n %a" org-default-notes-file "Misc")
> | (?p "* %?\n %i\n %a" org-default-notes-file "PhD")))
> `----
>
> and an org file like this:
> ,----
> | * Misc
> | #+CATEGORY: Misc
> | #+ARCHIVE: %s_archive::* Misc
> | *** Shopping
> | * PhD
> | #+CATEGORY: PhD
> | #+ARCHIVE: %s_archive::* PhD
> | *** Project A
> `----
>
> When I call remember and type `p' to choose a template, after `C-u C-c
> C-c' the remember buffer is saved to a place above the "* PhD" heading,
> in this case the "* Misc" heading, and the saved subtree does not
> respect `org-odd-levels-only'.
>
> BTW, any comments on
> http://permalink.gmane.org/gmane.emacs.orgmode/1456?
>
> HTH
> --
> Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-16 11:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-15 19:39 [bug] remember saves to wrong Heading Leo
2007-04-15 19:57 ` Carsten Dominik
2007-04-15 20:22 ` Leo
2007-04-16 11:14 ` Carsten Dominik
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.