Re: [Orgmode] Re: How to convert org file to such a plain text

2008-08-05 Thread Hugo Schmitt
anhnmncb, this helps you? (defun org-to-anhnmncb () (interactive) (goto-char (point-min)) (let ((curlevel 0)) (while ( (point) (point-max)) (goto-char (point-at-bol)) (cond ((looking-at \\(\\*+\\)\\s-*) (setq curlevel (1- (length (match-string 1

[Orgmode] Re: How to convert org file to such a plain text

2008-08-05 Thread anhnmncb
Eddward DeVilla [EMAIL PROTECTED] writes: I don't know if you use perl at all. My first guess is: perl -pe's/^(\*+)(\s+.*)$/(\tx length$1).$2/e' TODO.org TODO.txt Having tried it on a live file, I don't think the results are very pleasing Replacing a single character '*' with a tab

[Orgmode] Re: How to convert org file to such a plain text

2008-08-05 Thread anhnmncb
Hugo Schmitt [EMAIL PROTECTED] writes: anhnmncb, this helps you? (defun org-to-anhnmncb () (interactive) (goto-char (point-min)) (let ((curlevel 0)) (while ( (point) (point-max)) (goto-char (point-at-bol)) (cond ((looking-at \\(\\*+\\)\\s-*) (setq

[Orgmode] Re: How to convert org file to such a plain text

2008-08-04 Thread anhnmncb
anhnmncb [EMAIL PROTECTED] writes: Carsten Dominik [EMAIL PROTECTED] writes: On Jul 26, 2008, at 9:52 AM, anhnmncb wrote: Hugo Schmitt [EMAIL PROTECTED] writes: What are the odds that Carsten has plans to export to a format *you* just invented? Oh, my pda app projekt can import this

[Orgmode] Re: How to convert org file to such a plain text

2008-08-04 Thread Peter Jones
anhnmncb [EMAIL PROTECTED] writes: Sorry, I can't find more useful info, the app just says it can import the txt file which has different level of indents. So I think replace star(*) with tab is enough. Such like this: Org file -- txt file

Re: [Orgmode] Re: How to convert org file to such a plain text

2008-08-04 Thread Eddward DeVilla
I don't know if you use perl at all. My first guess is: perl -pe's/^(\*+)(\s+.*)$/(\tx length$1).$2/e' TODO.org TODO.txt Having tried it on a live file, I don't think the results are very pleasing Replacing a single character '*' with a tab creates a formatting mess with any other text

[Orgmode] Re: How to convert org file to such a plain text

2008-07-29 Thread anhnmncb
Carsten Dominik [EMAIL PROTECTED] writes: On Jul 26, 2008, at 9:52 AM, anhnmncb wrote: Hugo Schmitt [EMAIL PROTECTED] writes: What are the odds that Carsten has plans to export to a format *you* just invented? Oh, my pda app projekt can import this format of file, but if all of you think

Re: [Orgmode] Re: How to convert org file to such a plain text

2008-07-28 Thread Carsten Dominik
On Jul 26, 2008, at 9:52 AM, anhnmncb wrote: Hugo Schmitt [EMAIL PROTECTED] writes: What are the odds that Carsten has plans to export to a format *you* just invented? Oh, my pda app projekt can import this format of file, but if all of you think it's no use, nervermind. Hey, why the

Re: [Orgmode] Re: How to convert org file to such a plain text

2008-07-26 Thread Hugo Schmitt
What are the odds that Carsten has plans to export to a format *you* just invented? On Fri, Jul 25, 2008 at 3:47 PM, anhnmncb [EMAIL PROTECTED] wrote: Carsten Dominik [EMAIL PROTECTED] writes: We do not have an exporter that can do this right now. - Carsten Will it come in furture?

[Orgmode] Re: How to convert org file to such a plain text

2008-07-26 Thread anhnmncb
Hugo Schmitt [EMAIL PROTECTED] writes: What are the odds that Carsten has plans to export to a format *you* just invented? Oh, my pda app projekt can import this format of file, but if all of you think it's no use, nervermind. On Fri, Jul 25, 2008 at 3:47 PM, anhnmncb [EMAIL PROTECTED]

[Orgmode] Re: How to convert org file to such a plain text

2008-07-25 Thread anhnmncb
Carsten Dominik [EMAIL PROTECTED] writes: We do not have an exporter that can do this right now. - Carsten Will it come in furture? On Jul 24, 2008, at 4:59 PM, anhnmncb wrote: I want to export org to plan text, which pattern is: |level 1 |tablevel 2