Gnus development mailing list
 help / color / mirror / Atom feed
* save email in org format
@ 2024-12-20 17:03 Uwe Brauer
  2024-12-24  2:01 ` James Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2024-12-20 17:03 UTC (permalink / raw)
  To: ding

Hi

Vanilla gnus offers to save single messages in the following format 

--8<---------------cut here---------------start------------->8---
* gnus-summary-save-in-rmail (Rmail format)
* gnus-summary-save-in-mail (Unix mail format)
* gnus-summary-save-in-folder (MH folder)
* gnus-summary-save-in-file (article format)
* gnus-summary-save-body-in-file (article body)
* gnus-summary-save-in-vm (use VM’s folder format)
* gnus-summary-write-to-file (article format -- overwrite)
* gnus-summary-write-body-to-file (article body -- overwrite)
* gnus-summary-save-in-pipe (article format)
--8<---------------cut here---------------end--------------->8---


Does somebody knows about a package that allows to save in org format, where the org header is the from field, say

Thanks 

Uwe Brauer 

-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: save email in org format
  2024-12-20 17:03 save email in org format Uwe Brauer
@ 2024-12-24  2:01 ` James Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: James Thomas @ 2024-12-24  2:01 UTC (permalink / raw)
  To: ding

Uwe Brauer wrote:

> Hi
>
> Vanilla gnus offers to save single messages in the following format 
>
> * gnus-summary-save-in-rmail (Rmail format)
> * gnus-summary-save-in-mail (Unix mail format)
> * gnus-summary-save-in-folder (MH folder)
> * gnus-summary-save-in-file (article format)
> * gnus-summary-save-body-in-file (article body)
> * gnus-summary-save-in-vm (use VM’s folder format)
> * gnus-summary-write-to-file (article format -- overwrite)
> * gnus-summary-write-body-to-file (article body -- overwrite)
> * gnus-summary-save-in-pipe (article format)
>
>
> Does somebody knows about a package that allows to save in org format,
> where the org header is the from field, say

Since an email body has no hierarchy, you only mean to convert headers
into org headers, am I right? If so I guess you could pipe ('|') it to a
sed command that does only that.

If you mean for a whole thread (with 'M-&'), you could insert as many
asterisks as gnus-summary-thread-level in advance.

--


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-24  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-20 17:03 save email in org format Uwe Brauer
2024-12-24  2:01 ` James Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).