Lars, you know what is coming now. Simply say "So be it" or I'll torture
you a few times more...

I'd like to have a single "math" LFUN_MATH with my own little "namespace"
under it (much like the "M-m keybinding namespace" we already have).

It is simply not feasible to have everything living in the big flat
namespace, and indeed, we officially have already the notion of arguments
to an LFUN which is often nothing else than I want.

Some of the technical reasons: A single LFUN means less namespace
pollution. New mathed features can added without touching src/*.[Ch].

I still promise to change "my" system to anything else once this
"anything else" is implemented in the core. So this does not restrict
anybody's ability to innovate *cough*

Andre'


PS: First shot at the "math command hierarchy":

math              M-m

  accent               a
    apostrophe           ~S-apostrophe
    dot                  ~S-period
                tilde                ~S-asciitilde
    umlaut               ~S-umlaut
    vec                  v

  create               c
    inline               i
    displayed            d
    align                a
    eqnarray             e
    multiline            m
    xalign               x
    xxalign              y

  delim                d
    ( )                  ~S-parenleft
    [ ]                  ~S-bracketleft
    { }                  ~S-braceleft
    langle rangle        ~S-less
    langle rangle        ~S-greater
    | |                  ~S-bar

  extern               x
    maple                m
      evalm                m
      expand               x 
      simplify             s
      factor               f
      dsolve               d
    octave              
      run                o

  font                 f
    textrm               r
    textit               i
    ...                 ...

  greek                g
    alpha                a
    ...                 ...
    omega                w

  insert               i
    frac                 f
    int                  i
    sqrt                 q
    sum                  s

  mutate               t
    inline               i
    displayed            d
    align                a
    eqnarray             e
    xalign               x
    xxalign              y

  macroarg             o
    1                    1
   ...                  ...
    9                    9

  symbol               y
    plusminus            ~S-plus
    neq                  ~S-equal
    ...

  table                
    valign             a
      top                t 
      bottom             b 
      center             m 
    halign             
      left               l 
      right              r 
      center             c 
    row                w
      delete             d
      insert             i
    column             c
      delete             d
      insert             i

Yes, I left aout a few thing due to lazyness.


-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to