[comp.emacs] GNU emacs complex questions - pls help

mg@notecnirp.Princeton.EDU (Michael Golan) (03/16/89)

Hello !
First, I am asking only about GNU emacs. 2nd, I dont expect to get code in 
return to my questions, just some guidelines before I go to read the whole 
lisp manual. 
I am a graduate student in Princeton University, and want/need to implement
connectivity between files (pointers) between accross sessions. Spicifically,
I whould like to change imacs so it have two modes for a file:

in the 1st mode, any string in the file which is enclosed in braces (or control
characters etc) is not displayed on the screen and can not be edited at all,
but is kept in the buffer.

in the 2nd mode, these string are presented, but are modified for presentation,
e.g. inverse video.

My questions:

1. Can you put your own filter between the file-buffer and the screen? what
function causes ^A to be displayed as two characters (^) (A)? is this lisp 
code or internal "C" code ?

2. Can you put parts of the buffer to the screen in inverse video? if not,
when (and how) yes? I know ispell.el does put an inverse video line on the
screen..

3. How easily can you filter the file save/load functions? I might need to
access a file a/b/xxx when the user asks for file "a/xxx", either on the 
command line, with C-X C-F or in any other way. 

I would greatly appriciate answers to any of these questions. Please send
me mail or post if you think it is of general interest. I will post a summary
if I will get enough requests it.
Thank you
  Michael Golan
  mg@princeton.edu