home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / memacs400_src.lzh / MEMACS400 / H / efunc.h < prev    next >
Text File  |  1996-04-26  |  7KB  |  256 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-abbrev",            add_abbrev},
  20.     {"add-global-mode",        setgmode},
  21. #if UNIX || (VMS && SMG) || MPE
  22.     {"add-keymap",            addkeymap},
  23. #endif
  24.     {"add-mode",            setmod},
  25.     {"append-file",            fileapp},
  26.     {"apropos",            apro},
  27. #if    CTAGS
  28.     {"back-from-tag-word",        backtagword},
  29. #endif
  30.     {"backward-character",        backchar},
  31.     {"begin-macro",            ctlxlp},
  32.     {"beginning-of-file",        gotobob},
  33.     {"beginning-of-line",        gotobol},
  34.     {"bind-to-key",            bindtokey},
  35. #if    WINDOW_MSWIN
  36.     {"bind-to-menu",        bindtomenu},
  37. #endif
  38.     {"buffer-position",        showcpos},
  39. #if    WINDOW_MSWIN
  40.     {"cascade-screens",        cascadescreens},
  41. #endif
  42.     {"case-region-lower",        lowerregion},
  43.     {"case-region-upper",        upperregion},
  44.     {"case-word-capitalize",    capword},
  45.     {"case-word-lower",        lowerword},
  46.     {"case-word-upper",        upperword},
  47.     {"change-file-name",        filename},
  48.     {"change-screen-column",    new_col_org},
  49.     {"change-screen-row",        new_row_org},
  50.     {"change-screen-size",        newsize},
  51.     {"change-screen-width",        newwidth},
  52.     {"clear-and-redraw",        refresh},
  53.     {"clear-message-line",        clrmes},
  54. #if    WINDOW_MSWIN
  55.     {"clip-region",         clipregion},
  56. #endif
  57.     {"copy-region",            copyregion},
  58.     {"count-words",            wordcount},
  59.     {"ctlx-prefix",            cex},
  60. #if    WINDOW_MSWIN
  61.     {"cut-region",            cutregion},
  62. #endif
  63.     {"cycle-ring",            cycle_ring},
  64.     {"cycle-screens",        cycle_screens},
  65.     {"define-abbrevs",        def_abbrevs},
  66.     {"delete-abbrev",        del_abbrev},
  67.     {"delete-blank-lines",        deblank},
  68.     {"delete-buffer",        killbuffer},
  69.     {"delete-global-mode",        delgmode},
  70.     {"delete-kill-ring",        clear_ring},
  71.     {"delete-mode",            delmode},
  72.     {"delete-next-character",    forwdel},
  73.     {"delete-next-word",        delfword},
  74.     {"delete-other-windows",    onlywind},
  75.     {"delete-previous-character",    backdel},
  76.     {"delete-previous-word",    delbword},
  77.     {"delete-screen",        delete_screen},
  78.     {"delete-undos",        undo_delete},
  79.     {"delete-window",        delwind},
  80.     {"describe-abbrevs",        desc_abbrevs},
  81.     {"describe-bindings",        desbind},
  82.     {"describe-functions",        desfunc},
  83.     {"describe-key",        deskey},
  84.     {"describe-variables",        desvars},
  85.     {"detab-region",        detab},
  86.     {"display",            dispvar},
  87.     {"end-macro",            ctlxrp},
  88.     {"end-of-file",            gotoeob},
  89.     {"end-of-line",            gotoeol},
  90.     {"end-of-word",            endword},
  91.     {"entab-region",        entab},
  92.     {"exchange-point-and-mark",    swapmark},
  93.     {"execute-buffer",        execbuf},
  94.     {"execute-command-line",    execcmd},
  95.     {"execute-file",        execfile},
  96.     {"execute-macro",        ctlxe},
  97.     {"execute-named-command",    namedcmd},
  98.     {"execute-procedure",        execproc},
  99.     {"execute-program",        execprg},
  100.     {"exit-emacs",            quit},
  101.     {"fill-paragraph",        fillpara},
  102.     {"filter-buffer",        filter},
  103.     {"find-file",            filefind},
  104.     {"find-screen",            find_screen},
  105.     {"forward-character",        forwchar},
  106.     {"global",            global_var},
  107.     {"goto-line",            gotoline},
  108.     {"goto-mark",            gotomark},
  109.     {"goto-matching-fence",        getfence},
  110.     {"grow-window",            enlargewind},
  111.     {"handle-tab",            tab},
  112.     {"help",            help},
  113. #if    WINDOW_MSWIN
  114.     {"help-engine",         helpengine},
  115. #endif
  116.     {"hunt-backward",        backhunt},
  117.     {"hunt-forward",        forwhunt},
  118.     {"i-shell",            spawncli},
  119. #if    ISRCH
  120.     {"incremental-search",        fisearch},
  121. #endif
  122.     {"indent-region",        indent_region},
  123.     {"insert-abbrevs",        ins_abbrevs},
  124. #if    WINDOW_MSWIN
  125.     {"insert-clip",         insertclip},
  126. #endif
  127.     {"insert-file",            insfile},
  128.     {"insert-space",        insspace},
  129.     {"insert-string",        istring},
  130.     {"kill-abbrevs",        kill_abbrevs},
  131.     {"kill-paragraph",        killpara},
  132.     {"kill-region",            killregion},
  133.     {"kill-to-end-of-line",        killtext},
  134. #if    FLABEL
  135.     {"label-function-key",        fnclabel},
  136. #endif
  137.     {"list-buffers",        listbuffers},
  138. #if UNIX || (VMS && SMG) || MPE
  139.     {"list-keymappings",        listkeymaps},
  140. #endif
  141.     {"list-screens",        list_screens},
  142.     {"list-undos",            undo_list},
  143.     {"local",            local_var},
  144.     {"macro-to-key",        macrotokey},
  145. #if    WINDOW_MSWIN
  146.     {"macro-to-menu",        macrotomenu},
  147.     {"maximize-screen",        maximizescreen},
  148. #endif
  149.     {"meta-prefix",         meta},
  150. #if    WINDOW_MSWIN
  151.     {"minimize-screen",        minimizescreen},
  152. #endif
  153. #if    MOUSE
  154.     {"mouse-move",            mmove},
  155.     {"mouse-move-down",        movemd},
  156.     {"mouse-move-up",        movemu},
  157.     {"mouse-region-down",        mregdown},
  158.     {"mouse-region-up",        mregup},
  159.     {"mouse-resize-screen",        resizm},
  160. #endif
  161.     {"move-window-down",        mvdnwind},
  162.     {"move-window-up",        mvupwind},
  163.     {"name-buffer",            namebuffer},
  164.     {"narrow-to-region",        narrow},
  165.     {"newline",            newline},
  166.     {"newline-and-indent",        indent},
  167.     {"next-buffer",            nextbuffer},
  168.     {"next-line",            forwline},
  169.     {"next-page",            forwpage},
  170.     {"next-paragraph",        gotoeop},
  171.     {"next-window",            nextwind},
  172.     {"next-word",            forwword},
  173.     {"nop",                nullproc},
  174.     {"open-line",            openline},
  175.     {"overwrite-string",        ovstring},
  176.     {"pipe-command",        pipecmd},
  177.     {"pop-buffer",            popbuffer},
  178.     {"previous-line",        backline},
  179.     {"previous-page",        backpage},
  180.     {"previous-paragraph",        gotobop},
  181.     {"previous-window",        prevwind},
  182.     {"previous-word",        backword},
  183.     {"print",            writemsg},
  184.     {"query-replace-string",    qreplace},
  185.     {"quick-exit",            quickexit},
  186.     {"quote-character",        quote},
  187. #if    CTAGS
  188.     {"re-tag-word",            retagword},
  189. #endif
  190.     {"read-file",            fileread},
  191.     {"redraw-display",        reposition},
  192.     {"remove-mark",            remmark},
  193.     {"rename-screen",        rename_screen},
  194.     {"replace-string",        sreplace},
  195.     {"resize-window",        resize},
  196. #if    WINDOW_MSWIN
  197.     {"restore-screen",        restorescreen},
  198. #endif
  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-mark",            setmark},
  216.     {"shell-command",        spawn},
  217.     {"show-files",            showfiles},
  218.     {"shrink-window",        shrinkwind},
  219.     {"source",            execfile},
  220.     {"split-current-window",    splitwind},
  221.     {"store-procedure",        storeproc},
  222. #if    BSD || FREEBSD || VMS || SUN || HPUX8 || HPUX9 || AVIION
  223. #ifndef OSK
  224.     {"suspend-emacs",        bktoshell},
  225. #endif
  226. #endif
  227. #if    CTAGS
  228.     {"tag-word",            tagword},
  229. #endif
  230. #if    WINDOW_MSWIN
  231.     {"tile-screens",        tilescreens},
  232. #endif
  233.     {"transpose-characters",    twiddle},
  234.     {"trim-region",            trim},
  235.     {"unbind-key",            unbindkey},
  236. #if    WINDOW_MSWIN
  237.     {"unbind-menu",         unbindmenu},
  238. #endif
  239.     {"undent-region",        undent_region},
  240.     {"undo",            undo},
  241.     {"universal-argument",        unarg},
  242.     {"unmark-buffer",        unmark},
  243.     {"update-screen",        upscreen},
  244.     {"view-file",            viewfile},
  245.     {"widen-from-region",        widen},
  246.     {"wrap-word",            wrapword},
  247.     {"write-file",            filewrite},
  248.     {"write-message",        writemsg},
  249.     {"yank",            yank},
  250.     {"yank-pop",            yank_pop},
  251.  
  252.     {"",            NULL}
  253. };
  254.  
  255. #define    NFUNCS    (sizeof(names)/sizeof(NBIND)) - 1
  256.