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