From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/22714 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: Writing enriched text Date: 21 Apr 1999 12:51:12 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86ogkhhnfz.fsf@kramer.bp.aventail.com> References: <8690bm6sxc.fsf@kramer.bp.aventail.com> Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035160584 30799 80.91.224.250 (21 Oct 2002 00:36:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:36:24 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA17401 for ; Wed, 21 Apr 1999 13:51:27 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB12430; Wed, 21 Apr 1999 12:50:05 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 21 Apr 1999 12:50:30 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAA17718 for ; Wed, 21 Apr 1999 12:50:17 -0500 (CDT) Original-Received: from slow.bp.aventail.com (usrpri2-8.kiva.net [206.97.75.73]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA17332 for ; Wed, 21 Apr 1999 13:50:00 -0400 (EDT) Original-Received: from kramer.aventail.com (kramer.bp.aventail.com [192.168.2.2]) by slow.bp.aventail.com (8.8.5/8.8.5) with ESMTP id MAA26845; Wed, 21 Apr 1999 12:49:24 -0700 Original-Received: (from wmperry@localhost) by kramer.aventail.com (8.8.7/8.8.7) id MAA08399; Wed, 21 Apr 1999 12:51:12 -0500 Original-To: Oscar Figueiredo X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > >>>>> "Alan" == Alan Shutko writes: > > Alan> Kai.Grossjohann@CS.Uni-Dortmund.DE writes: > >> Or, we need a way to dissect a buffer into areas each of which is > >> edited in a different mode. OLE, anyone? > > Alan> We _definately_ need this. This would make help writing javascript in > Alan> html, yacc, lex, web, and tons of other places. If you figure out how > Alan> to do this.... > > This has been more or less done already though not exactly as you would > expect: look for "indirect buffers" in Emacs 20.something and XEmacs 21.2 What would be ideal is if you could change the syntax table and keymaps in an extent/text property region. I know you can do this for keymaps, but I don't think you can durrently to it for syntax tables. Then instead of an indirect _buffer_, you would have a region of the buffer that would in effect be in 'sgml-mode' or 'enriched-mode'. But you would still really want the bindings of 'message-mode' to be in effect, so this points to using minor modes instead of mixing major ones... hmmmm :( We just need really studly minor mode versions of sgml-mode and enriched-mode that integrate really well with mail-mode or message-mode. -Bill P.