[comp.sys.amiga.programmer] DME Indention keymaps, anyone?

niobium@arrakis.nevada.edu (Christopher W. Carlson) (02/10/91)

I've just recently gotten a copy of Matt Dillon's DME editor, and am impressed
beyond all bounds.  In an effort to produce the kind of editor that I feel
comfortable with, I struck upon the idea of mapping many of the keys in DME to
closely match EMACS (no flames, please :-) keys, and from there I could modify
to my hearts' content.

Anyway, after a quick perusal of the instruction file, I produced what appears
to be a fairly close emulation of Emacs cursor keys, block manipulation keys,
and a few others.  My next hurdle is to duplicate the way that Emacs indents
C code.  Has anybody done such a thing?  I've looked at the macros/DMEMacros
file in the latest distribution, but really don't like the way the author of
those macros indents his work, and I couldn't divine any intelligent way to
handle coherent, intuitive indentation.

If you can offer any tips, hints, or even a swatch of DME keymap code, I'd be
most grateful, and may even post my .edrc once it's as close to finished as I
care to make it.

Thanks for your time.

-=* CWC

-- 
 __   _          _  _____  _    ___       __  |  Christopher W. Carlson | _ //
/ __ / \  |     / \   |   / \  |__  /  \ (__  |    niobium@nevada.edu   | \X/
\__// /_\ |___ / /_\  |  / /_\ |___ \__/ ___) |--------------------------------
   Galataeus, Displaced Wizard of Brigadoon   |  I never said these words...