[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] convert a mailbox or a vm folder to a org-mode file
From: |
Eric S Fraga |
Subject: |
Re: [O] convert a mailbox or a vm folder to a org-mode file |
Date: |
Tue, 15 Mar 2016 17:13:39 +0000 |
User-agent: |
Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.0.91 (gnu/linux) |
On Tuesday, 15 Mar 2016 at 14:27, Uwe Brauer wrote:
> Hello
>
>
> Does somebody know a tool which would allow to convert a (unix) mailbox
> or a vm folder to the org-mode format?
The power of org is that "it's all text"... A regex based replace would
do the job if you simply want to make all "^From" lines
headlines. Depends on what you mean by org-mode format.
In ed/ex/vi format: %s/^From/* From/
(as an evil in emacs user ;-)
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55