From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Saving markup formats Date: Thu, 21 Jun 2007 12:07:36 +0200 Message-ID: <87abutboyf.fsf@ambire.localdomain> References: <871wgi9jzb.fsf@jidanni.org> <87myz2i9tj.fsf@jurta.org> <87r6ocx0tk.fsf_-_@jurta.org> <87d4zuyvn6.fsf@gmx.de> <87fy4prmdf.fsf@jurta.org> <85sl8ngp94.fsf@lola.goethe.zz> <87abuuexfo.fsf@kanga.tapsellferrier.co.uk> <87ps3qriao.fsf@gmx.de> <874pl2wfom.fsf@kanga.tapsellferrier.co.uk> <87r6o6uq70.fsf@kanga.tapsellferrier.co.uk> <31006.128.165.0.81.1182398381.squirrel@webmail.lanl.gov> <87fy4lviyz.fsf@kanga.tapsellferrier.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182420705 8631 80.91.229.12 (21 Jun 2007 10:11:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 10:11:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nic James Ferrier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 21 12:11:42 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 1I1Jda-0006wD-3l for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 12:11:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1JdZ-0007j1-86 for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 06:11:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1JdU-0007ga-KW for emacs-devel@gnu.org; Thu, 21 Jun 2007 06:11:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1JdS-0007gO-43 for emacs-devel@gnu.org; Thu, 21 Jun 2007 06:11:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1JdS-0007gL-0u for emacs-devel@gnu.org; Thu, 21 Jun 2007 06:11:30 -0400 Original-Received: from smtp-out1.libero.it ([212.52.84.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1JdR-0007XR-GB for emacs-devel@gnu.org; Thu, 21 Jun 2007 06:11:29 -0400 Original-Received: from localhost (172.31.0.42) by smtp-out1.libero.it (7.3.120) id 4611FD18056AC47F for emacs-devel@gnu.org; Thu, 21 Jun 2007 12:11:28 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out3.libero.it ([172.31.0.39]) by localhost (asav-out2.libero.it [192.168.32.30]) (amavisd-new, port 10024) with ESMTP id VDF51YjaFrBM for ; Thu, 21 Jun 2007 12:11:28 +0200 (CEST) Original-Received: from mailrelay07.libero.it (192.168.32.94) by smtp-out3.libero.it (7.3.120) id 4611FDB6058B64E9 for emacs-devel@gnu.org; Thu, 21 Jun 2007 12:11:28 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnpUABrreUaXFSUJR2dsb2JhbACBSIVhh3EBAT8 Original-Received: from ppp-9-37.21-151.libero.it (HELO ambire.localdomain) ([151.21.37.9]) by outrelay07.libero.it with ESMTP; 21 Jun 2007 12:07:43 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1I1JZg-0001X4-Iq; Thu, 21 Jun 2007 12:07:36 +0200 In-Reply-To: <87fy4lviyz.fsf@kanga.tapsellferrier.co.uk> (Nic James Ferrier's message of "Thu\, 21 Jun 2007 08\:56\:36 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:73514 Archived-At: () Nic James Ferrier () Thu, 21 Jun 2007 08:56:36 +0100 I think anything embedded in a list or table will be free of any list or table properties. that thinking doesn't scale, unfortunately. better to think of lists in lists, lists in tables, tables in lists, and tables in tables. generally, most things can logically be nested (and sometimes illogically as well -- just look at what people publish on the net :-). here is an example i hope we can use as a "working exercise": lists * item1 * ===========BIG================== = foo = zzz = = * bar = * yyy = = * baz = * ==SMALL== = = = = 3 = 5 = = = wow = = 4 = 2 = = <-- = * zow = = 6 = A = = = * yow = ========= = ================================ * item3 each of these pieces of text (chosen to be unique for clarity) has a location and a function: lists, item1, BIG, foo, zzz, bar, baz, yyy, SMALL, 3, 5, wow, 4, 2, zow, 6, A, yow, item3. additionally, each "=", "*" and " " has its coordinate. deriving a tree from this is easy. rendering the tree is moderately easy. the hard questions are: - what text properties to put on each character? - if we do C-k at various places on the <-- (indicated) line: - what should happen (to text / properties)? - what should we do if what should happen doesn't? - simiarly for C-y anywhere, w/ and w/o prior kill. thi