home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / menumaps.txt < prev    next >
Text File  |  1996-09-28  |  3KB  |  173 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
  3.  * provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                                           *
  6.  ************************************************************************/
  7.  
  8. /* menumaps.txt K. Mitchum 1/88. The same warnings apply as in keymaps.txt.
  9.    You MUST use a version of setmaps compiled with MAC defined for this
  10.    file to be converted correctly. */
  11.  
  12.  
  13. #include "jove.h"
  14. #include "mac.h"
  15. #include "commands.h"
  16. #include "vars.h"
  17.  
  18. #MENU
  19. data_obj MDIV = { STRING, "(-" };
  20. data_obj MAJM = { STRING, "(Major Modes:" };
  21. data_obj MINM = { STRING, "(Minor Modes:" };
  22. data_obj BOOL = { STRING, "(Boolean:" };
  23. data_obj DECM = { STRING, "(Decimal:" };
  24. data_obj STRM = { STRING, "(String:" };
  25. data_obj FILM = { STRING, "(File:" };
  26. data_obj CHAR = { STRING, "(Character:" };
  27. #define MENU_DIV &MDIV
  28.  
  29. struct menu Menus[NMENUS] = {
  30. "File",101,0, {
  31.     "visit-file",
  32.     "find-file",
  33.     "insert-file",
  34.     MENU_DIV,
  35.     "save-file",
  36.     "write-file",
  37.     MENU_DIV,
  38.     "write-modified-files",
  39.     "write-region",
  40.     MENU_DIV,
  41.     "write-macros-to-file",
  42.     MENU_DIV,
  43.     "exit-jove",
  44.     0
  45. },
  46.  
  47. "Buffer",103,0, {
  48.     &MAJM,
  49.     "c-mode",
  50.     "fundamental-mode",
  51.     "lisp-mode",
  52.     "text-mode",
  53.     &MINM,
  54.     "auto-fill-mode",
  55.     "auto-indent-mode",
  56.     "over-write-mode",
  57.     "read-only-mode",
  58.     "show-match-mode",
  59.     "word-abbrev-mode",
  60.     MENU_DIV,
  61.     0
  62. },
  63.  
  64. "Window",104,0, {
  65.     "grow-window",
  66.     "shrink-window",
  67.     MENU_DIV,
  68.     "split-current-window",
  69.     "delete-other-windows",
  70.     "window-find",
  71.     MENU_DIV,
  72.     "number-lines-in-window",
  73.     0
  74. },
  75.  
  76. "Point",105,0, {
  77.     "set-mark",
  78.     "exchange-point-and-mark",
  79.     MENU_DIV,
  80.     "search-forward",
  81.     "search-reverse",
  82.     "i-search-forward",
  83.     "i-search-reverse",
  84.     "query-replace-string",
  85.     "replace-string",
  86.     MENU_DIV,
  87.     "find-tag",
  88.     0
  89. },
  90.  
  91. "Command",106,0, {
  92.     "begin-kbd-macro",
  93.     "end-kbd-macro",
  94.     "name-kbd-macro",
  95.     "execute-kbd-macro",
  96.     "execute-macro",
  97.     MENU_DIV,
  98.     "bind-macro-to-key",
  99.     "bind-to-key",
  100.     "describe-key",
  101.     MENU_DIV,
  102.     "execute-named-command",
  103.     0
  104. },
  105.  
  106. "Set",107,0, {
  107.     &BOOL,
  108.     "allow-bad-characters-in-filenames",
  109. #ifdef ABBREV
  110.     "auto-case-abbrev",
  111. #endif
  112.     "case-ignore-search",
  113. #ifdef BIFF
  114.     "disable-biff",
  115. #endif
  116. #ifdef F_COMPLETION
  117.     "display-filenames-with-bad-extensions",
  118. #endif
  119.     "files-should-end-with-newline",
  120. #ifdef HIGHLIGHTING
  121.     "highlight-mark",
  122. #endif
  123. #ifdef MAC
  124.     "macify",
  125. #endif
  126. #ifdef BACKUPFILES
  127.     "make-backup-files",
  128. #endif
  129.     "match-regular-expressions",
  130.     "meta-key"
  131.     "mode-line-should-standout",
  132.     "one-key-confirmation",
  133.     "scroll-all-lines",
  134. #ifdef HIGHLIGHTING
  135.     "scroll-bar",
  136. #endif
  137.     "send-typeout-to-buffer",
  138.     "space-sentence-2",
  139.     "visible-bell",
  140.     "wrap-search",
  141. #ifdef SUBSHELL
  142.     "write-files-on-make",
  143. #endif
  144.     &DECM,
  145.     "c-argument-indentation",
  146.     "c-indentation-increment",
  147.     "error-window-size",
  148.     "left-margin",
  149.     "mark-threshold",
  150.     "paren-flash-delay",
  151.     "right-margin",
  152.     "scroll-step",
  153. #ifdef RECOVER
  154.     "sync-frequency",
  155. #endif
  156.     "tab-width",
  157.     &FILM,
  158.     "tag-file",
  159.     "tmp-file-pathname",
  160.     &STRM,
  161. #ifdef F_COMPLETION
  162.     "bad-filename-extensions",
  163. #endif
  164.     "comment-format",
  165.     "error-format-string",
  166.     "mode-line",
  167.     "paragraph-delimiter-pattern",
  168.     &CHAR,
  169.     "abort-char",
  170.     0
  171. }
  172. };
  173.