From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: Saving markup formats Date: Mon, 18 Jun 2007 02:05:33 +0200 Message-ID: <87d4zuyvn6.fsf@gmx.de> References: <871wgi9jzb.fsf@jidanni.org> <87odjlwpu1.fsf@jurta.org> <87ir9r1m99.fsf@jurta.org> <87myz2i9tj.fsf@jurta.org> <87r6ocx0tk.fsf_-_@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1182126504 6825 80.91.229.12 (18 Jun 2007 00:28:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2007 00:28:24 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 18 02:28:23 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I056S-0003uQ-5H for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2007 02:28:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I056R-0001DC-MD for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2007 20:28:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I04kV-0008B3-8u for emacs-devel@gnu.org; Sun, 17 Jun 2007 20:05:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I04kT-00087U-Lt for emacs-devel@gnu.org; Sun, 17 Jun 2007 20:05:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I04kT-00087K-Cc for emacs-devel@gnu.org; Sun, 17 Jun 2007 20:05:37 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I04kS-0006vB-Mx for emacs-devel@gnu.org; Sun, 17 Jun 2007 20:05:37 -0400 Original-Received: (qmail invoked by alias); 18 Jun 2007 00:05:34 -0000 Original-Received: from dslb-084-058-085-137.pools.arcor-ip.net (EHLO eos.gmx.de) [84.58.85.137] by mail.gmx.net (mp019) with SMTP; 18 Jun 2007 02:05:34 +0200 X-Authenticated: #1497658 X-Provags-ID: V01U2FsdGVkX19svLFrBeNsvM1GUFwv1ebfLE8jHC8TRSxRTsjLkt WAFnISVfDAxGlR User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sun, 17 Jun 2007 20:27:10 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73198 Archived-At: Reiner Steib writes: > [ I'd suggest to move this discussion to emacs-devel ] > > On Sat, Jun 16 2007, Richard Stallman wrote: > > [ Juri Linkov: ] >> What are the most preferable formats to save markup? One variant is >> Enriched text. It was designed for using in e-mail, but actually no= body >> uses it nowadays. Most people prefer HTML in e-mail as a replacemen= t of >> plain text. >> >> HTML would be useful. RTF would be useful. XML would be useful. >> The old Word format would be useful, at least to be able to read it. >> If you implement any of these, it will be a nice contribution. >> If you implement more than one, even better. > > Oliver Scholz (Cc-ed) has done some work on an > RTF reader for Emacs a couple of years ago. Maybe his work is useful > in the current context. Oliver has signed papers for Emacs (past and > future changes) and I'm quite sure he'd assign this code as well. > > Here's the summary from the project page: > > ,----[ http://savannah.nongnu.org/projects/emacs-rtf/ ] > | This package aims to implement the "Rich Text Format" (RTF), version [...] This is a very old project of mine, and an abandoned one, I am afraid. Of course, anybody is free to make use of the codebase, but I for myself am convinced that it is the wrong approach. I did some further work on the issue of processing XML or RTF or HTML documents in Emacs, but it is an uphill struggle. And because it is---if done well---a little too big for somebody with a notorious lack of time, this has been sleeping for quite a while. Parsing is not the problem. (Though for XML: none of the existing XML parsers would do the job. You need CDATA in a buffer, not as strings in a list.) Oliver --=20 Oliver Scholz 30 Prairial an 215 de la R=C3=A9volution Ostendstr. 61 Libert=C3=A9, Egalit=C3=A9, Fraternit=C3=A9! 60314 Frankfurt a. M.=20=20=20=20=20=20=20