From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic James Ferrier Newsgroups: gmane.emacs.devel Subject: Re: Saving markup formats Date: Mon, 18 Jun 2007 23:13:40 +0100 Message-ID: <878xagkj1n.fsf@kanga.tapsellferrier.co.uk> References: <871wgi9jzb.fsf@jidanni.org> <87ir9r1m99.fsf@jurta.org> <87myz2i9tj.fsf@jurta.org> <87r6ocx0tk.fsf_-_@jurta.org> <87vedmtnsz.fsf@jurta.org> <87vedmnvaf.fsf@kanga.tapsellferrier.co.uk> <4675A519.202@gmail.com> <87r6oafdkf.fsf@jurta.org> <87sl8qnrme.fsf@kanga.tapsellferrier.co.uk> <4675B791.6060006@gmail.com> <87ps3unqpf.fsf@kanga.tapsellferrier.co.uk> <4675BD78.5010508@gmail.com> <87hcp6nphl.fsf@kanga.tapsellferrier.co.uk> <4675C7D6.4010604@gmail.com> <878xahofj7.fsf@kanga.tapsellferrier.co.uk> <87sl8poszz.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182204905 16121 80.91.229.12 (18 Jun 2007 22:15:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2007 22:15:05 +0000 (UTC) Cc: epameinondas@gmx.de, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 00:15:02 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 1I0PUv-0008Rf-Rd for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2007 00:14:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0PUt-0000mG-1t for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2007 18:14:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0PUp-0000j5-Sj for emacs-devel@gnu.org; Mon, 18 Jun 2007 18:14:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0PUo-0000d3-42 for emacs-devel@gnu.org; Mon, 18 Jun 2007 18:14:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0PUn-0000ce-W7 for emacs-devel@gnu.org; Mon, 18 Jun 2007 18:14:50 -0400 Original-Received: from owls-tree.tapsellferrier.co.uk ([81.187.188.218] helo=owls-house.tapsellferrier.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I0PUn-0006o9-DN for emacs-devel@gnu.org; Mon, 18 Jun 2007 18:14:49 -0400 Original-Received: from nicferrier.tapsellferrier.co.uk ([172.31.50.1] helo=localhost) by owls-house.tapsellferrier.co.uk with esmtp (Exim 4.60 #1 (Debian)) id 1I0PQ1-0002VY-V8; Mon, 18 Jun 2007 23:09:53 +0100 Original-Received: by localhost (Postfix, from userid 1000) id ABE8CC06EE; Mon, 18 Jun 2007 23:13:40 +0100 (BST) In-Reply-To: <87sl8poszz.fsf@jurta.org> (Juri Linkov's message of "Tue\, 19 Jun 2007 00\:25\:04 +0300") X-detected-kernel: Genre and OS details not recognized. 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:73264 Archived-At: Juri Linkov writes: >>> Could you give me a more concrete example of what you want to do? >>> (Or did you give that before?) >> >> I am talking about editing a word processor file from OpenOffice or >> something like that and being able to edit the file in such a way that >> I (or someone else) can open it up in the native editor and it will >> work. >> >> I don't care much about WYSIWYG facilities. I just want to be able to >> edit it safely. > > Editing a word processor file can mean different things. I see at least > three levels: > > - editing raw XML files (e.g. with the help of nxml); > - editing DOM trees (like in graphical XML editors: expand/collapse > subtrees, add/delete a node, change its attributes); > - editing on the visual representation of the XML file (WYSIWYG). > > Which one from these you are talking about? Not one of those. What I am talking about is something not much above editing raw XML... but above it none the less. For example, here's a use case. I want to provide my CV in Word because agents over here use that (I always give them an HTML version as well... but for some reason they like to mail each other Word files). I would like to be able to open the word file directly in Emacs and see some view of it. It doesn't matter if it's structural rather than WYSIWYG but I don't want to look at Word XML thanks... it's awful. I want to add a Job Description for my recent job to the list. It is formatted as a heading followed by a list of technologies used and then a paragraph or two. I should be able to simply: - add a heading and mark it as such (by picking from the style list) - add a list (same thing) and some list items - add a paragraph It doesn't have to be WYSIWYG, it could be more like WordPerfect used to be (or more complex than that as long as the text is quite central). But it does have to deal with the document natively and allow me to use it in the way that the document format intends (adding list items, paragraphs, etc...) I'm not sure this is desirable or possible with Word. But with opendoc it certainly is. It seems to me that the key thing is not the WYSIWYG bit... but the rendering of one form (in this case XML) into something not directly derived. I guess that's why there's resistance here to adding libxml2 to emacs, because a DOM model would supplant a traditional buffer? -- Nic Ferrier http://www.tapsellferrier.co.uk