Mercurial > emacs
comparison doc/misc/ede.texi @ 108317:53fa33713b24
* ede.texi (EDE Mode): Refer to init file rather than `.emacs'. Note
that Development menu is always available.
(Creating a project): Fix terminology.
(Add/Remove files): Fix typo.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 19 Apr 2010 10:38:12 -0400 |
parents | f412ff4a9f03 |
children | f1266b2f017e |
comparison
equal
deleted
inserted
replaced
107977:17966fd41dcf | 108317:53fa33713b24 |
---|---|
127 information. | 127 information. |
128 | 128 |
129 @node EDE Mode, Creating a project, EDE Project Concepts, top | 129 @node EDE Mode, Creating a project, EDE Project Concepts, top |
130 @chapter @ede{} Mode | 130 @chapter @ede{} Mode |
131 | 131 |
132 @ede{} is implemented as a minor-mode, which augments other modes such | 132 @ede{} is implemented as a minor mode, which augments other modes such |
133 as C mode, and Texinfo mode. You can enable @ede{} for all buffers by | 133 as C mode, and Texinfo mode. You can enable @ede{} for all buffers by |
134 running the command @code{global-ede-mode}, or by putting this in your | 134 running the command @code{global-ede-mode}, or by putting this in your |
135 @file{~/.emacs} file: | 135 init file: |
136 | 136 |
137 @example | 137 @example |
138 (global-ede-mode t) | 138 (global-ede-mode t) |
139 @end example | 139 @end example |
140 | 140 |
141 When @ede{} is active for a given buffer, the menu item | 141 Activating @ede{} adds a menu named @samp{Development} to the menu |
142 ``Development'' appears. This menu provides several menu items for | 142 bar. This menu provides several menu items for high-level @ede{} |
143 high-level @ede{} commands. These menu items, and their corresponding | 143 commands. These menu items, and their corresponding keybindings, are |
144 keybindings, are independent of the type of project you are actually | 144 independent of the type of project you are actually working on. |
145 working on. | |
146 | 145 |
147 @node Creating a project, Modifying your project, EDE Mode, top | 146 @node Creating a project, Modifying your project, EDE Mode, top |
148 @chapter Creating a project | 147 @chapter Creating a project |
149 | 148 |
150 To create a new project, first visit a file that you want to include | 149 To create a new project, first visit a file that you want to include |
151 in that project. If you have a hierarchy of directories, choose a | 150 in that project. If you have a hierarchy of directories, first visit |
152 file in the topmost directory first. From this buffer, type @kbd{M-x | 151 a file in the topmost directory. From this buffer, type @kbd{M-x |
153 ede-new}, or click on the @samp{Create Project} item in the | 152 ede-new}, or click on the @samp{Create Project} item in the |
154 @samp{Development} menu. | 153 @samp{Development} menu. |
155 | 154 |
156 The @command{ede-new} command prompts for the type of project you | 155 The @command{ede-new} command prompts for the type of project you |
157 would like to create. Each project type has its own benefits or | 156 would like to create. Each project type has its own benefits or |
218 @end menu | 217 @end menu |
219 | 218 |
220 @node Add/Remove target, Add/Remove files, Modifying your project, Modifying your project | 219 @node Add/Remove target, Add/Remove files, Modifying your project, Modifying your project |
221 @section Add/Remove target | 220 @section Add/Remove target |
222 | 221 |
223 To create a new target, type @kbd{C-c . t} (@code{M-x ede-new-target}) | 222 To create a new target, type @kbd{C-c . t} (@code{ede-new-target}) or |
224 or use the @samp{Add Target} menu item in the @samp{Project Options} | 223 use the @samp{Add Target} menu item in the @samp{Project Options} |
225 submenu. This prompts for a target name, and adds the current buffer | 224 submenu. This prompts for a target name, and adds the current buffer |
226 to that target. | 225 to that target. |
227 | 226 |
228 The @command{ede-new-target} command also prompts for a @dfn{target | 227 The @command{ede-new-target} command also prompts for a @dfn{target |
229 type}. Each target type has its own build process and class of files | 228 type}. Each target type has its own build process and class of files |
235 | 234 |
236 @node Add/Remove files, Customize Features, Add/Remove target, Modifying your project | 235 @node Add/Remove files, Customize Features, Add/Remove target, Modifying your project |
237 @section Add/Remove files | 236 @section Add/Remove files |
238 | 237 |
239 To add the current file to an existing target, type @kbd{C-c . a} | 238 To add the current file to an existing target, type @kbd{C-c . a} |
240 (@code{ede-add-file}), or or use the @samp{Add File} menu item in the | 239 (@code{ede-add-file}), or use the @samp{Add File} menu item in the |
241 @samp{Target Options} submenu. | 240 @samp{Target Options} submenu. |
242 | 241 |
243 You can add a file to more than one target; this is OK. | 242 You can add a file to more than one target; this is OK. |
244 | 243 |
245 To remove the current file from a target, type @kbd{C-c . d} | 244 To remove the current file from a target, type @kbd{C-c . d} |