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: Wed, 20 Jun 2007 11:23:55 +0100 Message-ID: <87abuuexfo.fsf@kanga.tapsellferrier.co.uk> References: <871wgi9jzb.fsf@jidanni.org> <87odjlwpu1.fsf@jurta.org> <87ir9r1m99.fsf@jurta.org> <87myz2i9tj.fsf@jurta.org> <87r6ocx0tk.fsf_-_@jurta.org> <87d4zuyvn6.fsf@gmx.de> <87fy4prmdf.fsf@jurta.org> <85sl8ngp94.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182335130 20306 80.91.229.12 (20 Jun 2007 10:25:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2007 10:25:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oliver Scholz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 20 12:25:29 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 1I0xNP-0002yf-Tp for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 12:25:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0xNP-0003tB-2t for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 06:25:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0xNL-0003t5-Kn for emacs-devel@gnu.org; Wed, 20 Jun 2007 06:25:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0xNJ-0003st-85 for emacs-devel@gnu.org; Wed, 20 Jun 2007 06:25:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0xNJ-0003sq-27 for emacs-devel@gnu.org; Wed, 20 Jun 2007 06:25:21 -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 1I0xNI-0000kd-I0 for emacs-devel@gnu.org; Wed, 20 Jun 2007 06:25:20 -0400 Original-Received: from [172.31.107.1] (helo=localhost) by owls-house.tapsellferrier.co.uk with esmtp (Exim 4.60 #1 (Debian)) id 1I0xI9-00015e-M9; Wed, 20 Jun 2007 11:20:01 +0100 Original-Received: by localhost (Postfix, from userid 1000) id 2D985C06F2; Wed, 20 Jun 2007 11:23:55 +0100 (BST) In-Reply-To: (Oliver Scholz's message of "Wed\, 20 Jun 2007 12\:05\:30 +0200") 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:73404 Archived-At: Oliver Scholz writes: > What I, personally, think about this UI-wise doesn't really matter. > Though, matters of taste aside, it will be an interesting task to make > this UI secure against inadvertent and unnoticed changes by the user > to the document structure (for instance by yanking text at the wrong > spot) that could cause trouble. And by "trouble" I mean things like: > the formatting of a 200p. master thesis going south half an hour > before the final dead line. > > Sorry. I should really shut up now. I don't see the paradagm shift > coming that I deem necessary. What do you think about the idea of an Emacs mode based on properties representing styles as I outlined earlier? The tiny OpenDoc example: #("Nic Ferrier - CV" 0 16 (element h2)) #("Nic is a hacker with some crazy ideas" 0 37 (element para style p1)) I think this would work for RTF as well. Clearly we wouldn't need an XML parser for RTF. -- Nic Ferrier http://www.tapsellferrier.co.uk