| 1 |
/************************************************************************** |
| 2 |
* This program is Copyright (C) 1986-2002 by Jonathan Payne. JOVE is * |
| 3 |
* provided by Jonathan and Jovehacks without charge and without * |
| 4 |
* warranty. You may copy, modify, and/or distribute JOVE, provided that * |
| 5 |
* this notice is included in all the source files and documentation. * |
| 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 F_COMPLETION |
| 114 |
"display-filenames-with-bad-extensions", |
| 115 |
#endif |
| 116 |
"files-should-end-with-newline", |
| 117 |
#ifdef HIGHLIGHTING |
| 118 |
"highlight-mark", |
| 119 |
#endif |
| 120 |
#ifdef MAC |
| 121 |
"macify", |
| 122 |
#endif |
| 123 |
#ifdef BACKUPFILES |
| 124 |
"make-backup-files", |
| 125 |
#endif |
| 126 |
"match-regular-expressions", |
| 127 |
"meta-key" |
| 128 |
"mode-line-should-standout", |
| 129 |
"one-key-confirmation", |
| 130 |
"scroll-all-lines", |
| 131 |
#ifdef HIGHLIGHTING |
| 132 |
"scroll-bar", |
| 133 |
#endif |
| 134 |
"send-typeout-to-buffer", |
| 135 |
"space-sentence-2", |
| 136 |
"visible-bell", |
| 137 |
"wrap-search", |
| 138 |
#ifdef SUBSHELL |
| 139 |
"write-files-on-make", |
| 140 |
#endif |
| 141 |
&DECM, |
| 142 |
"c-argument-indentation", |
| 143 |
"c-indentation-increment", |
| 144 |
"error-window-size", |
| 145 |
"left-margin", |
| 146 |
"mark-threshold", |
| 147 |
"paren-flash-delay", |
| 148 |
"right-margin", |
| 149 |
"scroll-step", |
| 150 |
#ifdef RECOVER |
| 151 |
"sync-frequency", |
| 152 |
#endif |
| 153 |
"tab-width", |
| 154 |
&FILM, |
| 155 |
"tag-file", |
| 156 |
"tmp-file-pathname", |
| 157 |
&STRM, |
| 158 |
#ifdef F_COMPLETION |
| 159 |
"bad-filename-extensions", |
| 160 |
#endif |
| 161 |
"comment-format", |
| 162 |
"error-format-string", |
| 163 |
"mode-line", |
| 164 |
"paragraph-delimiter-pattern", |
| 165 |
&CHAR, |
| 166 |
"abort-char", |
| 167 |
0 |
| 168 |
} |
| 169 |
}; |