From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Sat, 18 Sep 2004 23:05:18 +0000 (UTC) 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> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095548771 8131 80.91.229.6 (18 Sep 2004 23:06:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2004 23:06:11 +0000 (UTC) Cc: Oliver Scholz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 19 01:05:56 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 1C8oHE-00054K-00 for ; Sun, 19 Sep 2004 01:05:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8oN1-0008EQ-8V for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2004 19:11:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8oMf-0008E3-7J for emacs-devel@gnu.org; Sat, 18 Sep 2004 19:11:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8oMe-0008Dk-3p for emacs-devel@gnu.org; Sat, 18 Sep 2004 19:11:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8oMd-0008DZ-RR for emacs-devel@gnu.org; Sat, 18 Sep 2004 19:11:32 -0400 Original-Received: from [69.168.110.189] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8oGo-0002PK-EB for emacs-devel@gnu.org; Sat, 18 Sep 2004 19:05:30 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Sat, 18 Sep 2004 23:05:18 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: (message from Oliver Scholz on Sat, 18 Sep 2004 19:34:45 +0200) 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:27263 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27263 ... When working with a document in what you call the surface expression, then it would be nice, if a command toggle would show what you call the deep representation of a paragraph (a block box) or a region. Then you could make changes to that and issue the command again to get the updated surface representation. If I understand you rightly, the idea here is that you look at one of the surface representations is a read-only display and maintain the same position in the read-write deep representation buffer. You can either keep the two buffers visible at the same time or switch from one to the other. This sounds good. Moreover, it is less complex than writing a program to edit a sufficiently complex surface expression. Generally, I would expect you to look at at least two different surface expressions at the same time, such as Info and DVI. This way you could avoid accidentally focusing too much on just one output format. With the deep representation, this means three visible windows. You might set things up so that by default a frame is laid out with three windows above each other. For example: +-----------------------------+ | | | Info surface expression | (Read only) | | +-----------------------------+ | | | DVI surface expression | (Read only) | | +-----------------------------+ | | | Texinfo deep representation | (Read-write) | | +-----------------------------+ -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc