From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: Saving markup formats Date: Thu, 21 Jun 2007 06:05:28 -0700 (PDT) Message-ID: <57936.128.165.0.81.1182431128.squirrel@webmail.lanl.gov> References: <871wgi9jzb.fsf@jidanni.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> <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> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1182431152 14940 80.91.229.12 (21 Jun 2007 13:05:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 13:05:52 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Oliver Scholz To: "Nic James Ferrier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 21 15:05:50 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 1I1MM2-0007kc-VG for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 15:05:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1MM2-00053t-7X for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 09:05:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1MLx-00053e-JJ for emacs-devel@gnu.org; Thu, 21 Jun 2007 09:05:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1MLv-00053S-1G for emacs-devel@gnu.org; Thu, 21 Jun 2007 09:05:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1MLu-00053P-SN for emacs-devel@gnu.org; Thu, 21 Jun 2007 09:05:34 -0400 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1MLt-0005jZ-7z; Thu, 21 Jun 2007 09:05:33 -0400 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher-b.lanl.gov (8.13.8/8.13.6/(ccn-5)) with ESMTP id l5LD5TOv011693; Thu, 21 Jun 2007 07:05:29 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l5LD5SPR025111; Thu, 21 Jun 2007 07:05:28 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l5LD5S7n003424; Thu, 21 Jun 2007 07:05:28 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l5LD5SHd003422; Thu, 21 Jun 2007 06:05:28 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.0.81 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Thu, 21 Jun 2007 06:05:28 -0700 (PDT) In-Reply-To: <87fy4lviyz.fsf@kanga.tapsellferrier.co.uk> User-Agent: SquirrelMail/1.4.8-6.el3.2lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: herring@lanl.gov 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:73526 Archived-At: > So if you have a paragraph with a style attached to it and you kill it > and then yank it to somewhere else and it has the same styles attached > to it. > > The problem you're talking about does occur when you have 'embedded > structure', when you have a paragraph inside a list item for example. I still think it can happen even without nesting; consider the document (rendered for email as if it were HTML)

This is important!

This is even more important.

Now that will be rendered in Emacs as This is important! This is even more important. with appropriate faces, and perhaps one more newline between the sentences. Now kill from "imp..." to "...more" and what happens? If the result (in the buffer, not the kill ring) is a new paragraph with a mixture of styles, we have a problem because we then cannot tell whether a style is applied to a paragraph or merely to every character in it. If it's something else, we have a problem because the nearby text properties don't jive. What am I missing? Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.