From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Sat, 18 Sep 2004 22:02:04 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409042358.i84Nwjt19152@raven.dms.auburn.edu> <87llfn5ihw.fsf@emacswiki.org> <01c49c75$Blat.v2.2.2$7a37cb00@zahav.net.il> <01c49d70$Blat.v2.2.2$f7cfb860@zahav.net.il> <01c49da7$Blat.v2.2.2$cd5f7160@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1095537774 31903 80.91.229.6 (18 Sep 2004 20:02:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2004 20:02:54 +0000 (UTC) Cc: boris@gnu.org, emacs-devel@gnu.org, alex@emacswiki.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 22:02:40 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8lPr-00062n-00 for ; Sat, 18 Sep 2004 22:02:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8lVe-0004QA-Kb for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2004 16:08:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8lVX-0004Pv-8R for emacs-devel@gnu.org; Sat, 18 Sep 2004 16:08:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8lVV-0004Pj-NN for emacs-devel@gnu.org; Sat, 18 Sep 2004 16:08:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8lVV-0004Pg-KN for emacs-devel@gnu.org; Sat, 18 Sep 2004 16:08:29 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C8lPY-00051s-Tg for emacs-devel@gnu.org; Sat, 18 Sep 2004 16:02:21 -0400 Original-Received: (qmail 27458 invoked by uid 65534); 18 Sep 2004 20:02:19 -0000 Original-Received: from dsl-082-082-146-092.arcor-ip.net (EHLO USER-2MOEN8BWBA.gmx.de) (82.82.146.92) by mail.gmx.net (mp008) with SMTP; 18 Sep 2004 22:02:19 +0200 X-Authenticated: #1497658 Original-To: Eli Zaretskii In-Reply-To: <01c49da7$Blat.v2.2.2$cd5f7160@zahav.net.il> (Eli Zaretskii's message of "Sat, 18 Sep 2004 20:48:07 +0300") X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27245 --=-=-= "Eli Zaretskii" writes: >> From: Oliver Scholz >> Date: Sat, 18 Sep 2004 19:08:17 +0200 >> Cc: boris@gnu.org, alex@emacswiki.org, emacs-devel@gnu.org >> >> It works to some extend, as long as you are able to identify those >> newlines and space characters when the document is encoded again and >> written to a file. > > If those characters have a special text property (put there when the > file is decoded), then such an identification at save time is > possible. Yes, that's the technique I have been using so far. It seems to me that Richard would disagree here. [...] > I suggest to discuss that and try to identify the specific problems > that you think will cause such an approach to fail. Then we might > have a better idea of the limitations of this approach, and could talk > about solutions. Easy. Just consider the HTML document attachted below. RTF has similar features, but I chose HTML, because that is more widely known. To see where the problem is, you need a CSS capable browser on a GUI. However, I don't think we need to talk about specific solutions /now/, for this reason: > In other words, the current design might indeed have to be changed, > but I think you will agree that such changes need to be kept to a > minimum, lest we end up redesigning Emacs. Talking about specific > problems will help to come up with such a minimal set of changes. Yes, I agree. If all this is basically a question of whether a box model (in the display engine) is too much work and trouble, then in fact, I suggest to delay such decisions until basic functionality is implemented by means of space and newline characters. Then we'll see whether what's left is worth it. I am thinking about an architecture (for word processing) that should be modular enough to replace the spaces-and-newline box model with something real without trouble. Oliver --=-=-= Content-Type: text/html Content-Disposition: attachment; filename=example.html Examples where Emacs' display engine would fail

Examples where Emacs' display engine would fail

Ich hab' in meinen Jugendtagen wohl auf dem Haupt einen Kranz getragen. Die Blumen glaenzten wunderbar, ein Zauber in dem Kranze war.
Der schoene Kranz gefiel wohl allen, doch der ihn trug hat manchem misfallen. Ich floh den gelben Menschenneid, ich floh in die gruene Waldeinsamkeit.
Im Wald! Im Wald da konnt' ich fuehren ein freies Leben mit Geistern und wilden Tieren: Feen und Hochwild von stolzem Geweih. Sie nahten sich mir ganz ohne Scheu.
Sie nahten sich mir ganz ohne Zagnis; sie wussten das sei kein schreckliches Wagnis. Dass ich kein Jaeger, wusste das Reh. Dass ich kein Vernunftmensch, wusste die Fee.
--=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit -- Oliver Scholz Jour du Travail de l'Année 212 de la Révolution Ostendstr. 61 Liberté, Egalité, Fraternité! 60314 Frankfurt a. M. --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--