rustcat@csli.Stanford.EDU (Vallury Prabhakar) (05/17/89)
It occurred to me that a nice feature in rmail would be to output particular message(s) into another file sans the headers. I know I can manually go in and strip the headers from the output file, but making rmail do it seems to be a challenge. By headers, I don't mean the strings inserted by rmail when getting mail from the inbox such as ****EOOH****, etc. That would just require deleting one line from rmailout.el. No, what I had in mind was to be able to figure out where the actual text of the message starts, set (point) to the previous line and output only the region between (point) and (point-max). I don't uses GNews/GNUS but I understand that one of these programs has this option, though I could be mistaken. I looked at the rmail*.el files but wasn't able to find anything that would allow me to do this. The program just appends its header to take care of the required Babyl format and outputs the whole shebang. One thing that could be a potential problem is that depending on where (what type of machine) the message originated from, the headers seem to vary widely. Any ideas on how this could be implemented? I ask this more out of curiousity and any real need, so I'm not really looking for alternative methods of removing headers such as manual editing. Enjoy. -- Vallury