Re: [O] [PATCH] Escape slashes in ARCHIVE_OLPATH

2012-11-09 Thread Nicolas Goaziou
Hello, Takafumi Arakaki aka@gmail.com writes: Currently information about tree structure is lost if you have a slash in node headings. This patch fixes the problem by escaping slashes in headings before concatenating them. Thanks for your patch. Would you mind providing a test-case to

Re: [O] [PATCH] Escape slashes in ARCHIVE_OLPATH

2012-11-09 Thread Takafumi Arakaki
I am not familiar with org-mode test suite but I can try. Could you tell me where I can find similar test cases which creates archive entries? --- Takafumi On Fri, Nov 9, 2012 at 9:57 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Takafumi Arakaki aka@gmail.com writes: Currently

Re: [O] [PATCH] Escape slashes in ARCHIVE_OLPATH

2012-11-09 Thread Nicolas Goaziou
Takafumi Arakaki aka@gmail.com writes: I am not familiar with org-mode test suite but I can try. Could you tell me where I can find similar test cases which creates archive entries? We use ERT. There is no test case related to archive entries yet. Though, if you write a recipe to

Re: [O] [PATCH] Escape slashes in ARCHIVE_OLPATH

2012-11-09 Thread Takafumi Arakaki
I thought it would be convenient if there was a macro or something to setup temporal main org file and temporal archive file. If there is nothing like that, then I will just create by my self or use unwind-protect or something directly. I remember there is a way to archive in the same file by

Re: [O] [PATCH] Escape slashes in ARCHIVE_OLPATH

2012-11-09 Thread Nicolas Goaziou
Takafumi Arakaki aka@gmail.com writes: I thought it would be convenient if there was a macro or something to setup temporal main org file and temporal archive file. If there is nothing like that, then I will just create by my self or use unwind-protect or something directly. I remember

[O] [PATCH] Escape slashes in ARCHIVE_OLPATH

2012-11-05 Thread Takafumi Arakaki
Currently information about tree structure is lost if you have a slash in node headings. This patch fixes the problem by escaping slashes in headings before concatenating them. Takafumi archive_olpath.patch Description: Binary data