]> code.delx.au - gnu-emacs/blob - lisp/cedet/ChangeLog
944a9e1a02a2313c2be4e9778126d7131d84b3d7
[gnu-emacs] / lisp / cedet / ChangeLog
1 2013-04-27 David Engster <deng@randomsample.de>
2
3 * semantic/complete.el
4 (semantic-collector-calculate-completions-raw): If
5 `completionslist' is not set, refresh the cache if necessary and
6 use it for completions. This fixes the
7 `semantic-collector-buffer-deep' collector (bug#14265).
8
9 2013-03-26 Leo Liu <sdl.web@gmail.com>
10
11 * semantic/senator.el (senator-copy-tag-to-register): Move
12 register handling logic from register.el. (Bug#14052)
13
14 2013-03-21 Eric Ludlam <zappo@gnu.org>
15
16 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
17 `senator-tag-ring' is bound.
18 (semantic-parse-region-default): Stop reversing the output of
19 parse-whole-stream.
20 (semantic-repeat-parse-whole-stream): Append returned tags
21 differently, so they come out in the right order.
22
23 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
24 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
25 exclude tags belonging to above filtered classes.
26
27 * semantic/find.el (semantic-filter-tags-by-class): New function.
28
29 * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
30 short-circuit in case tag1 and 2 are identical.
31
32 * semantic/analyze/fcn.el
33 (semantic-analyze-dereference-metatype-stack): Use
34 `semantic-tag-similar-p' instead of 'eq' when comparing two tags
35 during metatype evaluation in case they are the same, but not the
36 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
37
38 * semantic/db-find.el (semanticdb-partial-synchronize): Fix
39 require to semantic/db-typecache to be correct.
40 (semanticdb-find-tags-external-children-of-type): Make this a
41 brutish search by default.
42
43 * semantic/sort.el
44 (semantic-tag-external-member-children-default): When calling
45 `semanticdb-find-tags-external-children-of-type', pass in the
46 input tag as the place to start searching for externally defined
47 methods.
48
49 * semantic/db-file.el (semanticdb-default-save-directory): Doc
50 fix: Add ref to default value.
51
52 * semantic/complete.el (semantic-complete-post-command-hook): When
53 detecting if cursor is outside completion area, do so if cursor
54 moves before start of overlay, or the original starting location
55 of the overlay (i.e., if user deletes past beginning of the
56 overlay region).
57 (semantic-complete-inline-tag-engine): Initialize original start
58 of `semantic-complete-inline-overlay'.
59
60 * semantic/bovine/c.el (semantic-c-describe-environment): Update
61 some section titles. Test semanticdb table before printing it.
62 (semantic-c-reset-preprocessor-symbol-map): Update
63 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
64 the files contributing to its value.
65 (semantic-c-describe-environment): If there is an EDE project but
66 no spp symbols from it, say so.
67
68 * srecode/args.el (srecode-semantic-handle-:project): New argument
69 handler. Provide variable values if not in an EDE project.
70
71 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
72 name.
73
74 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
75 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
76
77 * srecode/map.el (srecode-map-validate-file-for-mode): Force
78 semantic to load if it is not active in the template being added
79 to the map.
80
81 * srecode/srt.el: Add local variables for setting the autoload
82 file name.
83 (srecode-semantic-handle-:srt): New autoload cookie
84
85 * ede.el (ede-apply-preprocessor-map): Apply map to
86 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
87 system one. Add require for semantic.
88
89 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
90 has both a version variable and a Version: comment, always use
91 `call-next-method'.
92
93 * ede/cpp-root.el (ede-set-project-variables): Deleted.
94 `ede-preprocessor-map' does the job this function was attempting
95 to do with :spp-table.
96 (ede-preprocessor-map): Update file tests to provide better
97 messages. Do not try to get symbols from a file that is the file
98 in the current buffer.
99
100 * ede/base.el (ede-project-placeholder): Add more documentation to
101 :file slot.
102 (ede-load-cache): Use `insert-file-contents' instead of
103 `find-file-noselect' in order to avoid activating other tools.
104
105 2013-03-21 David Engster <deng@randomsample.de>
106
107 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
108 new variable 'this' if we are in an inline member function. For
109 detecting this, we check overlays at point if there is a class
110 spanning the current function. Also, the variable 'this' has to
111 be a pointer.
112
113 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
114 when querying g++ for defines returns an error.
115
116 * srecode/srt-mode.el:
117 * srecode/compile.el:
118 * semantic/elp.el:
119 * semantic/db-el.el:
120 * semantic/complete.el:
121 * ede.el:
122 * cogre.el:
123 * srecode/table.el:
124 * srecode/mode.el:
125 * srecode/insert.el:
126 * srecode/compile.el:
127 * semantic/decorate/include.el:
128 * semantic/db.el:
129 * semantic/adebug.el:
130 * ede/auto.el:
131 * srecode/dictionary.el:
132 * semantic/ede-grammar.el:
133 * semantic/db.el:
134 * semantic/db-find.el:
135 * semantic/db-file.el:
136 * semantic/complete.el:
137 * semantic/bovine/c.el:
138 * semantic/analyze.el:
139 * ede/util.el:
140 * ede/proj.el:
141 * ede/proj-elisp.el:
142 * ede/pconf.el:
143 * ede/locate.el:
144 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
145 to `eieio-object-name', `object-set-name-string' to
146 `eieio-object-set-name-string', `object-class' to
147 `eieio-object-class', `class-parent' to `eieio-class-parent',
148 `class-parents' to `eieio-class-parents', `class-children' to
149 `eieio-class-children', `object-name-string' to
150 `eieio-object-name-string', `object-class-fast' to
151 `eieio--object-class'. Also replace direct access with new
152 accessor functions.
153
154 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
155
156 * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix
157 EDE file symbol to match rename. Fix ede-cpp-root symbol to
158 include -project in name.
159
160 2013-03-21 Alex Ott <alexott@gmail.com>
161
162 * cedet-files.el (cedet-files-list-recursively): New. Recursively
163 find files whose names are matching to given regex
164
165 * ede.el (ede-current-project): Rewrite to avoid imperative style.
166
167 * ede/files.el (ede-find-file): Simplify code.
168
169 * ede/base.el (ede-normalize-file/directory): Add function to
170 normalize :file or :directory slots if they are missing.
171
172 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
173 slot.
174 (project-compile-project): Compiles project using value specified
175 in :compule-command slot or in compile-command local variable.
176 Value of slot or local variable could be string or function that
177 receives project and should return string that will be invoked as
178 command.
179 (project-compile-target): Invokes compilation of whole project
180
181 * ede/files.el (ede-find-project-root): New function to
182 find root of project that contains specific file.
183 (ede-files-find-existing): New function which checks presence of
184 given directory in the list of registered projects.
185
186 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
187
188 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
189
190 * semantic/wisent/javat-wy.el: Regenerate.
191
192 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
195 Simplify via CSE.
196
197 2012-11-16 David Engster <deng@randomsample.de>
198
199 * semantic/symref/list.el (semantic-symref-symbol):
200 Use `semantic-complete-read-tag-project' instead of
201 `semantic-complete-read-tag-buffer-deep', since the latter is not
202 working correctly.
203
204 * semantic/symref.el (semantic-symref-result-get-tags):
205 Use `find-buffer-visiting' to follow symbolic links.
206
207 * semantic/fw.el (semantic-find-file-noselect): Always set
208 `enable-local-variables' to `:safe' when loading files.
209
210 2012-11-16 Glenn Morris <rgm@gnu.org>
211
212 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
213 * semantic/util.el (semantic-describe-buffer):
214 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
215 (semantic-default-c-setup):
216 Use new names for hooks rather than obsolete aliases.
217
218 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
221 * semantic/grammar.el (semantic-grammar-mode):
222 * semantic/util-modes.el (semantic-highlight-edits-mode)
223 (semantic-show-parser-state-mode): Avoid obsolete name
224 semantic-edits-new-change-hooks (bug#12869).
225
226 2012-11-13 Glenn Morris <rgm@gnu.org>
227
228 * srecode/srt-mode.el (srecode-template-mode):
229 Don't change global values of comment-start, comment-end. (Bug#12781)
230
231 2012-10-25 David Engster <deng@randomsample.de>
232
233 * semantic/analyze.el (semantic-analyze-dereference-alias):
234 New function to dereference aliases.
235 (semantic-analyze-current-context-default): Use it.
236
237 * semantic/grammar.el (semantic-grammar-create-package):
238 * srecode/compile.el (srecode-compile-templates): Throw a proper
239 error if semantic-mode is not enabled (bug#9968).
240
241 Compiler warning fixes:
242
243 * semantic.el (semantic-elapsed-time): Make it a defsubst.
244
245 * srecode/dictionary.el (srecode-adebug-dictionary):
246 Remove require for `semantic'.
247
248 * srecode/map.el:
249 * srecode/insert.el: Declare functions from `data-debug'.
250
251 * semantic/grammar.el: Require `help-fns'. Declare functions from
252 `eldoc', which is required in function body.
253
254 * srecode/java.el:
255 * semantic/texi.el:
256 * semantic/grammar-wy.el:
257 * semantic/db-file.el:
258 * semantic/db-el.el:
259 * semantic/chart.el: Fix requires.
260
261 * ede/locate.el: Remove useless requires. Declare functions
262 instead and require in functions when needed.
263
264 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * semantic/db-file.el (semanticdb-save-database-functions):
267 * semantic/lex.el (semantic-lex-reset-functions):
268 * semantic/edit.el (semantic-change-functions)
269 (semantic-edits-new-change-functions)
270 (semantic-edits-delete-change-functions)
271 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
272
273 2012-10-14 David Engster <deng@randomsample.de>
274
275 * semantic.el (semantic-error-if-unparsed): New function.
276 Raise error if buffer was not parsed by Semantic (bug #12045).
277 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
278 only if buffer was parsed. Also, replace ':active' with ':enable'
279 where necessary.
280
281 * semantic/wisent/python.el
282 (semantic-python-get-system-include-path):
283 Use `python-shell-internal-send-string' if available to query Python
284 for system paths.
285
286 * semantic/senator.el (senator-next-tag, senator-previous-tag)
287 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
288
289 * semantic/complete.el (semantic-complete-jump-local)
290 (semantic-complete-jump, semantic-complete-jump-local-members)
291 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
292 (semantic-complete-inline-project): Fix autoload cookie.
293
294 * semantic/analyze/complete.el
295 (semantic-analyze-possible-completions): Check if buffer was
296 parsed. Only raise an error if function was called interactively,
297 otherwise silently return nil.
298
299 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
300
301 2012-10-08 David Engster <deng@randomsample.de>
302
303 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
304 `emacs-lisp-mode-hook'. This was accidentally removed during the
305 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
306
307 2012-10-07 David Engster <deng@randomsample.de>
308
309 * semantic/wisent/python.el (semantic-ctxt-current-function)
310 (semantic-ctxt-current-assignment): New overrides, simply
311 returning nil. The defaults do not work correctly and can send
312 the parser in an infinite loop (bug#12458).
313
314 * semantic/ede-grammar.el (project-compile-target): Fix grammar
315 compilation after introduction of %provide statement.
316
317 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
318 function for `f90-mode', since the parser only exists upstream.
319
320 2012-10-06 Glenn Morris <rgm@gnu.org>
321
322 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
323
324 * semantic/complete.el (semantic-displayor-tooltip-mode)
325 (semantic-displayor-tooltip-initial-max-tags)
326 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
327 * ede/linux.el (project-linux): Add missing group :version tag.
328
329 2012-10-06 Chong Yidong <cyd@gnu.org>
330
331 * semantic/bovine/grammar.el:
332 * semantic/wisent/grammar.el: Move from admin/grammars.
333 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
334
335 2012-10-02 Chong Yidong <cyd@gnu.org>
336
337 * srecode.el, ede.el: Restore Version header.
338
339 2012-10-01 Chong Yidong <cyd@gnu.org>
340
341 * semantic/bovine/c-by.el: Regenerate.
342 * semantic/bovine/make-by.el:
343 * semantic/bovine/scm-by.el:
344 * semantic/grammar-wy.el:
345 * semantic/wisent/javat-wy.el:
346 * semantic/wisent/js-wy.el:
347 * srecode/srt-wy.el:
348
349 2012-10-01 Eric Ludlam <zappo@gnu.org>
350
351 * cedet.el (cedet-version, cedet-packages): Update.
352
353 * cedet-global.el (cedet-gnu-global-version-check): Support newer
354 versions that have extra (parens) in the version string.
355
356 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
357 version number was found before calling inversion-check-version.
358
359 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
360 while inserting the thing, then clear modified bit.
361 (data-debug-map): Suppress the keymap.
362 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
363 (data-debug-contract-current-line): Inhibit read-only, then clear
364 modified bit.
365
366 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
367 to allow use in more kinds of buffers.
368 (ede-project-forms-menu): Add `Default configuration' menu item.
369 (ede-configuration-forms-menu): New, for use in above.
370 (ede-project-configurations-set): New command used from menu.
371 (ede-java-classpath): New conveninece for Java support.
372 (ede-apply-object-keymap): Combine keybindings from the project
373 and the target, not just whatever is local to the buffer.
374 (ede-apply-target-options): Call fcn to apply project local
375 variables.
376 (ede-reset-all-buffers): Remove arg.
377 (ede, ede-rescan-toplevel): Callers changed.
378 (ede-new-target): Fix bug where you couldn't call this from Dired.
379 (ede-add-file): Replace assignment of ede-object with generic call
380 to re-init the buffer.
381 (ede-find-target): If ede-object is set, run short-cut code
382 instead of `or' shortcut.
383 (ede-project-buffers): Return buffers belonging to input project,
384 not any buffer belonging to any project.
385 (ede-system-include-path, ede-apply-project-local-variables)
386 (ede-set-project-local-variable): New functions.
387 (ede-make-project-local-variable): Apply to toplevel if none
388 specified.
389 (ede-set): Make it interactive.
390
391 * ede/auto.el (ede-project-autoload): New class.
392 (ede-do-dirmatch): New method.
393 (ede-project-dirmatch-p): New function.
394 (ede-project-root-directory): Call it.
395 (ede-dir-to-projectfile): Don't call project file function if we
396 didn't match the root.
397 (ede-project-root-directory): Don't call a project's root function
398 if the tool in question isn't installed.
399 (ede-dir-to-projectfile): Don't call project file function if we
400 didn't match the root.
401
402 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
403 trailing `\' mid string, and replace with a space.
404 (autoconf-parameter-count): New function.
405 (autoconf-set-version): Use it.
406
407 * ede/base.el (ede-project): The :type of targets is now a list of
408 target base classes.
409
410 * ede/emacs.el (ede-emacs-load): Fix typo.
411
412 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
413 Protect against missing locator object.
414 (ede-get-locator-object): Protect against missing project.
415 (ede-flush-directory-hash): New command.
416 (ede-get-locator-object): Protect against missing project.
417
418 * ede/generic.el (ede-generic-config): Add configurable
419 `run-command' slot.
420 (project-compile-project, project-compile-target)
421 (project-debug-target, project-run-target): New methods.
422 (ede-generic-get-configuration): Specify the class to load.
423 (ede-generic-new-autoloader): Use ede-add-project-autoload.
424 (ede-enable-generic-projects): Rename projects so as to never
425 match the edeproject-* projects.
426
427 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
428 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
429
430 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
431 (ede-proj-flush-autoconf): Disable local variables when loading
432 the autoconf lisp compile script.
433
434 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
435 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
436 (-makefile-archive, -makefile-shared-object)
437 (ede-proj-target-makefile-info, -grammar): New autoloads.
438 (ede-proj-project): Inherit from eieio-persistent-read.
439 Specify extension and header line.
440 (ede-proj-load, ede-proj-save): Replace with impl using
441 eieio-persistent-read.
442
443 * ede/project-am.el (project-add-file): Use ede-target-parent
444 instead of loading the project file.
445
446 * semantic.el (semantic-version): Update.
447 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
448 (navigate-menu): Add menu item for Stickyfunc mode.
449
450 * semantic/analyze/debug.el
451 (semantic-analyzer-debug-insert-include-summary):
452 Before dereferencing tableinner, make sure it has a value.
453
454 * semantic/analyze/refs.el
455 (semantic-analyze-tag-references-default): When doing a lookup,
456 specify noerror.
457 (semantic--analyze-refs-full-lookup): Add optional noerror input
458 argument. Pass to to full-lookup-simple.
459 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
460 Ignore :typemodifiers during compare.
461
462 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
463 to looking back for comment chars.
464 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
465 (semantic--tag-attribute-similar-p): New.
466 (semantic-c-describe-environment): Handle list value of ede-object.
467 (semantic-lex-c-preprocessor-symbol-map-builtin):
468 Add __attribute_pure__.
469
470 * semantic/bovine/scm.el (semantic-format-tag-prototype):
471 Add parent and color argument. Pass them through.
472
473 * semantic/complete.el (semantic-collector-calculate-completions):
474 Search for more matches if new prefix is a substring of old one.
475 (semantic-complete-inline-project): New function.
476
477 * semantic/db-el.el (object-print): New method.
478
479 * semantic/db-file.el (semanticdb-load-database): Specify class.
480
481 * semantic/db-typecache.el
482 (semanticdb-abstract-table::semanticdb-typecache-find-method):
483 Allow proxied tags to be resolved during the search.
484 (semanticdb-typecache-complete-flush): Support missing or empty
485 pointmax slot, to allow for more database types.
486
487 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
488 (object-print): Allow child classes to overwrite the display of
489 the (%d tags) extra string.
490 (semanticdb-project-database): Specify :type for table.
491 (semanticdb-create-table-for-file): Specify file-truename.
492 (semanticdb-synchronize, semanticdb-partial-synchronize):
493 Restore code that refreshes references to include files.
494
495 * semantic/decorate/include.el
496 (semantic-decoration-on-fileless-includes): New face.
497 (semantic-decoration-on-fileless-include-map)
498 (semantic-decoration-on-fileless-include-menu): New variables.
499 (semantic-decoration-on-includes-highlight-default):
500 Support includes that have a table, but are not associated with a file.
501 (semantic-decoration-fileless-include-describe)
502 (semantic-decoration-fileless-include-menu): New functions.
503 (semantic-decoration-all-include-summary): Add arrows to indicate
504 the file associated with an include name.
505
506 * semantic/find.el
507 (semantic-find-tags-by-scope-protection-default): Also filter on
508 package protection of the slot.
509
510 * semantic/java.el (semantic-java-expand-tag): If some type has a
511 fully qualified name, bust it up into one package and the type
512 with a short name.
513
514 * semantic/lex.el (define-lex-block-analyzer): Protect against
515 random extra close parenthesis.
516
517 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
518 the cursor is on the matched name.
519
520 * semantic/symref/list.el (semantic-symref-results-mode-map):
521 Suppress keymap.
522
523 * semantic/tag-ls.el (semantic--tag-similar-names-p)
524 (semantic--tag-attribute-similar-p)
525 (semantic--tag-similar-types-p): New functions.
526 (semantic-tag-similar-ignorable-attributes): New variable.
527 (semantic-tag-protection-default): Add package concept to return
528 value.
529 (semantic-tag-package-protected-p): New function.
530 (semantic-tag-full-package): New overload method.
531 (semantic-tag-full-package-default): New default for above.
532 (semantic-tag-full-name-default): Look for the full package name.
533
534 * semantic/tag.el (semantic-create-tag-proxy)
535 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
536
537 * semantic/util.el (semantic-describe-buffer):
538 Add semantic-new-buffer-fcn-was-run.
539
540 * semantic/wisent/java-tags.el (semantic-get-local-variables):
541 Add `this' to the local variable context.
542 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
543
544 * semantic/wisent/python.el (semantic-python-expand-tag):
545 New function.
546
547 * srecode/compile.el (srecode-compile-templates): Add "framework"
548 special variable support.
549 (srecode-compile-template-table): Support framework specifier.
550
551 * srecode/cpp.el (srecode-semantic-handle-:c)
552 (srecode-semantic-handle-:cpp): New functions.
553 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
554 to c-mode function.
555 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
556
557 * srecode/dictionary.el (initialize-instance): Remove bogus error
558 condition.
559 (srecode-create-section-dictionary): Remove unused function.
560
561 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
562 package variable. Add current_package variable.
563
564 * srecode/map.el (srecode-map-update-map): Specify the class.
565
566 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
567
568 * srecode/semantic.el (srecode-semantic-insert-tag):
569 Support system includes.
570
571 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
572
573 * srecode/table.el (srecode-template-table): Add :framework slot.
574 (srecode-dump): Dump it.
575 (srecode-mode-table): Add new modetables slot.
576 (srecode-get-mode-table): Find the mode, but also find all parent
577 modes, and merge the tables together in :tables from :modetables.
578 (srecode-make-mode-table): Init :modetables
579 (srecode-mode-table-find): Search in modetables.
580 (srecode-mode-table-new): Merge the differet files into the
581 modetables slot.
582
583 2012-10-01 David Engster <deng@randomsample.de>
584
585 * ede.el (ede-apply-preprocessor-map): Check that
586 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
587 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
588
589 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
590 lexical-table even when the table doesn't need to be refreshed.
591
592 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
593
594 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
595 save-excursion.
596
597 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
598 of phony rule.
599
600 * ede/proj-elisp.el (ede-proj-target-elisp):
601 Remove ede-emacs-preload-compiler.
602 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
603 New methods.
604 (ede-emacs-compiler): Add 'require' macro to variables and pattern
605 rule. Add .elc object extension.
606 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
607 (ede-proj-makefile-insert-variables): Do not insert preload items.
608 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
609
610 * ede/util.el (ede-make-buffer-writable):
611 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
612 instead of calling toggle-read-only.
613
614 * semantic.el (semantic-fetch-tags): Use progress reporter only
615 when called interactively.
616 (semantic-submode-list): Add debugging modes.
617 (semantic-mode): Remove Semantic from after-change-functions.
618 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
619 set semantic-new-buffer-fcn-was-run to nil.
620
621 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
622 (semantic-analyze-tag-prototype-p-default): Remove.
623 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
624 Use semantic-tag-prototype-p.
625
626 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
627 Ensure semantic-mode is on before getting preprocessor symbols.
628 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
629 (semantic-c-convert-spp-value-to-hideif-value)
630 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
631 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
632 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
633 regular expression parsing.
634 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
635 (semantic-expand-c-tag): Check if tag is non-nil before adding it
636 to return list
637 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
638 New functions, copied from semantic-expand-c-tag.
639 (semantic-find-tags-included): New override which also searches
640 for include tags inside of namespaces.
641 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
642 (semanticdb-find-table-for-include): New override.
643
644 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
645
646 * semantic/complete.el (semantic-complete-post-command-hook):
647 Exit completion when user has deleted all characters from the prefix.
648 (semantic-displayor-focus-request): Return to previous window when
649 focussing tags.
650
651 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
652 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
653
654 * semantic/db-file.el (semanticdb-create-database):
655 Use semantic-tag-version instead of just semantic-version as the
656 initializer for the :semantic-tag-version slot.
657
658 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
659 Delegate `include' to semantic-find-tags-included, which by
660 default will just call semantic-find-tags-by-class.
661
662 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
663 when calling semantic-find-file-noselect. This avoids the "file
664 is write protected" messages when parsing system header files,
665 which might easily be mistaken to mean the currently loaded file.
666 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
667 message when running interactively.
668
669 * semantic/decorate/mode.el (semantic-decoration-mode):
670 Activate decoration of includes by default.
671
672 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
673 Remove comment delimiter at the end of the text.
674
675 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
676 Change aux- and pre-load-packages.
677 (ede-proj-makefile-dependencies): Update pattern rule so that
678 resulting parsers are also byte-compiled.
679 (semantic-ede-grammar-compiler-bovine)
680 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
681 pattern, since this is already covered by the elisp compiler.
682 (project-compile-target): Add compatibility code for Emacs 23,
683 which does not have `byte-recompile-file'.
684 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
685 to raise max-specpdl-size and max-lisp-eval-depth.
686
687 * semantic/find.el (semantic-find-tags-included):
688 Make overridable.
689
690 * semantic/fw.el (semantic-alias-obsolete)
691 (semantic-varalias-obsolete): Use byte-compile-warn.
692 (semantic-find-file-noselect): Disable font lock by calling
693 global-font-lock-mode.
694
695 * semantic/grammar.el (semantic-grammar-create-package):
696 Fix message.
697 (semantic-grammar-batch-build-one-package): When generating
698 parsers in batch-mode, ignore version control and make sure we do
699 not use cached versions.
700
701 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
702
703 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
704 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
705 (semantic-lex-spp-lex-text-string): Instead of only setting the
706 lexer, call the major mode's setup function.
707
708 * semantic/scope.el (semantic-analyze-scoped-types-default):
709 Use semantic-tag-prototype-p.
710 (semantic-analyze-scope-nested-tags-default): Make sure we don't
711 return tags we already have in scopetypes.
712
713 * semantic/symref/filter.el
714 (semantic-symref-test-count-hits-in-tag): Restore.
715
716 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
717 Use most-positive-fixnum if available.
718
719 * semantic/wisent/javascript.el (semantic-tag-protection)
720 (semantic-analyze-scope-calculate-access)
721 (semantic-ctxt-current-symbol): New overrides.
722
723 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
724 Rewrite to fix byte-compiler warning.
725
726 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
727
728 * ede/linux.el (project-linux): New group.
729 (project-linux-compile-target-command)
730 (project-linux-compile-project-command): New options.
731 (project-compile-project, project-compiler-target): New methods.
732
733 * inversion.el (inversion-decoders): New regexps for SXEmacs.
734 (inversion-package-version): More verbose error message.
735 (inversion-<): Deal with new special cases.
736 (inversion-require-emacs): New argument sxemacs-ver; use it.
737
738 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
739
740 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
741
742 2012-10-01 William Xu <william.xwl@gmail.com>
743
744 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
745 there is an error.
746 (semantic-gcc-setup): If the first attempt at calling cpp fails,
747 try straight GCC.
748
749 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
750
751 * semantic/idle.el
752 (semantic-idle-breadcrumbs--display-in-header-line):
753 Escape %-characters to avoid erroneous expansion in header line.
754 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
755
756 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
757 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
758 (semantic-python-private-p, semantic-python-instance-variable-p)
759 (semantic-python-docstring-p): New functions.
760
761 * srecode/find.el (srecode-user-template-p): New function.
762 (srecode-all-template-hash): Accept new optional argument
763 predicate; return only templates matching the predicate.
764 (srecode-read-template-name): Only retrieve templates matching
765 srecode-user-template-p.
766
767 * srecode/insert.el (srecode-insert-show-error-report)
768 (srecode-insert-report-error): New functions.
769 (srecode-insert-variable-secondname-handler)
770 (srecode-insert-method, srecode-insert-ask-default)
771 (srecode-insert-variable-secondname-handler)
772 (srecode-insert-subtemplate, srecode-insert-method-helper)
773 (srecode-insert-include-lookup): Use them.
774
775 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
776
777 * semantic/wisent/python.el
778 (semantic-python-get-system-include-path): Add Python3k support.
779
780 2012-10-01 Alexander Haeckel <_@_> (tiny change)
781
782 * srecode/getset.el (srecode-query-for-field): Return the first
783 tag found by name from all children tags.
784
785 2012-10-01 Dale Sedivec <dale@codefu.org>
786
787 * semantic/wisent/python.el (wisent-python-string-start-re)
788 (wisent-python-string-re, wisent-python-forward-string)
789 (wisent-python-forward-line,wisent-python-lex-string):
790 New variables.
791 (wisent-python-forward-balanced-expression): New function.
792
793 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
794
795 * semantic/complete.el (semantic-collector-calculate-completions):
796 Search for additional matches if new prefix is a substring of the
797 old prefix.
798 (semantic-displayor-next-action): Immediately show more
799 completions after user presses TAB the first time.
800 (semantic-displayor-tooltip-mode)
801 (semantic-displayor-tooltip-initial-max-tags)
802 (semantic-displayor-tooltip-max-tags): New defcustoms.
803 (semantic-displayor-tooltip): Use new variables as initforms.
804 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
805 `max-tags-initial'.
806 (semantic-displayor-show-request): Display completions according
807 to new modes, and make variable names clearer.
808 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
809 Use new max-tags-initial slot.
810
811 * semantic/idle.el (semantic-idle-local-symbol-highlight):
812 Make sure there actually is a tag at point.
813 (semantic-idle-completion-list-default): Report errors as messages
814 if semantic-idle-scheduler-verbose-flag is non-nil.
815
816 2012-10-01 Richard Kim <emacs18@gmail.com>
817
818 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
819 Add optional NOERROR argument.
820
821 2012-10-01 Alex Ott <alexott@gmail.com>
822
823 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
824 Fix file-checking.
825
826 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
827
828 * semantic/db-find.el (semanticdb-find-default-throttle):
829 Make buffer-local.
830 (semanticdb-strip-find-results): Check for existing :filename
831 attribute, so that file information from GNU Global is not lost.
832
833 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
834
835 * ede/base.el (ede-with-projectfile): Use backquote forms.
836
837 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
838
839 inaccessable -> inaccessible spelling fix (Bug#10052)
840 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
841 Rename from wisent-inaccessable-symbols, fixing a misspelling.
842 Caller changed.
843
844 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
845
846 * ede/project-am.el: Fix typo.
847
848 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
849
850 Rename configure.in to configure.ac (Bug#11603).
851 * ede/autoconf-edit.el (autoconf-find-query-for-program)
852 (autoconf-new-program):
853 * ede/emacs.el (ede-emacs-version):
854 * ede/proj.el (ede-proj-setup-buildenvironment):
855 * ede/project-am.el (project-am-autoconf-file-options):
856 Prefer configure.ac to configure.in.
857
858 2012-03-12 David Engster <deng@randomsample.de>
859
860 * semantic/db-find.el
861 (semanticdb-find-translate-path-brutish-default): If we don't yet
862 have a proper table for PATH, use `semanticdb-current-database'
863 instead (bug #10343).
864
865 2012-03-11 David Engster <deng@randomsample.de>
866
867 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
868 child-mode of `javascript-mode' (bug #8445).
869
870 2012-02-28 Glenn Morris <rgm@gnu.org>
871
872 * semantic/db.el (semanticdb-search-results-table):
873 Doc fix (standardize possessive apostrophe usage).
874
875 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
876
877 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
878 Add declarations.
879
880 2012-01-29 David Engster <deng@randomsample.de>
881
882 Fix require error when using srecode-insert (Bug#9967).
883 * srecode/insert.el: Require srecode/filters.
884 * srecode/filters.el: Drop two requires.
885
886 2012-01-09 Eric Ludlam <zappo@gnu.org>
887
888 * ede.el (ede-project-directories): New option.
889 (ede-directory-safe-p): Check it.
890 (ede-initialize-state-current-buffer, ede, ede-new)
891 (ede-check-project-directory, ede-rescan-toplevel)
892 (ede-load-project-file, ede-parent-project, ede-current-project):
893 (ede-target-parent): Avoid loading in a project unless it is safe,
894 since it may involve malicious code. This security flaw was
895 pointed out by Hiroshi Oota.
896
897 * ede/auto.el (ede-project-autoload): Add safe-p slot.
898 (ede-project-class-files): Projects using Project.ede are unsafe.
899 (ede-auto-load-project): New method.
900
901 * ede/simple.el (ede-project-class-files): Mark as unsafe.
902
903 2011-12-19 Sam Steingold <sds@gnu.org>
904
905 * semantic/edit.el (semantic-edits-incremental-parser): Add the
906 autoload cookie, necessary for JDEE.
907
908 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
909
910 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
911
912 2011-11-26 Chong Yidong <cyd@gnu.org>
913
914 * semantic/wisent/python-wy.el:
915 * semantic/wisent/js-wy.el:
916 * semantic/wisent/javat-wy.el:
917 * semantic/bovine/c-by.el:
918 * semantic/grammar-wy.el: Regenerate.
919
920 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
921
922 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
923
924 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
925
926 * cedet-cscope.el (cedet-cscope-version-check):
927 * cedet-global.el (cedet-global-min-version)
928 (cedet-gnu-global-version-check):
929 * cedet.el (cedet-version):
930 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
931 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
932 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
933 (ede-add-project-to-global-list, ede-map-all-subprojects):
934 * inversion.el (inversion-check-version):
935 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
936 (define-overloadable-function):
937 * pulse.el (pulse-flag, pulse):
938 * semantic.el (semantic-elapsed-time, semantic-parse-region)
939 (navigate-menu):
940 * ede/proj-comp.el (ede-compilation-program):
941 * semantic/debug.el (semantic-debug-parser-go)
942 (semantic-debug-parser-fail, semantic-debug-parser-quit)
943 (semantic-debug-parser-abort):
944 * semantic/idle.el (semantic-idle-core-handler):
945 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
946 Fix typos.
947
948 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
949
950 * semantic/lex.el (semantic-lex-tokens):
951 * semantic/tag-ls.el (semantic-tag-protected-p):
952 * srecode/mode.el (srecode-prefix-map): Fix typos.
953
954 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
955
956 * ede/project-am.el (project-compile-target-command): Fix typo.
957
958 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
959
960 * ede/auto.el (ede-project-autoload):
961 * ede/proj-comp.el (ede-makefile-rule):
962 * semantic/analyze.el (semantic-analyze-current-context):
963 * semantic/ctxt.el (semantic-get-local-variables):
964 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
965
966 2011-11-03 David Engster <dengste@eml.cc>
967
968 * srecode.el:
969 * srecode/texi.el:
970 * srecode/template.el:
971 * srecode/java.el:
972 * srecode/insert.el:
973 * srecode/document.el:
974 * srecode/dictionary.el:
975 * srecode/compile.el:
976 * semantic/wisent/java-tags.el:
977 * semantic/texi.el:
978 * semantic/sort.el:
979 * semantic/lex-spp.el:
980 * semantic/idle.el:
981 * semantic/html.el:
982 * semantic/db-typecache.el:
983 * semantic/analyze/complete.el:
984 * ede/generic.el:
985 * ede/custom.el:
986 * ede/cpp-root.el:
987 * ede/base.el: Fix filenames in comments and headers.
988
989 * semantic/db-find.el:
990 * srecode/insert.el (srecode-insert-include-lookup):
991 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
992 comments and docstrings.
993
994 * semantic/ctxt.el (semantic-end-of-context-default):
995 * semantic/find.el (semantic-find-tags-by-scope-protection):
996 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
997 docstrings.
998
999 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1000 (semanticdb-abstract-db-cache):
1001 * semantic/decorate/include.el
1002 (semantic-decoration-unknown-include-describe): Fix filenames in
1003 docstring.
1004
1005 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
1006 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1007 added to the grammar-make-script.
1008
1009 2011-10-23 Chong Yidong <cyd@gnu.org>
1010
1011 * ede.el (ede-maybe-checkout): Function deleted;
1012 vc-toggle-read-only does not do version control now.
1013
1014 * ede/util.el (ede-make-buffer-writable): Don't use
1015 vc-toggle-read-only.
1016
1017 * ede/project-am.el (project-remove-file, project-add-file)
1018 (project-new-target): Don't call ede-maybe-checkout.
1019
1020 2011-10-19 Chong Yidong <cyd@gnu.org>
1021
1022 * ede.el (ede-minor-mode,global-ede-mode):
1023 * semantic.el (semantic-mode): Doc fix to reflect new
1024 define-minor-mode calling behavior.
1025
1026 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1027
1028 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1029 Fix require.
1030
1031 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1032
1033 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1034 unconfigured projects if `global-ede-mode' is on (bug#8092).
1035
1036 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1037
1038 * semantic.el (semantic-elapsed-time): Rewrite using
1039 time-subtract and float-time.
1040
1041 2011-05-11 Glenn Morris <rgm@gnu.org>
1042
1043 * semantic/wisent/javascript.el (semantic-get-local-variables):
1044 Use define-mode-local-override rather than its obsolete alias.
1045
1046 2011-05-10 Jim Meyering <meyering@redhat.com>
1047
1048 Fix doubled-word typos.
1049 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1050 * semantic/complete.el (semantic-complete-read-tag-local-members):
1051 Likewise.
1052 * ede.el (ede-auto-add-method): then then -> then
1053
1054 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1055
1056 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1057 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1058 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1059 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1060 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1061
1062 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1063
1064 * Version 23.3 released.
1065
1066 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1069 Macroexpand before passing to byte-compile-form.
1070
1071 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1074 * semantic/symref/list.el (semantic-symref-results-mode):
1075 Use run-mode-hooks.
1076
1077 2010-11-12 Glenn Morris <rgm@gnu.org>
1078
1079 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1080
1081 2010-11-10 Glenn Morris <rgm@gnu.org>
1082
1083 * semantic/bovine/c.el: Test system-type with memq.
1084
1085 2010-11-09 Glenn Morris <rgm@gnu.org>
1086
1087 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1088 * semantic/grammar.el (semantic-grammar-epilogue):
1089 * ede/speedbar.el (ede-find-nearest-file-line):
1090 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1091 * ede/autoconf-edit.el (autoconf-delete-parameter):
1092 Use point-at-bol and point-at-eol.
1093
1094 2010-11-07 Glenn Morris <rgm@gnu.org>
1095
1096 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1097
1098 2010-11-01 Glenn Morris <rgm@gnu.org>
1099
1100 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1101
1102 * semantic/symref/cscope.el (ede-toplevel):
1103 * semantic/symref.el (ede-toplevel):
1104 * semantic/tag-file.el (ede-toplevel):
1105 * ede.el (ede-toplevel): Fix declarations.
1106
1107 2010-10-31 Glenn Morris <rgm@gnu.org>
1108
1109 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1110 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1111
1112 2010-10-31 Julien Danjou <julien@danjou.info>
1113
1114 * ede/proj-elisp.el (project-compile-target):
1115 * semantic/ede-grammar.el (project-compile-target):
1116 Use `byte-recompile-file'.
1117
1118 2010-10-31 Glenn Morris <rgm@gnu.org>
1119
1120 * mode-local.el (mode-local-augment-function-help):
1121 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1122 * semantic/symref/list.el (semantic-symref-results-dump)
1123 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1124 of toggle-read-only.
1125
1126 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1127
1128 * semantic/bovine/el.el:
1129 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1130 Fix require statements.
1131
1132 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1133
1134 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1135
1136 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1137 * semantic/imenu.el (semantic-create-imenu-index):
1138 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1139 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1140 Fix require. Suggested by David Engster.
1141
1142 * semantic/bovine/c-by.el: Regenerate.
1143
1144 2010-09-29 Eric Ludlam <zappo@gnu.org>
1145
1146 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1147 (semantic-lex-spp-enable-debug-symbol): New command
1148 (semantic-lex-spp-value-valid-p)
1149 (semantic-lex-spp-validate-value): New functions
1150 (semantic-lex-spp-symbol-set)
1151 (semantic-lex-spp-symbol-push): Add call to validate value.
1152 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1153 invalid values during save, just save a nil.
1154
1155 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1156
1157 * ede/linux.el (ede-project-class-files):
1158 * ede/generic.el (ede-generic-new-autoloader):
1159 * ede/emacs.el (ede-project-class-files):
1160 * ede/simple.el (ede-project-class-files):
1161 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1162
1163 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1164
1165 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1166
1167 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1168 Fix typo in error message.
1169 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1170
1171 2010-09-21 Eric Ludlam <zappo@gnu.org>
1172
1173 Synch SRecode to CEDET 1.0.
1174
1175 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1176 'never, disable all pulsing.
1177
1178 * cedet.el (cedet-version):
1179 * srecode.el (srecode-version): Bump version to 1.0.
1180
1181 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1182 (semantic-insert-foreign-tag): Use it.
1183
1184 * srecode/mode.el (srecode-bind-insert):
1185 Call srecode-load-tables-for-mode.
1186 (srecode-minor-mode-templates-menu): Do not list templates that
1187 are not in the current project.
1188 (srecode-menu-bar): Add binding for srecode-macro-help.
1189
1190 * srecode/table.el (srecode-template-table): Add :project slot.
1191 (srecode-dump): Dump it.
1192
1193 * srecode/map.el (srecode-map-update-map): Make map loading more
1194 robust.
1195
1196 * srecode/insert.el (srecode-insert-fcn): Merge template
1197 dictionary before resolving arguments.
1198 (srecode-insert-method-helper): Add error checking to make sure
1199 that we only have dictionaries.
1200 (srecode-insert-method): Check template nesting depth when using
1201 point inserter override.
1202 (srecode-insert-method): Install override with depth limit.
1203
1204 * srecode/getset.el (srecode-insert-getset): Force tag table
1205 update. Don't query the class if it is empty.
1206
1207 * srecode/find.el (srecode-template-get-table)
1208 (srecode-template-get-table-for-binding)
1209 (srecode-all-template-hash): Skip if not in current project.
1210 (srecode-template-table-in-project-p): New method.
1211
1212 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1213 (srecode-field-exit-ask): Use it.
1214
1215 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1216 Do not add variables in tables not for the current project.
1217 (srecode-compound-toString): Handle cases where the default value
1218 is another compound value.
1219 (srecode-dictionary-lookup-name): New optional argument
1220 NON-RECURSIVE, which inhibits visiting dictionary parents.
1221 (srecode-dictionary-add-section-dictionary)
1222 (srecode-dictionary-merge): New optional argument FORCE adds
1223 values even if an identically named entry exists.
1224 (srecode-dictionary-add-entries): New method.
1225 (srecode-create-dictionaries-from-tags): New function.
1226
1227 * srecode/cpp.el (srecode-cpp): New defgroup.
1228 (srecode-cpp-namespaces): New option.
1229 (srecode-semantic-handle-:using-namespaces)
1230 (srecode-cpp-apply-templates): New functions.
1231 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1232 by calling `srecode-cpp-apply-templates'.
1233
1234 * srecode/compile.el (srecode-compile-templates): Fix directory
1235 compare of built-in templates. Give built-ins lower piority.
1236 Support special variable "project".
1237 (srecode-compile-template-table): Set :project slot of new tables.
1238 (srecode-compile-one-template-tag):
1239 Use srecode-create-dictionaries-from-tags.
1240
1241 2010-09-21 Eric Ludlam <zappo@gnu.org>
1242
1243 Synch EDE to CEDET 1.0.
1244
1245 * cedet-idutils.el (cedet-idutils-make-command): New option.
1246 (cedet-idutils-mkid-call):
1247 (cedet-idutils-create/update-database): New functions.
1248
1249 * cedet-cscope.el (cedet-cscope-create):
1250 (cedet-cscope-create/update-database): New functions.
1251 (cedet-cscope-support-for-directory): Make interactive.
1252
1253 * cedet-global.el (cedet-global-gtags-command): New option.
1254 (cedet-gnu-global-gtags-call)
1255 (cedet-gnu-global-create/update-database): New functions.
1256
1257 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1258 (ede-make-dist): Always use toplevel project.
1259 (ede-buffer-object): If we fail to find an object in the current
1260 project, loop upward looking for a match. If no target is found,
1261 use most local project.
1262 (ede-buffer-belongs-to-target-p)
1263 (ede-buffer-belongs-to-project-p): New functions.
1264 (ede-initialize-state-current-buffer): New function.
1265 (ede-target-forms-menu, ede-project-buffers): Use them.
1266 (ede-minor-mode, ede-reset-all-buffers): Use it.
1267 (project-interactive-select-target, project-add-file): Don't use
1268 ede-project-force-load.
1269 (ede-buffer-object): New arg PROJSYM.
1270 (ede-minor-mode): Remove ede-directory-project-p test.
1271 (ede-initialize-state-current-buffer): Don't test for
1272 ede-directory-project-p if there is a matching open project.
1273 (ede-customize-forms-menu): Prevent error if there is no project.
1274 (ede-load-project-file): Set ede-constructing to the thing being
1275 constructed, instead of t.
1276 (ede-project-force-load): Delete.
1277
1278 * ede/base.el:
1279 * ede/auto.el:
1280 * ede/custom.el: New files.
1281
1282 * ede/autoconf-edit.el (autoconf-find-last-macro)
1283 (autoconf-parameters-for-macro): Parse multiline parameters of
1284 macros. Optionally ignore case and at bol for macro.
1285 (autoconf-parameter-strip): Use greedy match for newlines.
1286 (autoconf-new-automake-string): Delete.
1287 (autoconf-new-program): Use SRecode to fill an empty file.
1288
1289 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1290 New function.
1291
1292 * ede/files.el (ede-flush-project-hash): New command.
1293 (ede-convert-path): Add optional PROJECT arg.
1294 (ede-directory-project-p): Obey ".ede-ignore".
1295 (ede-expand-filename-local)
1296 (ede-expand-filename-impl-via-subproj): New methods.
1297 (ede-expand-filename-impl): Use them.
1298 (ede-project-root, ede-project-root-directory): Move to
1299 ede/auto.el.
1300
1301 * ede/locate.el (ede-locate-flush-hash):
1302 (ede-locate-create/update-root-database): New methods.
1303 (initialize-instance): Use ede-locate-flush-hash.
1304
1305 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1306 the top project and not a metasubproject, set TOP to CURDIR.
1307 (ede-proj-makefile-insert-variables): Output a target's object
1308 list whether or not the vars are already in the Makefile.
1309 (ede-pmake-insert-variable-once): New macro.
1310
1311 * ede/project-am.el (project-am-with-makefile-current):
1312 Add recentf-exclude.
1313 (project-am-load-makefile): Obey an optional suggested name.
1314 (project-am-expand-subdirlist): New function.
1315 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1316 and DIST_SUBDIRS.
1317 (project-am-meta-type-alist): A list to scan better Makefile.am
1318 (project-am-scan-for-targets): Scan also over
1319 project-am-meta-type-alist.
1320 (ede-system-include-path): Simple implementation.
1321 (ede-find-target): Delete. EDE core takes care of this.
1322 (ede-buffer-mine): Create the searched filename as relative.
1323 (project-am-load): Simplify, using autoconf-edit.
1324 (project-am-extract-package-info): Fix separators.
1325
1326 * ede/proj.el (project-run-target): New method.
1327 (project-make-dist, project-compile-project):
1328 Use ede-proj-automake-p to determine which kind of compile to use.
1329 (project-rescan): Call ede-load-project-file.
1330 (ede-buffer-mine): Add more file names that belong to the project.
1331 (ede-proj-compilers): Improve error message.
1332
1333 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1334 (ede-source-c++): Add more C++ extensions.
1335 (ede-proj-target-makefile-objectcode): Quote initforms.
1336 Support lex and yacc.
1337
1338 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1339 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1340 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1341 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1342 (ede-proj-target-makefile-program): Swap order of two slots so
1343 they show up in the same order as in the command line.
1344 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1345
1346 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1347 Fix inference rule to use cpp files.
1348 (ede-proj-target-makefile-shared-object): Quote initforms.
1349
1350 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1351 * ede/proj-info.el (ede-proj-target-makefile-info):
1352 * ede/proj-aux.el (ede-proj-target-aux):
1353 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1354 * ede/proj-elisp.el (ede-proj-target-elisp)
1355 (ede-proj-target-elisp-autoloads): Quote initforms.
1356
1357 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1358
1359 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1360
1361 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1362 occur while waiting for the compile process to finish, pull them
1363 in and discard those events.
1364
1365 2010-09-19 Eric Ludlam <zappo@gnu.org>
1366
1367 Synch Semantic to CEDET 1.0.
1368
1369 * semantic.el (semantic-version): Update to 2.0.
1370 (semantic-mode-map): Add "," and "m" bindings.
1371 (navigate-menu): Update.
1372
1373 * semantic/symref.el (semantic-symref-calculate-rootdir):
1374 New function.
1375 (semantic-symref-detect-symref-tool): Use it.
1376
1377 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1378 (semantic-symref-perform-search): Use it. Calculate root dir with
1379 semantic-symref-calculate-rootdir.
1380 (semantic-symref-derive-find-filepatterns): Improve error message.
1381
1382 * semantic/symref/list.el
1383 (semantic-symref-results-mode-map): New bindings.
1384 (semantic-symref-auto-expand-results): New option.
1385 (semantic-symref-results-dump): Obey auto-expand.
1386 (semantic-symref-list-expand-all, semantic-symref-regexp)
1387 (semantic-symref-list-contract-all)
1388 (semantic-symref-list-map-open-hits)
1389 (semantic-symref-list-update-open-hits)
1390 (semantic-symref-list-create-macro-on-open-hit)
1391 (semantic-symref-list-call-macro-on-open-hits): New functions.
1392 (semantic-symref-list-menu-entries)
1393 (semantic-symref-list-menu): New vars.
1394 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1395 match before calling the mapped function.
1396
1397 * semantic/doc.el
1398 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1399 mode doesn't provide comment-start-skip.
1400
1401 * semantic/scope.el
1402 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1403 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1404 looking for as part of the scoped tags list.
1405
1406 * semantic/html.el (semantic-default-html-setup):
1407 Add senator-step-at-tag-classes.
1408
1409 * semantic/decorate/include.el
1410 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1411 (semantic-decoration-on-includes-highlight-default): Check that
1412 the include tag has a position.
1413
1414 * semantic/complete.el (semantic-collector-local-members):
1415 (semantic-complete-read-tag-local-members)
1416 (semantic-complete-jump-local-members): New class and functions.
1417 (semantic-complete-self-insert): Save excursion before completing.
1418
1419 * semantic/analyze/complete.el
1420 (semantic-analyze-possible-completions-default): If no completions
1421 are found, return the raw by-name-only completion list. Add FLAGS
1422 arguments. Add support for 'no-tc (type constraint) and
1423 'no-unique, or no stripping duplicates.
1424 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1425
1426 * semantic/util-modes.el
1427 (semantic-stickyfunc-show-only-functions-p): New option.
1428 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1429 the very first line in a buffer.
1430
1431 * semantic/util.el (semantic-hack-search)
1432 (semantic-recursive-find-nonterminal-by-name)
1433 (semantic-current-tag-interactive): Delete.
1434 (semantic-describe-buffer): Fix expand-nonterminal.
1435 Add lex-syntax-mods, type relation separator char, and command
1436 separation char.
1437 (semantic-sanity-check): Only message if called interactively.
1438
1439 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1440 :filename property and the tag position.
1441
1442 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1443 Add recursion limit.
1444
1445 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1446 Make this buffer local, not the obsoleted variable.
1447
1448 * semantic/idle.el: Add breadcrumbs support.
1449 (semantic-idle-summary-current-symbol-info-default)
1450 (semantic-idle-tag-highlight)
1451 (semantic-idle-completion-list-default):
1452 Use semanticdb-without-unloaded-file-searches for speed, and to
1453 conform to the controls that specify if the idle timer is supposed
1454 to be parsing unparsed includes.
1455 (semantic-idle-symbol-highlight-face)
1456 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1457 Callers changed.
1458 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1459 (semantic-idle-work-update-headers-flag): New var.
1460 (semantic-idle-work-for-one-buffer): Use it.
1461 (semantic-idle-local-symbol-highlight): Rename from
1462 semantic-idle-tag-highlight.
1463 (semantic-idle-truncate-long-summaries): New option.
1464
1465 * semantic/ia.el (semantic-ia-cache)
1466 (semantic-ia-get-completions): Delete. Callers changed.
1467 (semantic-ia-show-variants): New command.
1468 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1469 (semantic-ia-show-summary): If there isn't anything to show, say so.
1470
1471 * semantic/grammar.el (semantic-grammar-create-package):
1472 Save the buffer even in batch mode.
1473
1474 * semantic/fw.el
1475 (semanticdb-without-unloaded-file-searches): New macro.
1476
1477 * semantic/dep.el (semantic-dependency-find-file-on-path):
1478 Fix case dereferencing ede-object when it is a list.
1479
1480 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1481 (semanticdb-typecache-faux-namespace): New functions.
1482 (semanticdb-typecache-file-tags)
1483 (semanticdb-typecache-merge-streams): Use them.
1484 (semanticdb-typecache-file-tags): When deriving tags from a file,
1485 give the mode a chance to monkey with the tag copy.
1486 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1487 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1488
1489 * semantic/db-global.el
1490 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1491 GNU Global is not available and we don't want to throw an error.
1492
1493 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1494 When trying to normalize the tag to a buffer, don't error if
1495 set-buffer method doesn't exist.
1496
1497 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1498
1499 * semantic/db.el (semanticdb-refresh-table): If forcing a
1500 refresh on a file not in a buffer, use semantic-find-file-noselect
1501 and delete the buffer after use.
1502 (semanticdb-current-database-list): When calculating root via
1503 hooks, force it through true-filename and skip the list of
1504 possible roots.
1505
1506 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1507
1508 * semantic/analyze/debug.el
1509 (semantic-analyzer-debug-insert-tag): Reset standard output to
1510 current buffer.
1511 (semantic-analyzer-debug-global-symbol)
1512 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1513 "symbol" in messages.
1514
1515 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1516 (semantic-analyze-refs-proto): When calculating value, make sure
1517 the found tag is 'similar' to the originating tag.
1518 (semantic--analyze-refs-find-tags-with-parent): Attempt to
1519 identify matches via imported symbols of parents.
1520 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
1521 search during the brute search.
1522
1523 * semantic/analyze.el
1524 (semantic-analyze-find-tag-sequence-default): Be robust to
1525 calculated scopes being nil.
1526
1527 * semantic/bovine/c.el (semantic-c-describe-environment):
1528 Add project macro symbol array.
1529 (semantic-c-parse-lexical-token): Add recursion limit.
1530 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
1531 New overrides.
1532 (semantic-expand-c-tag-namelist): Split a full type from a typedef
1533 out to its own tag.
1534 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
1535 inline type if it is an anonymous type.
1536 (semantic-c-reconstitute-token): Use the optional initializers as
1537 a clue that some function is probably a constructor.
1538 When defining the type of these constructors, split the parent name,
1539 and use only the class part, if applicable.
1540
1541 * semantic/bovine/c-by.el:
1542 * semantic/wisent/python-wy.el: Regenerate.
1543
1544 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1545
1546 * semantic/db-file.el (object-write): Fix typo in docstring.
1547
1548 2010-06-03 Eric Ludlam <zappo@gnu.org>
1549
1550 * semantic/lex-spp.el
1551 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1552 invalid values during save, just save a nil (Bug#6324).
1553
1554 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
1555
1556 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
1557 (bug#6231).
1558
1559 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 Use a mode-line spec rather than a static string in Semantic.
1562 * semantic/util-modes.el:
1563 (semantic-minor-modes-format): New var to replace...
1564 (semantic-minor-modes-status): Remove.
1565 (semantic-mode-line-update): Construct a mode-line spec rather than
1566 a static string so that mouse buttons can be used on individual minor
1567 modes and so that semantic-mode-line-update only needs to be called
1568 when global settings are changed.
1569 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
1570 Call semantic-mode-line-update.
1571 (semantic-toggle-minor-mode-globally): Don't assume mode is on
1572 minor-mode-alist, check semantic-minor-mode-alist as well.
1573 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
1574 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
1575 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
1576 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1577 * semantic/idle.el (semantic-idle-scheduler-mode)
1578 (define-semantic-idle-service, semantic-idle-summary-mode):
1579 * semantic/decorate/mode.el (semantic-decoration-mode):
1580 Don't call semantic-mode-line-update any more.
1581
1582 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 Use define-minor-mode in CEDET where applicable.
1585
1586 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
1587 Use define-minor-mode.
1588
1589 * semantic/util-modes.el (semantic-add-minor-mode):
1590 Remove unused arg `keymap' and code redundant with define-minor-mode.
1591 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
1592 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
1593 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
1594 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
1595 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
1596 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
1597 Use define-minor-mode.
1598 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
1599 (semantic-show-unmatched-syntax-mode-setup)
1600 (semantic-show-parser-state-mode-setup)
1601 (semantic-highlight-func-mode-setup): Inline into sole caller.
1602
1603 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1604 (semantic-mru-bookmark-mode): Use define-minor-mode.
1605 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
1606
1607 * semantic/idle.el (define-semantic-idle-service):
1608 Use define-minor-mode and inline setup function into its sole caller.
1609 (semantic-idle-scheduler-mode-setup)
1610 (semantic-idle-summary-mode-setup): Inline into sole caller.
1611 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
1612 Use define-minor-mode.
1613
1614 * semantic/decorate/mode.el (global-semantic-decoration-mode)
1615 (semantic-decoration-mode): Use define-minor-mode.
1616 (semantic-decoration-mode-setup): Inline into sole caller.
1617
1618 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
1619 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
1620 (ede-dired-add-to-target): Use dolist.
1621
1622 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1623
1624 * semantic.el (semantic-completion-at-point-function):
1625 New function.
1626 (semantic-mode): Use semantic-completion-at-point-function for
1627 completion-at-point-functions instead.
1628
1629 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1630
1631 * semantic.el (semantic-mode): When enabled, add
1632 semantic-ia-complete-symbol to completion-at-point-functions.
1633
1634 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
1635 if Semantic is not active.
1636
1637 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1638
1639 * ede/pmake.el (ede-proj-makefile-insert-variables):
1640 Don't destroy list before using it.
1641
1642 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1643
1644 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
1645 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1646 (semantic-imenu-goto-function): Reflow docstring.
1647
1648 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1649
1650 * srecode/table.el (srecode-template-table): Fix docstring typo.
1651
1652 2010-03-24 Glenn Morris <rgm@gnu.org>
1653
1654 * semantic/bovine/c.el (semantic-c-describe-environment):
1655 Consistently check ede-object is bound throughout.
1656
1657 * ede/project-am.el (ede-shell-run-something): Declare.
1658
1659 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
1660
1661 * semantic/imenu.el: New file, from the CEDET repository
1662 (Bug#5412).
1663
1664 2010-03-06 Glenn Morris <rgm@gnu.org>
1665
1666 * semantic/grammar.el (semantic-grammar-header-template):
1667 Update template copyright to GPLv3+.
1668
1669 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1670
1671 * semantic/db-find.el
1672 (semanticdb-find-translate-path-brutish-default):
1673 * ede/make.el (ede-make-check-version):
1674 Use with-current-buffer instead of save-excursion.
1675
1676 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1677
1678 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
1679 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
1680
1681 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1682
1683 * data-debug.el (data-debug): Move to extensions group.
1684
1685 * ede.el (ede):
1686 * srecode.el (srecode):
1687 * semantic.el (semantic): Put in tools and extensions group.
1688
1689 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1690
1691 * ede.el (ede-run-target, project-delete-target)
1692 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1693 (ede-adebug-project, ede-adebug-project-parent)
1694 (ede-adebug-project-root): Fix typos in docstrings.
1695
1696 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1697
1698 * ede/locate.el (ede-locate-file-in-project)
1699 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1700 (ede-enable-locate-on-project): Fix typos in error messages.
1701
1702 * semantic/util-modes.el (semantic-unmatched-syntax-face)
1703 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1704 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1705 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1706 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1707 Fix typos in menu help.
1708
1709 * semantic.el (semantic-require-version, semantic--buffer-cache)
1710 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1711 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1712 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1713 (semantic-parse-stream, semantic-parse-region)
1714 (semantic-parse-region-default, semantic--set-buffer-cache)
1715 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1716 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1717 (semantic-default-submodes):
1718 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1719 (semanticdb-create-ebrowse-database)
1720 (semanticdb-find-tags-for-completion-method)
1721 (semanticdb-find-tags-by-class-method)
1722 (semanticdb-deep-find-tags-by-name-method)
1723 (semanticdb-deep-find-tags-for-completion-method):
1724 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1725 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1726 (semanticdb-find-tags-for-completion-method)
1727 (semanticdb-find-tags-by-class-method)
1728 (semanticdb-deep-find-tags-for-completion-method):
1729 * semantic/db-find.el (semanticdb-find-translate-path)
1730 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1731 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1732 (semanticdb-find-tags-by-name-method)
1733 (semanticdb-find-tags-by-name-regexp-method)
1734 (semanticdb-find-tags-for-completion-method)
1735 (semanticdb-find-tags-by-class-method)
1736 (semanticdb-find-tags-external-children-of-type-method)
1737 (semanticdb-find-tags-subclasses-of-type-method)
1738 (semanticdb-deep-find-tags-by-name-method)
1739 (semanticdb-deep-find-tags-by-name-regexp-method)
1740 (semanticdb-deep-find-tags-for-completion-method):
1741 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1742 (semanticdb-enable-gnu-global-in-buffer)
1743 (semanticdb-find-tags-for-completion-method)
1744 (semanticdb-deep-find-tags-by-name-method)
1745 (semanticdb-deep-find-tags-for-completion-method):
1746 * semantic/db-javascript.el (semanticdb-javascript-tags)
1747 (javascript-mode, semanticdb-find-translate-path)
1748 (semanticdb-find-tags-for-completion-method)
1749 (semanticdb-find-tags-by-class-method)
1750 (semanticdb-deep-find-tags-by-name-method)
1751 (semanticdb-deep-find-tags-for-completion-method)
1752 (semanticdb-find-tags-external-children-of-type-method):
1753 * semantic/idle.el (semantic-idle-work-core-handler)
1754 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1755 (global-semantic-idle-scheduler-mode):
1756 * srecode/dictionary.el (srecode-field-value)
1757 (srecode-dictionary-add-section-dictionary):
1758 Fix typos in docstrings.
1759
1760 2010-01-17 Glenn Morris <rgm@gnu.org>
1761
1762 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1763
1764 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1765
1766 * semantic.el (semantic-mode): Fix typos in docstrings.
1767
1768 2010-01-16 Mario Lang <mlang@delysid.org>
1769
1770 * ede/cpp-root.el (ede-cpp-root-project):
1771 * ede/files.el (ede-expand-filename):
1772 * ede/simple.el (ede-simple-project):
1773 * semantic/complete.el (semantic-complete-read-tag-engine)
1774 (semantic-complete-inline-tag-engine):
1775 * semantic/db-el.el (semanticdb-equivalent-mode):
1776 * semantic/db-global.el (semanticdb-equivalent-mode):
1777 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1778 * semantic/db.el (semanticdb-equivalent-mode):
1779 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1780 * semantic/idle.el (semantic-idle-work-for-one-buffer):
1781 Remove duplicated words in doc-strings.
1782
1783 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1784
1785 * semantic/edit.el (semantic-reparse-needed-change-hook)
1786 (semantic-no-reparse-needed-change-hook):
1787 * srecode/insert.el (srecode-resolve-argument-list)
1788 (srecode-template-inserter-blank, srecode-template-inserter-variable)
1789 (srecode-template-inserter-ask, srecode-template-inserter-width)
1790 (srecode-template-inserter-section-start)
1791 (srecode-template-inserter-section-end, srecode-insert-method):
1792 Fix typos in docstrings.
1793
1794 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1795
1796 * data-debug.el (data-debug): Fix customization group reference.
1797
1798 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1799
1800 * semantic/analyze.el (semantic-analyze-push-error)
1801 (semantic-analyze-context, semantic-analyze-context-assignment)
1802 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
1803 * semantic/java.el (java-mode, semantic-tag-include-filename)
1804 (semantic-java-doc-keywords-map):
1805 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
1806 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
1807 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
1808 (semantic-c-classname, semantic-format-tag-uml-prototype)
1809 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
1810 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
1811 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
1812 (semantic-get-local-variables, semantic-end-of-command)
1813 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
1814 (lisp-mode):
1815 * semantic/bovine/make.el (makefile-mode):
1816 * semantic/wisent/python.el (wisent-python-string-re)
1817 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
1818 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
1819 (semantic-lex, semantic-get-local-variables, python-mode):
1820 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
1821 * srecode/extract.el (srecode-extract-state-set)
1822 (srecode-extract-method): Fix typos in docstrings.
1823
1824 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
1825
1826 * semantic.el (semantic-new-buffer-setup-functions):
1827 Add python parser.
1828
1829 2010-01-10 Richard Kim <emacs18@gmail.com>
1830
1831 * semantic/wisent/python-wy.el:
1832 * semantic/wisent/python.el: New files.
1833
1834 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
1835
1836 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1837 Fix typo in docstring.
1838
1839 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
1840
1841 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1842 (semantic-mru-bookmark-mode): Doc fixes.
1843
1844 * semantic/db.el (semanticdb-cache-get): Use error instead
1845 of assert.
1846
1847 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
1848
1849 * semantic/ia.el (semantic-ia-complete-symbol):
1850 Make argument optional.
1851
1852 2009-12-05 Eric Ludlam <zappo@gnu.org>
1853
1854 * semantic/bovine/c.el (semantic-c-describe-environment):
1855 Describe project macro symbols.
1856
1857 * semantic/complete.el (semantic-complete-do-completion):
1858 Don't call semantic-collector-current-exact-match.
1859
1860 * ede.el (ede-apply-preprocessor-map): Accept lists of
1861 ede-objects as targets.
1862
1863 * ede/pmake.el (ede-proj-makefile-insert-variables):
1864 Output a target's object list even if compiler vars are already in the
1865 Makefile.
1866
1867 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
1868 list of headers producing necessary macros.
1869
1870 2009-11-24 Glenn Morris <rgm@gnu.org>
1871
1872 * semantic/idle.el (global-semantic-idle-scheduler-mode):
1873 Move after definition of global-semantic-idle-tag-highlight-mode.
1874
1875 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1876
1877 * srecode/map.el (srecode-get-maps):
1878 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1879 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1880 * semantic/decorate/mode.el (semantic-decoration-mode)
1881 (semantic-toggle-decoration-style):
1882 * semantic/decorate/include.el
1883 (semantic-decoration-include-describe)
1884 (semantic-decoration-unknown-include-describe)
1885 (semantic-decoration-unparsed-include-describe)
1886 (semantic-decoration-all-include-summary):
1887 * semantic/bovine/c.el (semantic-c-debug-mode-init):
1888 * semantic/analyze/complete.el
1889 (semantic-analyze-possible-completions):
1890 * semantic/util-modes.el (semantic-highlight-edits-mode)
1891 (semantic-show-unmatched-syntax-mode)
1892 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1893 (semantic-highlight-func-mode):
1894 * semantic/util.el (semantic-describe-buffer):
1895 * semantic/symref.el (semantic-symref-find-references-by-name)
1896 (semantic-symref-find-tags-by-name)
1897 (semantic-symref-find-tags-by-regexp)
1898 (semantic-symref-find-tags-by-completion)
1899 (semantic-symref-find-file-references-by-name)
1900 (semantic-symref-find-text):
1901 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
1902 (senator-yank-tag):
1903 * semantic/scope.el (semantic-calculate-scope):
1904 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1905 * semantic/idle.el (semantic-idle-scheduler-mode)
1906 (define-semantic-idle-service):
1907 * semantic/complete.el (semantic-complete-analyze-inline)
1908 (semantic-complete-analyze-inline-idle):
1909 * semantic/analyze.el (semantic-analyze-current-context):
1910 * mode-local.el (describe-mode-local-bindings)
1911 (describe-mode-local-bindings-in-mode):
1912 * ede/make.el (ede-make-check-version):
1913 * ede/locate.el (ede-enable-locate-on-project):
1914 * cedet-idutils.el (cedet-idutils-expand-filename)
1915 (cedet-idutils-version-check):
1916 * cedet-global.el (cedet-gnu-global-expand-filename)
1917 (cedet-gnu-global-version-check):
1918 * cedet-cscope.el (cedet-cscope-expand-filename)
1919 (cedet-cscope-version-check): Use called-interactively-p instead
1920 of interactive-p.
1921
1922 * semantic/ia.el (semantic-ia-completion-format-tag-function):
1923 Use semantic-format-tag-prototype.
1924
1925 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1926
1927 * semantic/complete.el (semantic-complete-read-tag-engine)
1928 (semantic-complete-jump-local, semantic-complete-jump):
1929 Improve prompt string.
1930
1931 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1932
1933 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
1934
1935 * semantic/idle.el (define-semantic-idle-service)
1936 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1937
1938 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1939
1940 * cedet.el (cedet-menu-map): Re-order menu items.
1941
1942 * semantic.el: Enable idle-mode menu items only if
1943 global-semantic-idle-scheduler-mode is enabled.
1944 (semantic-default-submodes): Doc fix.
1945
1946 * semantic/idle.el (global-semantic-idle-scheduler-mode):
1947 When turning off, disable other idle modes.
1948
1949 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1950
1951 * semantic/idle.el (semantic-idle-summary-mode)
1952 (semantic-idle-summary-mode): Define using define-minor-mode
1953 instead of define-semantic-idle-service.
1954 (semantic-idle-summary-mode): New function.
1955 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
1956 that mouse motion does not reset the echo area.
1957
1958 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
1959
1960 * semantic/ctxt.el (semantic-get-local-variables):
1961 Disable the progress reporter entirely.
1962
1963 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * semantic/fw.el (semantic/loaddefs):
1966 * srecode.el (srecode/loaddefs):
1967 * ede.el (ede/loaddefs): Load rather than require.
1968 * ede/cpp-root.el:
1969 * ede/emacs.el:
1970 * ede/files.el:
1971 * ede/linux.el:
1972 * ede/locate.el:
1973 * ede/make.el:
1974 * ede/shell.el:
1975 * ede/speedbar.el:
1976 * ede/system.el:
1977 * ede/util.el:
1978 * semantic/analyze.el:
1979 * semantic/bovine.el:
1980 * semantic/complete.el:
1981 * semantic/ctxt.el:
1982 * semantic/db-file.el:
1983 * semantic/db-find.el:
1984 * semantic/db-global.el:
1985 * semantic/db-mode.el:
1986 * semantic/db-typecache.el:
1987 * semantic/db.el:
1988 * semantic/debug.el:
1989 * semantic/dep.el:
1990 * semantic/doc.el:
1991 * semantic/edit.el:
1992 * semantic/find.el:
1993 * semantic/format.el:
1994 * semantic/html.el:
1995 * semantic/ia-sb.el:
1996 * semantic/ia.el:
1997 * semantic/idle.el:
1998 * semantic/lex-spp.el:
1999 * semantic/lex.el:
2000 * semantic/mru-bookmark.el:
2001 * semantic/scope.el:
2002 * semantic/senator.el:
2003 * semantic/sort.el:
2004 * semantic/symref.el:
2005 * semantic/tag-file.el:
2006 * semantic/tag-ls.el:
2007 * semantic/tag-write.el:
2008 * semantic/tag.el:
2009 * semantic/util-modes.el:
2010 * semantic/analyze/complete.el:
2011 * semantic/analyze/refs.el:
2012 * semantic/bovine/c.el:
2013 * semantic/bovine/gcc.el:
2014 * semantic/bovine/make.el:
2015 * semantic/bovine/scm.el:
2016 * semantic/decorate/include.el:
2017 * semantic/decorate/mode.el:
2018 * semantic/symref/cscope.el:
2019 * semantic/symref/global.el:
2020 * semantic/symref/grep.el:
2021 * semantic/symref/idutils.el:
2022 * semantic/symref/list.el:
2023 * semantic/wisent/java-tags.el:
2024 * semantic/wisent/javascript.el:
2025 * srecode/compile.el:
2026 * srecode/cpp.el:
2027 * srecode/document.el:
2028 * srecode/el.el:
2029 * srecode/expandproto.el:
2030 * srecode/getset.el:
2031 * srecode/insert.el:
2032 * srecode/java.el:
2033 * srecode/map.el:
2034 * srecode/mode.el:
2035 * srecode/template.el:
2036 * srecode/texi.el: Remove the file-local setting of
2037 generated-autoload-feature.
2038
2039 2009-11-03 Glenn Morris <rgm@gnu.org>
2040
2041 * mode-local.el (with-mode-local): Doc fix.
2042
2043 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2044
2045 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2046 items.
2047
2048 * ede.el (ede-minor-mode):
2049 * semantic.el (semantic-mode): Toggle menu separators.
2050
2051 2009-10-31 Glenn Morris <rgm@gnu.org>
2052
2053 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2054 Use mapc rather than mapcar because the return value is never used.
2055
2056 * srecode/template.el, semantic/wisent/javascript.el:
2057 * semantic/wisent/java-tags.el, semantic/texi.el:
2058 * semantic/html.el:
2059 Suppress harmless warnings about setting up semantic-imenu (not
2060 part of Emacs) variables.
2061
2062 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2065 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2066 * semantic/symref/grep.el (semantic-symref-perform-search):
2067 * semantic/bovine/gcc.el (semantic-gcc-query):
2068 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2069 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2070 (semantic-analyzer-debug-global-symbol)
2071 (semantic-analyzer-debug-missing-innertype)
2072 (semantic-analyzer-debug-insert-include-summary):
2073 * semantic/util.el (semantic-file-tag-table):
2074 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2075 (semantic-recursive-find-nonterminal-by-name):
2076 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2077 * semantic/tag-file.el (semantic-prototype-file):
2078 * semantic/symref.el (semantic-symref-parse-tool-output):
2079 * semantic/sb.el (semantic-sb-fetch-tag-table):
2080 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2081 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2082 (semantic-idle-summary-maybe-highlight):
2083 * semantic/ia-sb.el (semantic-ia-speedbar)
2084 (semantic-ia-sb-tag-info):
2085 * semantic/grammar.el (semantic-analyze-possible-completions):
2086 * semantic/find.el (semantic-brute-find-tag-by-position):
2087 * semantic/ede-grammar.el (project-compile-target):
2088 (ede-proj-makefile-insert-variables):
2089 * semantic/debug.el (semantic-debug-set-parser-location):
2090 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2091 (semantic-debug-mode, semantic-debug):
2092 * semantic/db.el (semanticdb-needs-refresh-p):
2093 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2094 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2095 * semantic/db-find.el (semanticdb-find-log-new-search)
2096 (semanticdb-find-translate-path-includes--internal)
2097 (semanticdb-reset-log, semanticdb-find-log-activity):
2098 * semantic/db-file.el (object-write):
2099 * semantic/db-el.el (semanticdb-equivalent-mode):
2100 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2101 (semanticdb-create-ebrowse-database):
2102 * semantic/db-debug.el (semanticdb-table-sanity-check):
2103 * semantic/complete.el (semantic-displayor-focus-request)
2104 (semantic-collector-calculate-completions-raw)
2105 (semantic-complete-read-tag-analyzer):
2106 * semantic/analyze.el (semantic-analyze-pulse):
2107 * ede/util.el (ede-update-version-in-source):
2108 * ede/proj.el (project-delete-target):
2109 * ede/proj-elisp.el (ede-update-version-in-source)
2110 (ede-proj-flush-autoconf):
2111 * ede/pconf.el (ede-proj-configure-synchronize)
2112 (ede-proj-configure-synchronize):
2113 * ede/locate.el (ede-locate-file-in-project-impl):
2114 * ede/linux.el (ede-linux-version):
2115 * ede/emacs.el (ede-emacs-version):
2116 * ede/dired.el (ede-dired-add-to-target):
2117 * ede.el (ede-buffer-header-file, ede-find-target)
2118 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2119 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2120 * cedet-idutils.el (cedet-idutils-fnid-call):
2121 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2122 (cedet-idutils-version-check):
2123 * cedet-global.el (cedet-gnu-global-call):
2124 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2125 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2126 * cedet-cscope.el (cedet-cscope-call)
2127 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2128 Use with-current-buffer.
2129 * ede.el (ede-make-project-local-variable)
2130 (ede-set-project-variables, ede-set): Use dolist.
2131
2132 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * mode-local.el (make-obsolete-overload): Add `when' argument.
2135 (overload-docstring-extension): Use that info.
2136 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2137 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2138 * semantic/tag-ls.el (semantic-nonterminal-protection)
2139 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2140 (semantic-nonterminal-full-name): Add the new `when' info.
2141 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2142 `assert'.
2143
2144 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * semantic/fw.el (semantic-alias-obsolete)
2147 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2148 (define-mode-overload-implementation):
2149 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2150 * semantic/wisent.el (wisent-lex-make-token-table):
2151 * semantic/util.el (semantic-file-token-stream)
2152 (semantic-something-to-stream):
2153 * semantic/tag.el (semantic-tag-make-assoc-list)
2154 (semantic-expand-nonterminal):
2155 * semantic/tag-file.el (semantic-find-nonterminal)
2156 (semantic-find-dependency, semantic-find-nonterminal)
2157 (semantic-find-dependency):
2158 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2159 (semantic-flex-text, semantic-flex-make-keyword-table)
2160 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2161 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2162 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2163 * semantic/java.el (semantic-java-prototype-nonterminal):
2164 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2165 (semantic-after-idle-scheduler-reparse-hooks):
2166 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2167 * semantic/db-mode.el (semanticdb-mode-hooks):
2168 * semantic.el (semantic-toplevel-bovine-table)
2169 (semantic-toplevel-bovine-cache)
2170 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2171 (semantic-init-mode-hooks, semantic-init-db-hooks)
2172 (semantic-bovination-working-type): Provide the `when' arg.
2173
2174 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2175
2176 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2177 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2178 argument to make-obsolete.
2179
2180 * semantic/fw.el (semantic-alias-obsolete)
2181 (semantic-varalias-obsolete): Add optional WHEN argument.
2182
2183 2009-10-21 Eric Ludlam <zappo@gnu.org>
2184
2185 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2186 (semantic-c-debug-mode-init-pch): New functions.
2187 (semantic-c-debug-mode-init-last-mode): New var.
2188 (semantic-c-parse-lexical-token): Use them.
2189
2190 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2191 When extracting the argument list, limit only by point-max.
2192
2193 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2194
2195 * srecode/srt.el:
2196 * srecode/compile.el:
2197 * semantic/mru-bookmark.el:
2198 * semantic/debug.el:
2199 * semantic/complete.el:
2200 * semantic/analyze.el: Require CL when compiling.
2201
2202 2009-10-17 Eric Ludlam <zappo@gnu.org>
2203
2204 * semantic/scope.el
2205 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2206 tmpscope so that the regular scope will continue to work.
2207
2208 * semantic/idle.el (semantic-idle-tag-highlight):
2209 Use semantic-idle-summary-highlight-face as the highlighting.
2210
2211 * ede/project-am.el (project-run-target): New method.
2212 (project-run-target): New method.
2213
2214 * ede.el (ede-target): Add run target menu item.
2215 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2216 (ede-run-target): New function.
2217 (ede-target::project-run-target): New method.
2218
2219 * ede/proj.el (project-run-target): New method.
2220
2221 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2222 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2223 Add :rules.
2224 (ede-proj-target-makefile-shared-object): Only libtool compilers
2225 now available. Add linkers for libtool.
2226 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2227 (ede-proj-makefile-target-name): Always use .la extension.
2228
2229 * ede/proj-prog.el (project-run-target): New method.
2230
2231 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2232 (ede-g++-linker): Change Change link lines.
2233
2234 * ede/pmake.el (ede-pmake-insert-variable-shared):
2235 When searching for old variables, go to the end of the buffer and
2236 search backward from there.
2237 (ede-proj-makefile-automake-insert-subdirs)
2238 (ede-proj-makefile-automake-insert-extradist): New methods.
2239 (ede-proj-makefile-create): Use them.
2240
2241 * ede/pconf.el (ede-proj-configure-test-required-file):
2242 Force FILE to expand to the current target. Use file-exists-p to
2243 check that it exists.
2244
2245 * ede/linux.el (ede-linux-version): Don't call "head".
2246 (ede-linux-load): Wrap dir in file-name-as-directory.
2247 Set :version slot.
2248
2249 * ede/files.el (ede-get-locator-object): When enabling
2250 locate, do so on "top".
2251
2252 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2253 file-name-as-directory during compare.
2254 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2255 Get version number from different places. Don't call egrep.
2256 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2257 to set the directory.
2258
2259 * ede/shell.el: New file.
2260
2261 * inversion.el (inversion-decoders): Allow for stray . in
2262 alpha/beta variants.
2263
2264 2009-10-17 Glenn Morris <rgm@gnu.org>
2265
2266 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2267 All errors should have messages.
2268
2269 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2270
2271 * ede/proj-shared.el (ede-proj-makefile-target-name):
2272 Use .la for Automake.
2273
2274 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2275
2276 * ede/pconf.el (ede-proj-configure-synchronize):
2277 Use "autoreconf -i". Suggested by Andreas Schwab.
2278
2279 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2280
2281 * ede/proj.el (project-make-dist, project-compile-project):
2282 Fix filename test.
2283 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2284 to expand file names.
2285
2286 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2287
2288 * ede/proj-obj.el (ede-gcc-linker): New var.
2289 (ede-proj-target-makefile-objectcode): Use it.
2290
2291 * ede/source.el (ede-want-any-source-files-p)
2292 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2293 Return search result. This error was introduced while merging.
2294
2295 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2296
2297 * semantic.el (semantic-new-buffer-setup-functions): New option.
2298 (semantic-new-buffer-fcn): Call parser setup functions here.
2299 (semantic-mode): Don't call parser setup functions here, it's done
2300 in semantic-new-buffer-fcn now.
2301 (semantic-mode): Parse all existing buffers when enabled.
2302
2303 * srecode/compile.el (srecode-compile-file):
2304 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2305
2306 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2307
2308 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2309
2310 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2311 (proj-comp-insert-variable-once): New macro, renamed from
2312 ede-pmake-insert-variable-once in ede/pmake.edl.
2313 (ede-proj-makefile-insert-variables): Use it.
2314
2315 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2316
2317 * ede/makefile-edit.el (makefile-beginning-of-command)
2318 (makefile-end-of-command):
2319 * srecode/srt-mode.el (semantic-beginning-of-context)
2320 (semantic-end-of-context): Fix previous change. Doc fixes.
2321
2322 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2323
2324 * ede/makefile-edit.el (makefile-beginning-of-command)
2325 (makefile-end-of-command):
2326 * semantic/lex.el (semantic-lex-token):
2327 * semantic/analyze/fcn.el
2328 (semantic-analyze-dereference-metatype-1):
2329 * semantic/bovine/c.el (semantic-lex-cpp-define)
2330 (semantic-lex-cpp-undef):
2331 * semantic/wisent/wisent.el (wisent-skip-block):
2332 * srecode/srt-mode.el (semantic-beginning-of-context)
2333 (semantic-end-of-context): Fix typos in docstrings.
2334
2335 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2336
2337 * ede.el (ede-project-placeholder-cache-file):
2338 * semantic/db-file.el (semanticdb-default-save-directory):
2339 * srecode/map.el (srecode-map-save-file):
2340 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2341
2342 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2343
2344 * srecode/insert.el: Require srecode/args.
2345
2346 * srecode/args.el: Require srecode/dictionary instead of
2347 srecode/insert.
2348
2349 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2350
2351 * files.el (auto-mode-alist): Add .srt and Project.ede.
2352
2353 * semantic.el (semantic-mode):
2354 Handle srecode-template-mode-hook as well.
2355 (semantic-mode): Use js-mode-hook for Javascript hook.
2356
2357 * srecode/template.el: Remove hook variable.
2358
2359 * ede/proj-comp.el: Require ede/pmake when compiling.
2360
2361 * ede.el (ede-target-forms-menu): Don't enable if no
2362 projects exist.
2363 (ede-project-placeholder-cache-file): Default to a file in
2364 user-emacs-directory.
2365
2366 * srecode/map.el (srecode-map-base-template-dir): Look for
2367 templates in data-directory.
2368 (srecode-map-save-file): Default to a file in user-emacs-directory.
2369
2370 * ede/srecode.el (ede-srecode-setup): Use default templates
2371 directory.
2372
2373 2009-09-30 Eric Ludlam <zappo@gnu.org>
2374
2375 * semantic/util-modes.el (semantic-highlight-func-mode):
2376 Doc fix.
2377
2378 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2379 Only insert each variable once.
2380
2381 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2382 (ede-pmake-insert-variable-shared): Use it.
2383
2384 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2385 for lexical table iff table is nil.
2386
2387 2009-10-01 Glenn Morris <rgm@gnu.org>
2388
2389 * semantic/bovine/gcc.el
2390 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2391 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2392
2393 2009-10-03 Glenn Morris <rgm@gnu.org>
2394
2395 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2396 declaration, currently false.
2397
2398 2009-10-01 Glenn Morris <rgm@gnu.org>
2399
2400 * cedet-files.el (cedet-directory-name-to-file-name):
2401 * cedet-idutils.el (cedet-idutils-search)
2402 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2403 (cedet-idutils-version-check):
2404 * cedet.el (cedet-version):
2405 * data-debug.el (data-debug-insert-overlay-button)
2406 (data-debug-insert-overlay-list-button)
2407 (data-debug-insert-buffer-button)
2408 (data-debug-insert-buffer-list-button)
2409 (data-debug-insert-process-button, data-debug-insert-ring-button)
2410 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2411 (data-debug-insert-stuff-vector-button)
2412 (data-debug-insert-symbol-button, data-debug-insert-string)
2413 (data-debug-insert-number, data-debug-insert-lambda-expression)
2414 (data-debug-insert-nil, data-debug-insert-simple-thing)
2415 (data-debug-insert-custom, data-debug-edebug-expr):
2416 * ede.el (ede-auto-add-method, ede-project-class-files)
2417 (global-ede-mode-map, ede-new, ede-debug-target)
2418 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2419 * semantic.el (semantic-minimum-working-buffer-size)
2420 (semantic-fetch-tags, semantic-submode-list)
2421 (semantic-default-submodes):
2422 * ede/source.el (ede-source-match):
2423 * ede/project-am.el (project-am-type-alist, project-add-file)
2424 (project-am-package-info):
2425 * ede/proj.el (ede-proj-target, project-new-target):
2426 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2427 * ede/proj-comp.el (ede-current-build-list):
2428 * ede/makefile-edit.el (makefile-move-to-macro):
2429 * ede/files.el (ede-toplevel-project-or-nil):
2430 * ede/cpp-root.el (initialize-instance):
2431 * ede/autoconf-edit.el (autoconf-find-last-macro)
2432 (autoconf-parameter-strip, autoconf-insert-new-macro):
2433 * semantic/wisent.el (wisent-lex-eoi):
2434 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2435 (semantic-show-parser-state-mode):
2436 * semantic/texi.el (semantic-texi-environment-regexp):
2437 * semantic/tag.el (semantic-tag-new-variable)
2438 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2439 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2440 (semantic--tag-deep-copy-tag-list)
2441 (semantic-tag-components-with-overlays-default):
2442 * semantic/symref.el (semantic-symref-find-text):
2443 * semantic/senator.el (senator-yank-tag)
2444 (senator-transpose-tags-up):
2445 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2446 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2447 * semantic/sb.el (semantic-sb-autoexpand-length):
2448 * semantic/lex.el (semantic-lex-comment-regex)
2449 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2450 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2451 * semantic/lex-spp.el
2452 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2453 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2454 * semantic/idle.el
2455 (semantic-idle-summary-current-symbol-info-brutish)
2456 (semantic-idle-summary-current-symbol-info-default):
2457 * semantic/grammar.el (semantic-grammar-recreate-package)
2458 (semantic--grammar-macro-compl-dict):
2459 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2460 * semantic/format.el (semantic-format-tag-custom-list)
2461 (semantic-format-tag-canonical-name-default):
2462 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2463 (semantic-find-tags-for-completion)
2464 (semantic-find-tags-by-scope-protection-default)
2465 (semantic-deep-find-tags-for-completion):
2466 * semantic/edit.el
2467 (semantic-edits-incremental-reparse-failed-hook)
2468 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2469 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2470 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2471 * semantic/dep.el (semantic-dependency-include-path):
2472 * semantic/db.el (semanticdb-default-find-index-class)
2473 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2474 (semanticdb-project-roots):
2475 * semantic/db-find.el (semanticdb-implied-include-tags)
2476 (semanticdb-find-adebug-insert-scanned-tag-cons)
2477 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2478 (semanticdb-brute-deep-find-tags-for-completion):
2479 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2480 * semantic/ctxt.el (semantic-beginning-of-context-default)
2481 (semantic-end-of-context-default)
2482 (semantic-ctxt-current-function-default)
2483 (semantic-ctxt-scoped-types-default):
2484 * semantic/complete.el (semantic-complete-read-tag-engine)
2485 (semantic-complete-inline-tag-engine)
2486 (semantic-complete-inline-custom-type)
2487 (semantic-complete-read-tag-analyzer):
2488 * semantic/chart.el (semantic-chart-tags-by-class)
2489 (semantic-chart-database-size):
2490 * semantic/analyze.el (semantic-analyze-current-symbol)
2491 (semantic-analyze-current-context):
2492 * semantic/symref/list.el (semantic-symref)
2493 (semantic-symref-hide-buffer, semantic-symref-symbol):
2494 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2495 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2496 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2497 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2498 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2499 (semantic-c-dereference-template):
2500 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2501 (semantic--analyze-refs-full-lookup-with-parents)
2502 (semantic--analyze-refs-full-lookup-simple):
2503 * semantic/analyze/complete.el
2504 (semantic-analyze-possible-completions):
2505 * srecode/table.el (srecode-mode-table-new):
2506 * srecode/srt.el (srecode-read-variable-name):
2507 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2508 * srecode/semantic.el (srecode-semantic-handle-:tag)
2509 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2510 * srecode/map.el (srecode-current-map):
2511 * srecode/insert.el (srecode-insert)
2512 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2513 (srecode-template-inserter-point-override)
2514 (srecode-insert-include-lookup):
2515 * srecode/getset.el (srecode-auto-choose-class):
2516 * srecode/extract.el (srecode-inserter-extract):
2517 * srecode/document.el
2518 (srecode-document-autocomment-return-last-alist)
2519 (srecode-document-autocomment-param-type-alist)
2520 (srecode-document-insert-function-comment)
2521 (srecode-document-insert-variable-one-line-comment)
2522 (srecode-document-function-name-comment):
2523 * srecode/dictionary.el (srecode-create-dictionary)
2524 (srecode-compound-toString):
2525 * srecode/compile.el (srecode-flush-active-templates):
2526 * srecode/args.el (srecode-semantic-handle-:blank):
2527 Doc/message fixes.
2528
2529 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2530
2531 * semantic/wisent/javat-wy.el
2532 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2533
2534 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * srecode/expandproto.el: Fix provide statement.
2537
2538 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2539
2540 * ede/srecode.el: Fix provide statement.
2541
2542 2009-09-30 Glenn Morris <rgm@gnu.org>
2543
2544 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
2545 * ede/proj-aux.el (ede-aux-source):
2546 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2547 (ede-misc-source):
2548 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
2549 (semantic-mrub-switch-tags): Fix doc typos.
2550
2551 * semantic/db-global.el (data-debug-new-buffer)
2552 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2553 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2554
2555 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2556
2557 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2558 use of CL function `remove-if-not'.
2559
2560 2009-09-29 Glenn Morris <rgm@gnu.org>
2561
2562 * semantic/symref/idutils.el:
2563 * semantic/symref/list.el: Relicense under GPLv3+.
2564
2565 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2566
2567 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2568 * semantic/tag-file.el (semanticdb-table-child-p):
2569 * srecode/compile.el (srecode-template-inserter-newline-child-p):
2570 Mark declarations not understood by check-declare.
2571
2572 2009-09-28 Eric Ludlam <zappo@gnu.org>
2573
2574 CEDET (development tools) package merged.
2575
2576 * *.el:
2577 * ede/*.el:
2578 * semantic/*.el:
2579 * srecode/*.el: New files.
2580
2581 2009-09-28 Eric Ludlam <zappo@gnu.org>
2582
2583 * cedet-cscope.el:
2584 * cedet-files.el:
2585 * cedet-global.el:
2586 * cedet-idutils.el:
2587 * data-debug.el:
2588 * inversion.el:
2589 * mode-local.el:
2590 * pulse.el: New files.
2591
2592 ;; Local Variables:
2593 ;; coding: utf-8
2594 ;; End:
2595
2596 Copyright (C) 2009-2013 Free Software Foundation, Inc.
2597
2598 This file is part of GNU Emacs.
2599
2600 GNU Emacs is free software: you can redistribute it and/or modify
2601 it under the terms of the GNU General Public License as published by
2602 the Free Software Foundation, either version 3 of the License, or
2603 (at your option) any later version.
2604
2605 GNU Emacs is distributed in the hope that it will be useful,
2606 but WITHOUT ANY WARRANTY; without even the implied warranty of
2607 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2608 GNU General Public License for more details.
2609
2610 You should have received a copy of the GNU General Public License
2611 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.