Article View: gnu.epoch.misc
Article #1269Re: Formatting in the text
From: Jamie Lokier
Date: Thu, 25 Jun 1992 22:56
Date: Thu, 25 Jun 1992 22:56
31 lines
2434 bytes
2434 bytes
I while back a posted a "folding mode" to gnu.emacs.sources. One of the features I would very much like to see in a future Emacs is temporary formatting, because sometimes it is nice to be able to edit something that doesn't look like the low-level text underlying it. With reference to a folding mode, the lisp code decides where text formatting should go when Emacs reads a file (in the form of hidden regions of text), as opposed to having it as part of the file itself (and in fact changes the view, which I would like to do without modifying the text of the file). Emacs already has a simple capability for hiding some text by narrowing, and a slightly more destructive technique for selective-display. Similar ideas apply to other program-specified formatting, such as colours in a C program, or highlighted menus in an Info buffer. Those things ought not to be stored as part of the text, although where they are placed at edit time is determined by the text, as interpreted by the lisp code that looks at it. I would much rather see a facility wherby the text displayed in a particular window is determined by some lisp structure, which holds something like a list, whose elements each refers to a region of text from an arbitrary buffer, and some property information. Then information from several buffers could be displayed. I think this would be most useful for displaying bits of text from a buffer, and a little more text from a temporary buffer, so for example Emacs could display some dynamic, informative symbols in a document being word-processed, but which are not truly part of the text. Would that really be so difficult to implement? Jamie -- Wibble.
Technical Details
Message-ID:
<1992Jun25.215737.7061@mnemosyne.cs.du.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!usenetReferences:
<9206241550.AA02662@larch.cs.uiuc.edu> <BILL.92Jun24132115@cortex.nsma.arizona.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,4a141aacbd7f2b59 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1992-06-25 07:32:26 PST Newsgroups: gnu.epoch.misc Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!usenet From: jlokier@nyx.cs.du.edu (Jamie Lokier) Subject: Re: Formatting in the text In-Reply-To: bill@nsma.arizona.edu's message of 24 Jun 92 20:21:15 GMT Message-ID: <1992Jun25.215737.7061@mnemosyne.cs.du.edu> Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Organization: Public Access Unix, Denver University References: <9206241550.AA02662@larch.cs.uiuc.edu> <BILL.92Jun24132115@cortex.nsma.arizona.edu> Distribution: gnu Date: 25 Jun 92 22:56:08 Lines: 31