home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / UE311H.ZIP / EFUNC.H < prev    next >
Text File  |  1991-10-09  |  7KB  |  249 lines

  1. /*    EFUNC.H:    MicroEMACS function declarations and names
  2.  
  3.         This file list all the C code functions used by MicroEMACS
  4.     and the names to use to bind keys to them. To add functions,
  5.     declare it here in both the extern function list and the name
  6.     binding table.
  7.  
  8. */
  9.  
  10. /*    Name to function binding table
  11.  
  12.         This table gives the names of all the bindable functions
  13.     end their C function address. These are used for the bind-to-key
  14.     function.
  15. */
  16.  
  17. NOSHARE NBIND    names[] = {
  18.     {"abort-command",        ctrlg},
  19.     {"add-global-mode",        setgmode},
  20.     {"add-mode",            setmod},
  21.     {"append-file",            fileapp},
  22.     {"apropos",            apro},
  23. #if    CTAGS
  24.     {"back-from-tag-word",        backtagword},
  25. #endif
  26.     {"backward-character",        backchar},
  27.     {"begin-macro",            ctlxlp},
  28.     {"beginning-of-file",        gotobob},
  29.     {"beginning-of-line",        gotobol},
  30.     {"bind-to-key",            bindtokey},
  31.     {"buffer-position",        showcpos},
  32.     {"case-region-lower",        lowerregion},
  33.     {"case-region-upper",        upperregion},
  34.     {"case-word-capitalize",    capword},
  35.     {"case-word-lower",        lowerword},
  36.     {"case-word-upper",        upperword},
  37.     {"change-file-name",        filename},
  38.     {"change-screen-column",    new_col_org},
  39.     {"change-screen-row",        new_row_org},
  40.     {"change-screen-size",        newsize},
  41.     {"change-screen-width",        newwidth},
  42.     {"clear-and-redraw",        refresh},
  43.     {"clear-message-line",        clrmes},
  44.     {"copy-region",            copyregion},
  45.     {"count-words",            wordcount},
  46.     {"ctlx-prefix",            cex},
  47.     {"cycle-screens",        cycle_screens},
  48.     {"delete-blank-lines",        deblank},
  49.     {"delete-buffer",        killbuffer},
  50.     {"delete-global-mode",        delgmode},
  51.     {"delete-mode",            delmode},
  52.     {"delete-next-character",    forwdel},
  53.     {"delete-next-word",        delfword},
  54.     {"delete-other-windows",    onlywind},
  55.     {"delete-previous-character",    backdel},
  56.     {"delete-previous-word",    delbword},
  57.     {"delete-screen",        delete_screen},
  58.     {"delete-window",        delwind},
  59.     {"describe-bindings",        desbind},
  60. #if    DEBUGM
  61.     {"describe-functions",        desfunc},
  62. #endif
  63.     {"describe-key",        deskey},
  64. #if    DEBUGM
  65.     {"describe-variables",        desvars},
  66. #endif
  67.     {"detab-line",            detab},
  68.     {"detab-region",        detab},
  69. #if    DEBUGM
  70.     {"display",            dispvar},
  71. #endif
  72.     {"end-macro",            ctlxrp},
  73.     {"end-of-file",            gotoeob},
  74.     {"end-of-line",            gotoeol},
  75.     {"end-of-word",            endword},
  76.     {"entab-line",            entab},
  77.     {"entab-region",        entab},
  78.     {"exchange-point-and-mark",    swapmark},
  79.     {"execute-buffer",        execbuf},
  80.     {"execute-command-line",    execcmd},
  81.     {"execute-file",        execfile},
  82.     {"execute-macro",        ctlxe},
  83.     {"execute-macro-1",        cbuf1},
  84.     {"execute-macro-10",        cbuf10},
  85.     {"execute-macro-11",        cbuf11},
  86.     {"execute-macro-12",        cbuf12},
  87.     {"execute-macro-13",        cbuf13},
  88.     {"execute-macro-14",        cbuf14},
  89.     {"execute-macro-15",        cbuf15},
  90.     {"execute-macro-16",        cbuf16},
  91.     {"execute-macro-17",        cbuf17},
  92.     {"execute-macro-18",        cbuf18},
  93.     {"execute-macro-19",        cbuf19},
  94.     {"execute-macro-2",        cbuf2},
  95.     {"execute-macro-20",        cbuf20},
  96.     {"execute-macro-21",        cbuf21},
  97.     {"execute-macro-22",        cbuf22},
  98.     {"execute-macro-23",        cbuf23},
  99.     {"execute-macro-24",        cbuf24},
  100.     {"execute-macro-25",        cbuf25},
  101.     {"execute-macro-26",        cbuf26},
  102.     {"execute-macro-27",        cbuf27},
  103.     {"execute-macro-28",        cbuf28},
  104.     {"execute-macro-29",        cbuf29},
  105.     {"execute-macro-3",        cbuf3},
  106.     {"execute-macro-30",        cbuf30},
  107.     {"execute-macro-31",        cbuf31},
  108.     {"execute-macro-32",        cbuf32},
  109.     {"execute-macro-33",        cbuf33},
  110.     {"execute-macro-34",        cbuf34},
  111.     {"execute-macro-35",        cbuf35},
  112.     {"execute-macro-36",        cbuf36},
  113.     {"execute-macro-37",        cbuf37},
  114.     {"execute-macro-38",        cbuf38},
  115.     {"execute-macro-39",        cbuf39},
  116.     {"execute-macro-4",        cbuf4},
  117.     {"execute-macro-40",        cbuf40},
  118.     {"execute-macro-5",        cbuf5},
  119.     {"execute-macro-6",        cbuf6},
  120.     {"execute-macro-7",        cbuf7},
  121.     {"execute-macro-8",        cbuf8},
  122.     {"execute-macro-9",        cbuf9},
  123.     {"execute-named-command",    namedcmd},
  124.     {"execute-procedure",        execproc},
  125.     {"execute-program",        execprg},
  126.     {"exit-emacs",            quit},
  127.     {"fill-paragraph",        fillpara},
  128.     {"filter-buffer",        filter},
  129.     {"find-file",            filefind},
  130.     {"find-screen",            find_screen},
  131.     {"forward-character",        forwchar},
  132.     {"goto-line",            gotoline},
  133.     {"goto-mark",            gotomark},
  134.     {"goto-matching-fence",        getfence},
  135.     {"grow-window",            enlargewind},
  136.     {"handle-tab",            tab},
  137.     {"help",            help},
  138.     {"hunt-backward",        backhunt},
  139.     {"hunt-forward",        forwhunt},
  140.     {"i-shell",            spawncli},
  141. #if    ISRCH
  142.     {"incremental-search",        fisearch},
  143. #endif
  144.     {"indent-region",        indent_region},
  145.     {"insert-file",            insfile},
  146.     {"insert-space",        insspace},
  147.     {"insert-string",        istring},
  148.     {"kill-paragraph",        killpara},
  149.     {"kill-region",            killregion},
  150.     {"kill-to-end-of-line",        killtext},
  151. #if    FLABEL
  152.     {"label-function-key",        fnclabel},
  153. #endif
  154.     {"list-buffers",        listbuffers},
  155.     {"list-screens",        list_screens},
  156.     {"macro-to-key",        macrotokey},
  157.     {"meta-prefix",            meta},
  158. #if    MOUSE
  159.     {"mouse-move-down",        movemd},
  160.     {"mouse-move-up",        movemu},
  161.     {"mouse-region-down",        mregdown},
  162.     {"mouse-region-up",        mregup},
  163.     {"mouse-resize-screen",        resizm},
  164. #endif
  165.     {"move-window-down",        mvdnwind},
  166.     {"move-window-up",        mvupwind},
  167.     {"name-buffer",            namebuffer},
  168.     {"narrow-to-region",        narrow},
  169.     {"newline",            newline},
  170.     {"newline-and-indent",        indent},
  171.     {"next-buffer",            nextbuffer},
  172.     {"next-line",            forwline},
  173.     {"next-page",            forwpage},
  174.     {"next-paragraph",        gotoeop},
  175.     {"next-window",            nextwind},
  176.     {"next-word",            forwword},
  177.     {"nop",                nullproc},
  178.     {"open-line",            openline},
  179.     {"overwrite-string",        ovstring},
  180.     {"pipe-command",        pipecmd},
  181.     {"pop-buffer",            popbuffer},
  182.     {"previous-line",        backline},
  183.     {"previous-page",        backpage},
  184.     {"previous-paragraph",        gotobop},
  185.     {"previous-window",        prevwind},
  186.     {"previous-word",        backword},
  187.     {"print",            writemsg},
  188.     {"query-replace-string",    qreplace},
  189.     {"quick-exit",            quickexit},
  190.     {"quote-character",        quote},
  191. #if    CTAGS
  192.     {"re-tag-word",            retagword},
  193. #endif
  194.     {"read-file",            fileread},
  195.     {"redraw-display",        reposition},
  196.     {"remove-mark",            remmark},
  197.     {"replace-string",        sreplace},
  198.     {"resize-window",        resize},
  199.     {"restore-window",        restwnd},
  200. #if    ISRCH
  201.     {"reverse-incremental-search",    risearch},
  202. #endif
  203.     {"run",                execproc},
  204.     {"save-file",            filesave},
  205.     {"save-window",            savewnd},
  206.     {"scroll-next-down",        nextdown},
  207.     {"scroll-next-up",        nextup},
  208.     {"search-forward",        forwsearch},
  209.     {"search-reverse",        backsearch},
  210.     {"select-buffer",        usebuffer},
  211.     {"set",                setvar},
  212. #if    CRYPT
  213.     {"set-encryption-key",        setekey},
  214. #endif
  215.     {"set-fill-column",        setfillcol},
  216.     {"set-mark",            setmark},
  217.     {"shell-command",        spawn},
  218.     {"show-files",            showfiles},
  219.     {"shrink-window",        shrinkwind},
  220.     {"source",            execfile},
  221.     {"split-current-window",    splitwind},
  222.     {"store-macro",            storemac},
  223.     {"store-procedure",        storeproc},
  224. #if    BSD || VMS || SUN || HPUX || AVIION
  225.     {"suspend-emacs",        bktoshell},
  226. #endif
  227. #if    CTAGS
  228.     {"tag-word",            tagword},
  229. #endif
  230.     {"transpose-characters",    twiddle},
  231.     {"trim-line",            trim},
  232.     {"trim-region",            trim},
  233.     {"unbind-key",            unbindkey},
  234.     {"undent-region",        undent_region},
  235.     {"universal-argument",        unarg},
  236.     {"unmark-buffer",        unmark},
  237.     {"update-screen",        upscreen},
  238.     {"view-file",            viewfile},
  239.     {"widen-from-region",        widen},
  240.     {"wrap-word",            wrapword},
  241.     {"write-file",            filewrite},
  242.     {"write-message",        writemsg},
  243.     {"yank",            yank},
  244.  
  245.     {"",            NULL}
  246. };
  247.  
  248. #define    NFUNCS    (sizeof(names)/sizeof(NBIND)) - 1
  249.