[comp.emacs] Editing WEB files

damerell@NSFNET-RELAY.AC.UK (Dr R M Damerell, RHBNC) (11/26/89)

   I have written some Emacs functions for editing WEB files; also for indenting
   Pascal files, these are intended to complement the pascal.el file
   written by V.Broman and others.  I dont like the idea of having one file of
   code for indenting  C  and one for Lisp and one for Pascal, etc. So I have 
   written functions for indenting which I hope will be adaptable to several
   languages.

   The Pascal part also provides functions like forward-proc, kill-proc, mark-proc
   and the WEB file provides forward-module etc. I am also in process of trying to
   write a mode for change files; this is much more difficult.

   I would like to find some people willing to try this out & report bugs. 
   Is anybody interested?

   Problem: in files like pascal.el and c-mode.el, there are several un-used
   C-M keys, such as:

   G L M Q R X Y Z

   Can I just use these as I like or is there some reason not to?

   Problem2: I would like to have a function that does this:

   Make a speculative change, ask user if he agrees,
   If user rejects the change then undo it.

   and my question is: is there any to guarantee to undo exactly the right amount?


Problem 3: I would like to be permitted to alter the function count-matches,
as follows: at present it displays the result as "25 occurrences". I would
like to alter it so that with an optional argument it returns the value 
instead. Please may I do this? I propose to submit the revised defun to 
info-gnu-emacs-request, unless somebody suggests a better place to send it.

           Mark