1 2013-09-12 Glenn Morris <rgm@gnu.org>
3 * semantic/find.el (semantic-find-first-tag-by-name):
4 Replace obsolete function assoc-ignore-case with assoc-string.
6 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8 * semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
9 (semantic-grammar-mode-syntax-table): Rename from
10 semantic-grammar-syntax-table.
11 (semantic-grammar-mode-map): Rename from semantic-grammar-map.
12 * data-debug.el (data-debug-mode-map): Rename from data-debug-map.
13 (data-debug-mode): Use define-derived-mode.
15 2013-09-05 Glenn Morris <rgm@gnu.org>
17 * semantic/fw.el (semantic-make-local-hook):
18 Simplify by dropping Emacs <= 20.
20 2013-07-29 David Engster <deng@randomsample.de>
22 * lisp/cedet/cedet.el (cedet-packages): Remove speedbar since its
23 development does no longer happens in CEDET upstream but in Emacs
24 proper. Also remove cedet-contrib and cogre since those are only
27 * semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
28 has a parent, return a fully qualified name.
30 * semantic/decorate/mode.el
31 (semantic-decoration-on-includes-p-default)
32 (semantic-decoration-on-includes-highlight-default): Declare for
35 * semantic/wisent/python.el (semantic/format): New require.
37 2013-07-27 Eric Ludlam <zappo@gnu.org>
39 * lisp/cedet/semantic/edit.el (semantic-edits-splice-remove):
40 Wrap debug message removing middle tag in semantic-edits-verbose-flag
43 2013-07-27 David Engster <deng@randomsample.de>
45 * semantic/bovine/el.el (semantic/db-el): New require.
47 * semantic/db-el.el (semanticdb-normalize-one-tag): It might be
48 that a symbol comes from a file but cannot be found in its table.
49 This happens for instance when a symbol was dynamically created
50 through a macro like `defstruct'. In this case, return the
52 (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
53 the argument list is not available until the file is loaded.
55 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
57 * data-debug.el, cedet-idutils.el: Neuter the "Version:" header.
59 2013-06-19 Glenn Morris <rgm@gnu.org>
61 * semantic/idle.el (define-semantic-idle-service):
62 No need to use eval-and-compile, progn will do.
64 * semantic/decorate/mode.el (define-semantic-decoration-style):
66 (define-semantic-decoration-style): 'function is not an accepted
67 value for autoload's "type" argument. Might as well use the default.
69 2013-06-18 Glenn Morris <rgm@gnu.org>
71 * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
72 Remove unused free variable `symlist'.
74 2013-06-02 Eric Ludlam <zappo@gnu.org>
76 * semantic/edit.el (semantic-change-function):
77 Use `save-match-data' around running hooks.
79 * semantic/decorate/mode.el
80 (semantic-decorate-style-predicate-default)
81 (semantic-decorate-style-highlighter-default): New.
82 (semantic-decoration-mode): Do not require
83 `semantic/decorate/include' anymore.
84 (semantic-toggle-decoration-style): Error if an unknown decoration
86 (define-semantic-decoration-style): Add new :load option.
87 When :load is specified, add autoload tokens for the definition
88 functions so that code is loaded when the mode is used.
89 (semantic-decoration-on-includes): New autoload definition for
90 highlighting includes.
92 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
93 characters to appear after the tested variable.
95 * semantic/ede-grammar.el (project-compile-target): Calculate full
96 src name via ede-expand-filename instead of the crutch of the
97 current buffer. Enables this target to compile in batch mode.
100 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of
101 remote symbol with `save-excursion'.
102 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of
103 using directory-files on each found mode pattern, collect all the
104 patterns for the current mode, and then for each file, see if it
105 matches any of them. If it does, parse the file. (Patch
106 inspiration from Tomasz Gajewski.)
108 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
109 (semantic-ctxt-current-symbol-default): New.
111 * semantic/bovine/el.el (semantic-default-elisp-setup):
112 Add autoload cookie. Explain existence.
113 (footer): Add local variable for loaddefs.
115 * semantic/db.el (semanticdb-file-table-object): Add new filter,
116 only checking for regular files too.
118 * semantic/wisent/python.el
119 (semantic-format-tag-abbreviate): New override. Cuts back on size
122 * srecode/compile.el (srecode-compile-templates): Fix warning
123 punctuation. Remove status messages to clean up testing output.
125 * ede/base.el (ede-project-placeholder-cache-file): Update doc to
127 (ede-save-cache): Disable cache save if file is nil.
129 * ede.el (ede-initialize-state-current-buffer): Flush deleted
131 (global-ede-mode): Always append our find-file-hook to the end.
132 (ede-flush-deleted-projects): New command.
134 * ede/cpp-root.el (ede-preprocessor-map): Protect against init
137 * ede/proj.el (ede-proj-target): Add a new "custom" option for
138 custom symbols representing a compiler or linker instead of
139 restricting things to only the predefined compilers and linkers.
141 2013-06-02 David Engster <dengste@eml.cc>
143 * semantic.el (semantic-mode-map): To avoid showing showing
144 Development menu twice, only disable menu item if menu-bar is
145 actually enabled, otherwise the popup 'global menu' might display
146 a disabled Development menu.
148 * srecode/srt-wy.el: Regenerate.
150 2013-06-02 Pete Beardmore <elbeardmorez@msn.com>
152 * semantic/complete.el
153 (semantic-displayor-show-request): Fix which slot in obj is set to
156 2013-06-01 Glenn Morris <rgm@gnu.org>
158 * semantic/grammar.el (semantic-grammar-complete):
159 Replace the obsolete function lisp-complete-symbol.
161 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
163 * srecode/args.el, srecode/java.el: Require ede.
165 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
167 2013-05-24 Glenn Morris <rgm@gnu.org>
169 * semantic/bovine/grammar.el (bovine-make-parsers):
170 Avoid free variable `copyright-end'.
172 * semantic/bovine/c-by.el (semantic-parse-region):
173 * semantic/wisent/javat-wy.el (semantic-parse-region):
174 * semantic/wisent/js-wy.el (semantic-parse-region):
175 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
177 2013-05-22 Glenn Morris <rgm@gnu.org>
179 * ede/speedbar.el (ede-file-find, ede-tag-find):
180 * semantic/sb.el (semantic-sb-token-jump):
181 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
183 2013-05-15 Glenn Morris <rgm@gnu.org>
185 * semantic/symref/list.el (semantic-symref-auto-expand-results)
186 (semantic-symref-results-mode-hook)
187 (semantic-symref-results-summary-function): Fix :group.
189 2013-05-14 Glenn Morris <rgm@gnu.org>
191 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
193 2013-05-11 Glenn Morris <rgm@gnu.org>
195 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
196 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
197 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
198 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
200 * ede/locate.el (cedet-cscope-version-check)
201 (cedet-cscope-support-for-directory):
202 * semantic/grammar.el (semantic-grammar-wy--install-parser):
205 * ede/project-am.el (project-am-compile-project-command): Fix :type.
207 2013-05-09 Glenn Morris <rgm@gnu.org>
209 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
212 2013-04-27 David Engster <deng@randomsample.de>
214 * semantic/complete.el
215 (semantic-collector-calculate-completions-raw):
216 If `completionslist' is not set, refresh the cache if necessary and
217 use it for completions. This fixes the
218 `semantic-collector-buffer-deep' collector (bug#14265).
220 2013-03-26 Leo Liu <sdl.web@gmail.com>
222 * semantic/senator.el (senator-copy-tag-to-register):
223 Move register handling logic from register.el. (Bug#14052)
225 2013-03-21 Eric Ludlam <zappo@gnu.org>
227 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
228 `senator-tag-ring' is bound.
229 (semantic-parse-region-default): Stop reversing the output of
231 (semantic-repeat-parse-whole-stream): Append returned tags
232 differently, so they come out in the right order.
234 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
235 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
236 exclude tags belonging to above filtered classes.
238 * semantic/find.el (semantic-filter-tags-by-class): New function.
240 * semantic/tag-ls.el (semantic-tag-similar-p-default):
241 Add short-circuit in case tag1 and 2 are identical.
243 * semantic/analyze/fcn.el
244 (semantic-analyze-dereference-metatype-stack):
245 Use `semantic-tag-similar-p' instead of 'eq' when comparing two tags
246 during metatype evaluation in case they are the same, but not the
247 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
249 * semantic/db-find.el (semanticdb-partial-synchronize):
250 Fix require to semantic/db-typecache to be correct.
251 (semanticdb-find-tags-external-children-of-type): Make this a
252 brutish search by default.
255 (semantic-tag-external-member-children-default): When calling
256 `semanticdb-find-tags-external-children-of-type', pass in the
257 input tag as the place to start searching for externally defined
260 * semantic/db-file.el (semanticdb-default-save-directory):
261 Doc fix: Add ref to default value.
263 * semantic/complete.el (semantic-complete-post-command-hook):
264 When detecting if cursor is outside completion area, do so if cursor
265 moves before start of overlay, or the original starting location
266 of the overlay (i.e., if user deletes past beginning of the
268 (semantic-complete-inline-tag-engine): Initialize original start
269 of `semantic-complete-inline-overlay'.
271 * semantic/bovine/c.el (semantic-c-describe-environment):
272 Update some section titles. Test semanticdb table before printing it.
273 (semantic-c-reset-preprocessor-symbol-map): Update
274 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
275 the files contributing to its value.
276 (semantic-c-describe-environment): If there is an EDE project but
277 no spp symbols from it, say so.
279 * srecode/args.el (srecode-semantic-handle-:project): New argument
280 handler. Provide variable values if not in an EDE project.
282 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
285 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
286 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
288 * srecode/map.el (srecode-map-validate-file-for-mode):
289 Force semantic to load if it is not active in the template being added
292 * srecode/srt.el: Add local variables for setting the autoload
294 (srecode-semantic-handle-:srt): New autoload cookie.
296 * ede.el (ede-apply-preprocessor-map): Apply map to
297 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
298 system one. Add require for semantic.
300 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
301 has both a version variable and a Version: comment, always use
304 * ede/cpp-root.el (ede-set-project-variables): Delete.
305 `ede-preprocessor-map' does the job this function was attempting
306 to do with :spp-table.
307 (ede-preprocessor-map): Update file tests to provide better
308 messages. Do not try to get symbols from a file that is the file
309 in the current buffer.
311 * ede/base.el (ede-project-placeholder): Add more documentation to
313 (ede-load-cache): Use `insert-file-contents' instead of
314 `find-file-noselect' in order to avoid activating other tools.
316 2013-03-21 David Engster <deng@randomsample.de>
318 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
319 new variable 'this' if we are in an inline member function.
320 For detecting this, we check overlays at point if there is a class
321 spanning the current function. Also, the variable 'this' has to
324 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
325 when querying g++ for defines returns an error.
327 * srecode/srt-mode.el:
328 * srecode/compile.el:
331 * semantic/complete.el:
337 * srecode/compile.el:
338 * semantic/decorate/include.el:
340 * semantic/adebug.el:
342 * srecode/dictionary.el:
343 * semantic/ede-grammar.el:
345 * semantic/db-find.el:
346 * semantic/db-file.el:
347 * semantic/complete.el:
348 * semantic/bovine/c.el:
349 * semantic/analyze.el:
355 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
356 to `eieio-object-name', `object-set-name-string' to
357 `eieio-object-set-name-string', `object-class' to
358 `eieio-object-class', `class-parent' to `eieio-class-parent',
359 `class-parents' to `eieio-class-parents', `class-children' to
360 `eieio-class-children', `object-name-string' to
361 `eieio-object-name-string', `object-class-fast' to
362 `eieio--object-class'. Also replace direct access with new
365 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
367 * ede/cpp-root.el (ede-project-autoload, initialize-instance):
368 Fix EDE file symbol to match rename. Fix ede-cpp-root symbol to
369 include -project in name.
371 2013-03-21 Alex Ott <alexott@gmail.com>
373 * cedet-files.el (cedet-files-list-recursively): New.
374 Recursively find files whose names are matching to given regex.
376 * ede.el (ede-current-project): Rewrite to avoid imperative style.
378 * ede/files.el (ede-find-file): Simplify code.
380 * ede/base.el (ede-normalize-file/directory): Add function to
381 normalize :file or :directory slots if they are missing.
383 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
385 (project-compile-project): Compiles project using value specified
386 in :compule-command slot or in compile-command local variable.
387 Value of slot or local variable could be string or function that
388 receives project and should return string that will be invoked as
390 (project-compile-target): Invokes compilation of whole project.
392 * ede/files.el (ede-find-project-root): New function to
393 find root of project that contains specific file.
394 (ede-files-find-existing): New function which checks presence of
395 given directory in the list of registered projects.
397 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
399 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
401 * semantic/wisent/javat-wy.el: Regenerate.
403 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
405 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
408 2012-11-16 David Engster <deng@randomsample.de>
410 * semantic/symref/list.el (semantic-symref-symbol):
411 Use `semantic-complete-read-tag-project' instead of
412 `semantic-complete-read-tag-buffer-deep', since the latter is not
415 * semantic/symref.el (semantic-symref-result-get-tags):
416 Use `find-buffer-visiting' to follow symbolic links.
418 * semantic/fw.el (semantic-find-file-noselect): Always set
419 `enable-local-variables' to `:safe' when loading files.
421 2012-11-16 Glenn Morris <rgm@gnu.org>
423 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
424 * semantic/util.el (semantic-describe-buffer):
425 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
426 (semantic-default-c-setup):
427 Use new names for hooks rather than obsolete aliases.
429 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
431 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
432 * semantic/grammar.el (semantic-grammar-mode):
433 * semantic/util-modes.el (semantic-highlight-edits-mode)
434 (semantic-show-parser-state-mode): Avoid obsolete name
435 semantic-edits-new-change-hooks (bug#12869).
437 2012-11-13 Glenn Morris <rgm@gnu.org>
439 * srecode/srt-mode.el (srecode-template-mode):
440 Don't change global values of comment-start, comment-end. (Bug#12781)
442 2012-10-25 David Engster <deng@randomsample.de>
444 * semantic/analyze.el (semantic-analyze-dereference-alias):
445 New function to dereference aliases.
446 (semantic-analyze-current-context-default): Use it.
448 * semantic/grammar.el (semantic-grammar-create-package):
449 * srecode/compile.el (srecode-compile-templates): Throw a proper
450 error if semantic-mode is not enabled (bug#9968).
452 Compiler warning fixes:
454 * semantic.el (semantic-elapsed-time): Make it a defsubst.
456 * srecode/dictionary.el (srecode-adebug-dictionary):
457 Remove require for `semantic'.
460 * srecode/insert.el: Declare functions from `data-debug'.
462 * semantic/grammar.el: Require `help-fns'. Declare functions from
463 `eldoc', which is required in function body.
467 * semantic/grammar-wy.el:
468 * semantic/db-file.el:
470 * semantic/chart.el: Fix requires.
472 * ede/locate.el: Remove useless requires. Declare functions
473 instead and require in functions when needed.
475 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
477 * semantic/db-file.el (semanticdb-save-database-functions):
478 * semantic/lex.el (semantic-lex-reset-functions):
479 * semantic/edit.el (semantic-change-functions)
480 (semantic-edits-new-change-functions)
481 (semantic-edits-delete-change-functions)
482 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
484 2012-10-14 David Engster <deng@randomsample.de>
486 * semantic.el (semantic-error-if-unparsed): New function.
487 Raise error if buffer was not parsed by Semantic (bug #12045).
488 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
489 only if buffer was parsed. Also, replace ':active' with ':enable'
492 * semantic/wisent/python.el
493 (semantic-python-get-system-include-path):
494 Use `python-shell-internal-send-string' if available to query Python
497 * semantic/senator.el (senator-next-tag, senator-previous-tag)
498 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
500 * semantic/complete.el (semantic-complete-jump-local)
501 (semantic-complete-jump, semantic-complete-jump-local-members)
502 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
503 (semantic-complete-inline-project): Fix autoload cookie.
505 * semantic/analyze/complete.el
506 (semantic-analyze-possible-completions): Check if buffer was
507 parsed. Only raise an error if function was called interactively,
508 otherwise silently return nil.
510 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
512 2012-10-08 David Engster <deng@randomsample.de>
514 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
515 `emacs-lisp-mode-hook'. This was accidentally removed during the
516 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
518 2012-10-07 David Engster <deng@randomsample.de>
520 * semantic/wisent/python.el (semantic-ctxt-current-function)
521 (semantic-ctxt-current-assignment): New overrides, simply
522 returning nil. The defaults do not work correctly and can send
523 the parser in an infinite loop (bug#12458).
525 * semantic/ede-grammar.el (project-compile-target): Fix grammar
526 compilation after introduction of %provide statement.
528 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
529 function for `f90-mode', since the parser only exists upstream.
531 2012-10-06 Glenn Morris <rgm@gnu.org>
533 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
535 * semantic/complete.el (semantic-displayor-tooltip-mode)
536 (semantic-displayor-tooltip-initial-max-tags)
537 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
538 * ede/linux.el (project-linux): Add missing group :version tag.
540 2012-10-06 Chong Yidong <cyd@gnu.org>
542 * semantic/bovine/grammar.el:
543 * semantic/wisent/grammar.el: Move from admin/grammars.
544 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
546 2012-10-02 Chong Yidong <cyd@gnu.org>
548 * srecode.el, ede.el: Restore Version header.
550 2012-10-01 Chong Yidong <cyd@gnu.org>
552 * semantic/bovine/c-by.el: Regenerate.
553 * semantic/bovine/make-by.el:
554 * semantic/bovine/scm-by.el:
555 * semantic/grammar-wy.el:
556 * semantic/wisent/javat-wy.el:
557 * semantic/wisent/js-wy.el:
560 2012-10-01 Eric Ludlam <zappo@gnu.org>
562 * cedet.el (cedet-version, cedet-packages): Update.
564 * cedet-global.el (cedet-gnu-global-version-check): Support newer
565 versions that have extra (parens) in the version string.
567 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
568 version number was found before calling inversion-check-version.
570 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
571 while inserting the thing, then clear modified bit.
572 (data-debug-map): Suppress the keymap.
573 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
574 (data-debug-contract-current-line): Inhibit read-only, then clear
577 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
578 to allow use in more kinds of buffers.
579 (ede-project-forms-menu): Add `Default configuration' menu item.
580 (ede-configuration-forms-menu): New, for use in above.
581 (ede-project-configurations-set): New command used from menu.
582 (ede-java-classpath): New conveninece for Java support.
583 (ede-apply-object-keymap): Combine keybindings from the project
584 and the target, not just whatever is local to the buffer.
585 (ede-apply-target-options): Call fcn to apply project local
587 (ede-reset-all-buffers): Remove arg.
588 (ede, ede-rescan-toplevel): Callers changed.
589 (ede-new-target): Fix bug where you couldn't call this from Dired.
590 (ede-add-file): Replace assignment of ede-object with generic call
591 to re-init the buffer.
592 (ede-find-target): If ede-object is set, run short-cut code
593 instead of `or' shortcut.
594 (ede-project-buffers): Return buffers belonging to input project,
595 not any buffer belonging to any project.
596 (ede-system-include-path, ede-apply-project-local-variables)
597 (ede-set-project-local-variable): New functions.
598 (ede-make-project-local-variable): Apply to toplevel if none
600 (ede-set): Make it interactive.
602 * ede/auto.el (ede-project-autoload): New class.
603 (ede-do-dirmatch): New method.
604 (ede-project-dirmatch-p): New function.
605 (ede-project-root-directory): Call it.
606 (ede-dir-to-projectfile): Don't call project file function if we
607 didn't match the root.
608 (ede-project-root-directory): Don't call a project's root function
609 if the tool in question isn't installed.
610 (ede-dir-to-projectfile): Don't call project file function if we
611 didn't match the root.
613 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
614 trailing `\' mid string, and replace with a space.
615 (autoconf-parameter-count): New function.
616 (autoconf-set-version): Use it.
618 * ede/base.el (ede-project): The :type of targets is now a list of
621 * ede/emacs.el (ede-emacs-load): Fix typo.
623 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
624 Protect against missing locator object.
625 (ede-get-locator-object): Protect against missing project.
626 (ede-flush-directory-hash): New command.
627 (ede-get-locator-object): Protect against missing project.
629 * ede/generic.el (ede-generic-config): Add configurable
631 (project-compile-project, project-compile-target)
632 (project-debug-target, project-run-target): New methods.
633 (ede-generic-get-configuration): Specify the class to load.
634 (ede-generic-new-autoloader): Use ede-add-project-autoload.
635 (ede-enable-generic-projects): Rename projects so as to never
636 match the edeproject-* projects.
638 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
639 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
641 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
642 (ede-proj-flush-autoconf): Disable local variables when loading
643 the autoconf lisp compile script.
645 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
646 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
647 (-makefile-archive, -makefile-shared-object)
648 (ede-proj-target-makefile-info, -grammar): New autoloads.
649 (ede-proj-project): Inherit from eieio-persistent-read.
650 Specify extension and header line.
651 (ede-proj-load, ede-proj-save): Replace with impl using
652 eieio-persistent-read.
654 * ede/project-am.el (project-add-file): Use ede-target-parent
655 instead of loading the project file.
657 * semantic.el (semantic-version): Update.
658 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
659 (navigate-menu): Add menu item for Stickyfunc mode.
661 * semantic/analyze/debug.el
662 (semantic-analyzer-debug-insert-include-summary):
663 Before dereferencing tableinner, make sure it has a value.
665 * semantic/analyze/refs.el
666 (semantic-analyze-tag-references-default): When doing a lookup,
668 (semantic--analyze-refs-full-lookup): Add optional noerror input
669 argument. Pass to to full-lookup-simple.
670 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
671 Ignore :typemodifiers during compare.
673 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
674 to looking back for comment chars.
675 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
676 (semantic--tag-attribute-similar-p): New.
677 (semantic-c-describe-environment): Handle list value of ede-object.
678 (semantic-lex-c-preprocessor-symbol-map-builtin):
679 Add __attribute_pure__.
681 * semantic/bovine/scm.el (semantic-format-tag-prototype):
682 Add parent and color argument. Pass them through.
684 * semantic/complete.el (semantic-collector-calculate-completions):
685 Search for more matches if new prefix is a substring of old one.
686 (semantic-complete-inline-project): New function.
688 * semantic/db-el.el (object-print): New method.
690 * semantic/db-file.el (semanticdb-load-database): Specify class.
692 * semantic/db-typecache.el
693 (semanticdb-abstract-table::semanticdb-typecache-find-method):
694 Allow proxied tags to be resolved during the search.
695 (semanticdb-typecache-complete-flush): Support missing or empty
696 pointmax slot, to allow for more database types.
698 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
699 (object-print): Allow child classes to overwrite the display of
700 the (%d tags) extra string.
701 (semanticdb-project-database): Specify :type for table.
702 (semanticdb-create-table-for-file): Specify file-truename.
703 (semanticdb-synchronize, semanticdb-partial-synchronize):
704 Restore code that refreshes references to include files.
706 * semantic/decorate/include.el
707 (semantic-decoration-on-fileless-includes): New face.
708 (semantic-decoration-on-fileless-include-map)
709 (semantic-decoration-on-fileless-include-menu): New variables.
710 (semantic-decoration-on-includes-highlight-default):
711 Support includes that have a table, but are not associated with a file.
712 (semantic-decoration-fileless-include-describe)
713 (semantic-decoration-fileless-include-menu): New functions.
714 (semantic-decoration-all-include-summary): Add arrows to indicate
715 the file associated with an include name.
718 (semantic-find-tags-by-scope-protection-default): Also filter on
719 package protection of the slot.
721 * semantic/java.el (semantic-java-expand-tag): If some type has a
722 fully qualified name, bust it up into one package and the type
725 * semantic/lex.el (define-lex-block-analyzer): Protect against
726 random extra close parenthesis.
728 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
729 the cursor is on the matched name.
731 * semantic/symref/list.el (semantic-symref-results-mode-map):
734 * semantic/tag-ls.el (semantic--tag-similar-names-p)
735 (semantic--tag-attribute-similar-p)
736 (semantic--tag-similar-types-p): New functions.
737 (semantic-tag-similar-ignorable-attributes): New variable.
738 (semantic-tag-protection-default): Add package concept to return
740 (semantic-tag-package-protected-p): New function.
741 (semantic-tag-full-package): New overload method.
742 (semantic-tag-full-package-default): New default for above.
743 (semantic-tag-full-name-default): Look for the full package name.
745 * semantic/tag.el (semantic-create-tag-proxy)
746 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
748 * semantic/util.el (semantic-describe-buffer):
749 Add semantic-new-buffer-fcn-was-run.
751 * semantic/wisent/java-tags.el (semantic-get-local-variables):
752 Add `this' to the local variable context.
753 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
755 * semantic/wisent/python.el (semantic-python-expand-tag):
758 * srecode/compile.el (srecode-compile-templates): Add "framework"
759 special variable support.
760 (srecode-compile-template-table): Support framework specifier.
762 * srecode/cpp.el (srecode-semantic-handle-:c)
763 (srecode-semantic-handle-:cpp): New functions.
764 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
766 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
768 * srecode/dictionary.el (initialize-instance): Remove bogus error
770 (srecode-create-section-dictionary): Remove unused function.
772 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
773 package variable. Add current_package variable.
775 * srecode/map.el (srecode-map-update-map): Specify the class.
777 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
779 * srecode/semantic.el (srecode-semantic-insert-tag):
780 Support system includes.
782 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
784 * srecode/table.el (srecode-template-table): Add :framework slot.
785 (srecode-dump): Dump it.
786 (srecode-mode-table): Add new modetables slot.
787 (srecode-get-mode-table): Find the mode, but also find all parent
788 modes, and merge the tables together in :tables from :modetables.
789 (srecode-make-mode-table): Init :modetables.
790 (srecode-mode-table-find): Search in modetables.
791 (srecode-mode-table-new): Merge the differet files into the
794 2012-10-01 David Engster <deng@randomsample.de>
796 * ede.el (ede-apply-preprocessor-map): Check that
797 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
798 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
800 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
801 lexical-table even when the table doesn't need to be refreshed.
803 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
805 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
808 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
811 * ede/proj-elisp.el (ede-proj-target-elisp):
812 Remove ede-emacs-preload-compiler.
813 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
815 (ede-emacs-compiler): Add 'require' macro to variables and pattern
816 rule. Add .elc object extension.
817 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
818 (ede-proj-makefile-insert-variables): Do not insert preload items.
819 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
821 * ede/util.el (ede-make-buffer-writable):
822 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
823 instead of calling toggle-read-only.
825 * semantic.el (semantic-fetch-tags): Use progress reporter only
826 when called interactively.
827 (semantic-submode-list): Add debugging modes.
828 (semantic-mode): Remove Semantic from after-change-functions.
829 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
830 set semantic-new-buffer-fcn-was-run to nil.
832 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
833 (semantic-analyze-tag-prototype-p-default): Remove.
834 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
835 Use semantic-tag-prototype-p.
837 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
838 Ensure semantic-mode is on before getting preprocessor symbols.
839 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
840 (semantic-c-convert-spp-value-to-hideif-value)
841 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
842 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
843 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
844 regular expression parsing.
845 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
846 (semantic-expand-c-tag): Check if tag is non-nil before adding it
848 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
849 New functions, copied from semantic-expand-c-tag.
850 (semantic-find-tags-included): New override which also searches
851 for include tags inside of namespaces.
852 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
853 (semanticdb-find-table-for-include): New override.
855 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
857 * semantic/complete.el (semantic-complete-post-command-hook):
858 Exit completion when user has deleted all characters from the prefix.
859 (semantic-displayor-focus-request): Return to previous window when
862 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
863 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
865 * semantic/db-file.el (semanticdb-create-database):
866 Use semantic-tag-version instead of just semantic-version as the
867 initializer for the :semantic-tag-version slot.
869 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
870 Delegate `include' to semantic-find-tags-included, which by
871 default will just call semantic-find-tags-by-class.
873 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
874 when calling semantic-find-file-noselect. This avoids the "file
875 is write protected" messages when parsing system header files,
876 which might easily be mistaken to mean the currently loaded file.
877 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
878 message when running interactively.
880 * semantic/decorate/mode.el (semantic-decoration-mode):
881 Activate decoration of includes by default.
883 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
884 Remove comment delimiter at the end of the text.
886 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
887 Change aux- and pre-load-packages.
888 (ede-proj-makefile-dependencies): Update pattern rule so that
889 resulting parsers are also byte-compiled.
890 (semantic-ede-grammar-compiler-bovine)
891 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
892 pattern, since this is already covered by the elisp compiler.
893 (project-compile-target): Add compatibility code for Emacs 23,
894 which does not have `byte-recompile-file'.
895 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
896 to raise max-specpdl-size and max-lisp-eval-depth.
898 * semantic/find.el (semantic-find-tags-included):
901 * semantic/fw.el (semantic-alias-obsolete)
902 (semantic-varalias-obsolete): Use byte-compile-warn.
903 (semantic-find-file-noselect): Disable font lock by calling
904 global-font-lock-mode.
906 * semantic/grammar.el (semantic-grammar-create-package):
908 (semantic-grammar-batch-build-one-package): When generating
909 parsers in batch-mode, ignore version control and make sure we do
910 not use cached versions.
912 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
914 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
915 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
916 (semantic-lex-spp-lex-text-string): Instead of only setting the
917 lexer, call the major mode's setup function.
919 * semantic/scope.el (semantic-analyze-scoped-types-default):
920 Use semantic-tag-prototype-p.
921 (semantic-analyze-scope-nested-tags-default): Make sure we don't
922 return tags we already have in scopetypes.
924 * semantic/symref/filter.el
925 (semantic-symref-test-count-hits-in-tag): Restore.
927 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
928 Use most-positive-fixnum if available.
930 * semantic/wisent/javascript.el (semantic-tag-protection)
931 (semantic-analyze-scope-calculate-access)
932 (semantic-ctxt-current-symbol): New overrides.
934 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
935 Rewrite to fix byte-compiler warning.
937 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
939 * ede/linux.el (project-linux): New group.
940 (project-linux-compile-target-command)
941 (project-linux-compile-project-command): New options.
942 (project-compile-project, project-compiler-target): New methods.
944 * inversion.el (inversion-decoders): New regexps for SXEmacs.
945 (inversion-package-version): More verbose error message.
946 (inversion-<): Deal with new special cases.
947 (inversion-require-emacs): New argument sxemacs-ver; use it.
949 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
951 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
953 2012-10-01 William Xu <william.xwl@gmail.com>
955 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
957 (semantic-gcc-setup): If the first attempt at calling cpp fails,
960 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
963 (semantic-idle-breadcrumbs--display-in-header-line):
964 Escape %-characters to avoid erroneous expansion in header line.
965 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
967 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
968 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
969 (semantic-python-private-p, semantic-python-instance-variable-p)
970 (semantic-python-docstring-p): New functions.
972 * srecode/find.el (srecode-user-template-p): New function.
973 (srecode-all-template-hash): Accept new optional argument
974 predicate; return only templates matching the predicate.
975 (srecode-read-template-name): Only retrieve templates matching
976 srecode-user-template-p.
978 * srecode/insert.el (srecode-insert-show-error-report)
979 (srecode-insert-report-error): New functions.
980 (srecode-insert-variable-secondname-handler)
981 (srecode-insert-method, srecode-insert-ask-default)
982 (srecode-insert-variable-secondname-handler)
983 (srecode-insert-subtemplate, srecode-insert-method-helper)
984 (srecode-insert-include-lookup): Use them.
986 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
988 * semantic/wisent/python.el
989 (semantic-python-get-system-include-path): Add Python3k support.
991 2012-10-01 Alexander Haeckel <_@_> (tiny change)
993 * srecode/getset.el (srecode-query-for-field): Return the first
994 tag found by name from all children tags.
996 2012-10-01 Dale Sedivec <dale@codefu.org>
998 * semantic/wisent/python.el (wisent-python-string-start-re)
999 (wisent-python-string-re, wisent-python-forward-string)
1000 (wisent-python-forward-line,wisent-python-lex-string):
1002 (wisent-python-forward-balanced-expression): New function.
1004 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
1006 * semantic/complete.el (semantic-collector-calculate-completions):
1007 Search for additional matches if new prefix is a substring of the
1009 (semantic-displayor-next-action): Immediately show more
1010 completions after user presses TAB the first time.
1011 (semantic-displayor-tooltip-mode)
1012 (semantic-displayor-tooltip-initial-max-tags)
1013 (semantic-displayor-tooltip-max-tags): New defcustoms.
1014 (semantic-displayor-tooltip): Use new variables as initforms.
1015 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
1017 (semantic-displayor-show-request): Display completions according
1018 to new modes, and make variable names clearer.
1019 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
1020 Use new max-tags-initial slot.
1022 * semantic/idle.el (semantic-idle-local-symbol-highlight):
1023 Make sure there actually is a tag at point.
1024 (semantic-idle-completion-list-default): Report errors as messages
1025 if semantic-idle-scheduler-verbose-flag is non-nil.
1027 2012-10-01 Richard Kim <emacs18@gmail.com>
1029 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
1030 Add optional NOERROR argument.
1032 2012-10-01 Alex Ott <alexott@gmail.com>
1034 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
1037 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1039 * semantic/db-find.el (semanticdb-find-default-throttle):
1041 (semanticdb-strip-find-results): Check for existing :filename
1042 attribute, so that file information from GNU Global is not lost.
1044 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1046 * ede/base.el (ede-with-projectfile): Use backquote forms.
1048 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1050 inaccessable -> inaccessible spelling fix (Bug#10052)
1051 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
1052 Rename from wisent-inaccessable-symbols, fixing a misspelling.
1055 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
1057 * ede/project-am.el: Fix typo.
1059 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1061 Rename configure.in to configure.ac (Bug#11603).
1062 * ede/autoconf-edit.el (autoconf-find-query-for-program)
1063 (autoconf-new-program):
1064 * ede/emacs.el (ede-emacs-version):
1065 * ede/proj.el (ede-proj-setup-buildenvironment):
1066 * ede/project-am.el (project-am-autoconf-file-options):
1067 Prefer configure.ac to configure.in.
1069 2012-03-12 David Engster <deng@randomsample.de>
1071 * semantic/db-find.el
1072 (semanticdb-find-translate-path-brutish-default): If we don't yet
1073 have a proper table for PATH, use `semanticdb-current-database'
1074 instead (bug #10343).
1076 2012-03-11 David Engster <deng@randomsample.de>
1078 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
1079 child-mode of `javascript-mode' (bug #8445).
1081 2012-02-28 Glenn Morris <rgm@gnu.org>
1083 * semantic/db.el (semanticdb-search-results-table):
1084 Doc fix (standardize possessive apostrophe usage).
1086 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
1088 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
1091 2012-01-29 David Engster <deng@randomsample.de>
1093 Fix require error when using srecode-insert (Bug#9967).
1094 * srecode/insert.el: Require srecode/filters.
1095 * srecode/filters.el: Drop two requires.
1097 2012-01-09 Eric Ludlam <zappo@gnu.org>
1099 * ede.el (ede-project-directories): New option.
1100 (ede-directory-safe-p): Check it.
1101 (ede-initialize-state-current-buffer, ede, ede-new)
1102 (ede-check-project-directory, ede-rescan-toplevel)
1103 (ede-load-project-file, ede-parent-project, ede-current-project):
1104 (ede-target-parent): Avoid loading in a project unless it is safe,
1105 since it may involve malicious code. This security flaw was
1106 pointed out by Hiroshi Oota.
1108 * ede/auto.el (ede-project-autoload): Add safe-p slot.
1109 (ede-project-class-files): Projects using Project.ede are unsafe.
1110 (ede-auto-load-project): New method.
1112 * ede/simple.el (ede-project-class-files): Mark as unsafe.
1114 2011-12-19 Sam Steingold <sds@gnu.org>
1116 * semantic/edit.el (semantic-edits-incremental-parser): Add the
1117 autoload cookie, necessary for JDEE.
1119 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1121 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
1123 2011-11-26 Chong Yidong <cyd@gnu.org>
1125 * semantic/wisent/python-wy.el:
1126 * semantic/wisent/js-wy.el:
1127 * semantic/wisent/javat-wy.el:
1128 * semantic/bovine/c-by.el:
1129 * semantic/grammar-wy.el: Regenerate.
1131 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1133 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
1135 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1137 * cedet-cscope.el (cedet-cscope-version-check):
1138 * cedet-global.el (cedet-global-min-version)
1139 (cedet-gnu-global-version-check):
1140 * cedet.el (cedet-version):
1141 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
1142 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
1143 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
1144 (ede-add-project-to-global-list, ede-map-all-subprojects):
1145 * inversion.el (inversion-check-version):
1146 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
1147 (define-overloadable-function):
1148 * pulse.el (pulse-flag, pulse):
1149 * semantic.el (semantic-elapsed-time, semantic-parse-region)
1151 * ede/proj-comp.el (ede-compilation-program):
1152 * semantic/debug.el (semantic-debug-parser-go)
1153 (semantic-debug-parser-fail, semantic-debug-parser-quit)
1154 (semantic-debug-parser-abort):
1155 * semantic/idle.el (semantic-idle-core-handler):
1156 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1159 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1161 * semantic/lex.el (semantic-lex-tokens):
1162 * semantic/tag-ls.el (semantic-tag-protected-p):
1163 * srecode/mode.el (srecode-prefix-map): Fix typos.
1165 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1167 * ede/project-am.el (project-compile-target-command): Fix typo.
1169 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1171 * ede/auto.el (ede-project-autoload):
1172 * ede/proj-comp.el (ede-makefile-rule):
1173 * semantic/analyze.el (semantic-analyze-current-context):
1174 * semantic/ctxt.el (semantic-get-local-variables):
1175 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1177 2011-11-03 David Engster <dengste@eml.cc>
1181 * srecode/template.el:
1183 * srecode/insert.el:
1184 * srecode/document.el:
1185 * srecode/dictionary.el:
1186 * srecode/compile.el:
1187 * semantic/wisent/java-tags.el:
1190 * semantic/lex-spp.el:
1193 * semantic/db-typecache.el:
1194 * semantic/analyze/complete.el:
1198 * ede/base.el: Fix filenames in comments and headers.
1200 * semantic/db-find.el:
1201 * srecode/insert.el (srecode-insert-include-lookup):
1202 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1203 comments and docstrings.
1205 * semantic/ctxt.el (semantic-end-of-context-default):
1206 * semantic/find.el (semantic-find-tags-by-scope-protection):
1207 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1210 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1211 (semanticdb-abstract-db-cache):
1212 * semantic/decorate/include.el
1213 (semantic-decoration-unknown-include-describe): Fix filenames in
1216 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
1217 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1218 added to the grammar-make-script.
1220 2011-10-23 Chong Yidong <cyd@gnu.org>
1222 * ede.el (ede-maybe-checkout): Function deleted;
1223 vc-toggle-read-only does not do version control now.
1225 * ede/util.el (ede-make-buffer-writable): Don't use
1226 vc-toggle-read-only.
1228 * ede/project-am.el (project-remove-file, project-add-file)
1229 (project-new-target): Don't call ede-maybe-checkout.
1231 2011-10-19 Chong Yidong <cyd@gnu.org>
1233 * ede.el (ede-minor-mode,global-ede-mode):
1234 * semantic.el (semantic-mode): Doc fix to reflect new
1235 define-minor-mode calling behavior.
1237 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1239 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1242 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1244 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1245 unconfigured projects if `global-ede-mode' is on (bug#8092).
1247 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1249 * semantic.el (semantic-elapsed-time): Rewrite using
1250 time-subtract and float-time.
1252 2011-05-11 Glenn Morris <rgm@gnu.org>
1254 * semantic/wisent/javascript.el (semantic-get-local-variables):
1255 Use define-mode-local-override rather than its obsolete alias.
1257 2011-05-10 Jim Meyering <meyering@redhat.com>
1259 Fix doubled-word typos.
1260 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1261 * semantic/complete.el (semantic-complete-read-tag-local-members):
1263 * ede.el (ede-auto-add-method): then then -> then
1265 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1267 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1268 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1269 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1270 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1271 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1273 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1275 * Version 23.3 released.
1277 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1280 Macroexpand before passing to byte-compile-form.
1282 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1284 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1285 * semantic/symref/list.el (semantic-symref-results-mode):
1288 2010-11-12 Glenn Morris <rgm@gnu.org>
1290 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1292 2010-11-10 Glenn Morris <rgm@gnu.org>
1294 * semantic/bovine/c.el: Test system-type with memq.
1296 2010-11-09 Glenn Morris <rgm@gnu.org>
1298 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1299 * semantic/grammar.el (semantic-grammar-epilogue):
1300 * ede/speedbar.el (ede-find-nearest-file-line):
1301 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1302 * ede/autoconf-edit.el (autoconf-delete-parameter):
1303 Use point-at-bol and point-at-eol.
1305 2010-11-07 Glenn Morris <rgm@gnu.org>
1307 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1309 2010-11-01 Glenn Morris <rgm@gnu.org>
1311 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1313 * semantic/symref/cscope.el (ede-toplevel):
1314 * semantic/symref.el (ede-toplevel):
1315 * semantic/tag-file.el (ede-toplevel):
1316 * ede.el (ede-toplevel): Fix declarations.
1318 2010-10-31 Glenn Morris <rgm@gnu.org>
1320 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1321 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1323 2010-10-31 Julien Danjou <julien@danjou.info>
1325 * ede/proj-elisp.el (project-compile-target):
1326 * semantic/ede-grammar.el (project-compile-target):
1327 Use `byte-recompile-file'.
1329 2010-10-31 Glenn Morris <rgm@gnu.org>
1331 * mode-local.el (mode-local-augment-function-help):
1332 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1333 * semantic/symref/list.el (semantic-symref-results-dump)
1334 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1335 of toggle-read-only.
1337 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1339 * semantic/bovine/el.el:
1340 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1341 Fix require statements.
1343 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1345 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1347 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1348 * semantic/imenu.el (semantic-create-imenu-index):
1349 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1350 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1351 Fix require. Suggested by David Engster.
1353 * semantic/bovine/c-by.el: Regenerate.
1355 2010-09-29 Eric Ludlam <zappo@gnu.org>
1357 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1358 (semantic-lex-spp-enable-debug-symbol): New command.
1359 (semantic-lex-spp-value-valid-p)
1360 (semantic-lex-spp-validate-value): New functions.
1361 (semantic-lex-spp-symbol-set)
1362 (semantic-lex-spp-symbol-push): Add call to validate value.
1363 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1364 invalid values during save, just save a nil.
1366 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1368 * ede/linux.el (ede-project-class-files):
1369 * ede/generic.el (ede-generic-new-autoloader):
1370 * ede/emacs.el (ede-project-class-files):
1371 * ede/simple.el (ede-project-class-files):
1372 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1374 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1376 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1378 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1379 Fix typo in error message.
1380 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1382 2010-09-21 Eric Ludlam <zappo@gnu.org>
1384 Synch SRecode to CEDET 1.0.
1386 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1387 'never, disable all pulsing.
1389 * cedet.el (cedet-version):
1390 * srecode.el (srecode-version): Bump version to 1.0.
1392 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1393 (semantic-insert-foreign-tag): Use it.
1395 * srecode/mode.el (srecode-bind-insert):
1396 Call srecode-load-tables-for-mode.
1397 (srecode-minor-mode-templates-menu): Do not list templates that
1398 are not in the current project.
1399 (srecode-menu-bar): Add binding for srecode-macro-help.
1401 * srecode/table.el (srecode-template-table): Add :project slot.
1402 (srecode-dump): Dump it.
1404 * srecode/map.el (srecode-map-update-map): Make map loading more
1407 * srecode/insert.el (srecode-insert-fcn): Merge template
1408 dictionary before resolving arguments.
1409 (srecode-insert-method-helper): Add error checking to make sure
1410 that we only have dictionaries.
1411 (srecode-insert-method): Check template nesting depth when using
1412 point inserter override.
1413 (srecode-insert-method): Install override with depth limit.
1415 * srecode/getset.el (srecode-insert-getset): Force tag table
1416 update. Don't query the class if it is empty.
1418 * srecode/find.el (srecode-template-get-table)
1419 (srecode-template-get-table-for-binding)
1420 (srecode-all-template-hash): Skip if not in current project.
1421 (srecode-template-table-in-project-p): New method.
1423 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1424 (srecode-field-exit-ask): Use it.
1426 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1427 Do not add variables in tables not for the current project.
1428 (srecode-compound-toString): Handle cases where the default value
1429 is another compound value.
1430 (srecode-dictionary-lookup-name): New optional argument
1431 NON-RECURSIVE, which inhibits visiting dictionary parents.
1432 (srecode-dictionary-add-section-dictionary)
1433 (srecode-dictionary-merge): New optional argument FORCE adds
1434 values even if an identically named entry exists.
1435 (srecode-dictionary-add-entries): New method.
1436 (srecode-create-dictionaries-from-tags): New function.
1438 * srecode/cpp.el (srecode-cpp): New defgroup.
1439 (srecode-cpp-namespaces): New option.
1440 (srecode-semantic-handle-:using-namespaces)
1441 (srecode-cpp-apply-templates): New functions.
1442 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1443 by calling `srecode-cpp-apply-templates'.
1445 * srecode/compile.el (srecode-compile-templates): Fix directory
1446 compare of built-in templates. Give built-ins lower piority.
1447 Support special variable "project".
1448 (srecode-compile-template-table): Set :project slot of new tables.
1449 (srecode-compile-one-template-tag):
1450 Use srecode-create-dictionaries-from-tags.
1452 2010-09-21 Eric Ludlam <zappo@gnu.org>
1454 Synch EDE to CEDET 1.0.
1456 * cedet-idutils.el (cedet-idutils-make-command): New option.
1457 (cedet-idutils-mkid-call):
1458 (cedet-idutils-create/update-database): New functions.
1460 * cedet-cscope.el (cedet-cscope-create):
1461 (cedet-cscope-create/update-database): New functions.
1462 (cedet-cscope-support-for-directory): Make interactive.
1464 * cedet-global.el (cedet-global-gtags-command): New option.
1465 (cedet-gnu-global-gtags-call)
1466 (cedet-gnu-global-create/update-database): New functions.
1468 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1469 (ede-make-dist): Always use toplevel project.
1470 (ede-buffer-object): If we fail to find an object in the current
1471 project, loop upward looking for a match. If no target is found,
1472 use most local project.
1473 (ede-buffer-belongs-to-target-p)
1474 (ede-buffer-belongs-to-project-p): New functions.
1475 (ede-initialize-state-current-buffer): New function.
1476 (ede-target-forms-menu, ede-project-buffers): Use them.
1477 (ede-minor-mode, ede-reset-all-buffers): Use it.
1478 (project-interactive-select-target, project-add-file): Don't use
1479 ede-project-force-load.
1480 (ede-buffer-object): New arg PROJSYM.
1481 (ede-minor-mode): Remove ede-directory-project-p test.
1482 (ede-initialize-state-current-buffer): Don't test for
1483 ede-directory-project-p if there is a matching open project.
1484 (ede-customize-forms-menu): Prevent error if there is no project.
1485 (ede-load-project-file): Set ede-constructing to the thing being
1486 constructed, instead of t.
1487 (ede-project-force-load): Delete.
1491 * ede/custom.el: New files.
1493 * ede/autoconf-edit.el (autoconf-find-last-macro)
1494 (autoconf-parameters-for-macro): Parse multiline parameters of
1495 macros. Optionally ignore case and at bol for macro.
1496 (autoconf-parameter-strip): Use greedy match for newlines.
1497 (autoconf-new-automake-string): Delete.
1498 (autoconf-new-program): Use SRecode to fill an empty file.
1500 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1503 * ede/files.el (ede-flush-project-hash): New command.
1504 (ede-convert-path): Add optional PROJECT arg.
1505 (ede-directory-project-p): Obey ".ede-ignore".
1506 (ede-expand-filename-local)
1507 (ede-expand-filename-impl-via-subproj): New methods.
1508 (ede-expand-filename-impl): Use them.
1509 (ede-project-root, ede-project-root-directory): Move to
1512 * ede/locate.el (ede-locate-flush-hash):
1513 (ede-locate-create/update-root-database): New methods.
1514 (initialize-instance): Use ede-locate-flush-hash.
1516 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1517 the top project and not a metasubproject, set TOP to CURDIR.
1518 (ede-proj-makefile-insert-variables): Output a target's object
1519 list whether or not the vars are already in the Makefile.
1520 (ede-pmake-insert-variable-once): New macro.
1522 * ede/project-am.el (project-am-with-makefile-current):
1523 Add recentf-exclude.
1524 (project-am-load-makefile): Obey an optional suggested name.
1525 (project-am-expand-subdirlist): New function.
1526 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1528 (project-am-meta-type-alist): A list to scan better Makefile.am.
1529 (project-am-scan-for-targets): Scan also over
1530 project-am-meta-type-alist.
1531 (ede-system-include-path): Simple implementation.
1532 (ede-find-target): Delete. EDE core takes care of this.
1533 (ede-buffer-mine): Create the searched filename as relative.
1534 (project-am-load): Simplify, using autoconf-edit.
1535 (project-am-extract-package-info): Fix separators.
1537 * ede/proj.el (project-run-target): New method.
1538 (project-make-dist, project-compile-project):
1539 Use ede-proj-automake-p to determine which kind of compile to use.
1540 (project-rescan): Call ede-load-project-file.
1541 (ede-buffer-mine): Add more file names that belong to the project.
1542 (ede-proj-compilers): Improve error message.
1544 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1545 (ede-source-c++): Add more C++ extensions.
1546 (ede-proj-target-makefile-objectcode): Quote initforms.
1547 Support lex and yacc.
1549 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1550 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1551 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1552 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1553 (ede-proj-target-makefile-program): Swap order of two slots so
1554 they show up in the same order as in the command line.
1555 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1557 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1558 Fix inference rule to use cpp files.
1559 (ede-proj-target-makefile-shared-object): Quote initforms.
1561 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1562 * ede/proj-info.el (ede-proj-target-makefile-info):
1563 * ede/proj-aux.el (ede-proj-target-aux):
1564 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1565 * ede/proj-elisp.el (ede-proj-target-elisp)
1566 (ede-proj-target-elisp-autoloads): Quote initforms.
1568 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1570 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1572 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1573 occur while waiting for the compile process to finish, pull them
1574 in and discard those events.
1576 2010-09-19 Eric Ludlam <zappo@gnu.org>
1578 Synch Semantic to CEDET 1.0.
1580 * semantic.el (semantic-version): Update to 2.0.
1581 (semantic-mode-map): Add "," and "m" bindings.
1582 (navigate-menu): Update.
1584 * semantic/symref.el (semantic-symref-calculate-rootdir):
1586 (semantic-symref-detect-symref-tool): Use it.
1588 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1589 (semantic-symref-perform-search): Use it. Calculate root dir with
1590 semantic-symref-calculate-rootdir.
1591 (semantic-symref-derive-find-filepatterns): Improve error message.
1593 * semantic/symref/list.el
1594 (semantic-symref-results-mode-map): New bindings.
1595 (semantic-symref-auto-expand-results): New option.
1596 (semantic-symref-results-dump): Obey auto-expand.
1597 (semantic-symref-list-expand-all, semantic-symref-regexp)
1598 (semantic-symref-list-contract-all)
1599 (semantic-symref-list-map-open-hits)
1600 (semantic-symref-list-update-open-hits)
1601 (semantic-symref-list-create-macro-on-open-hit)
1602 (semantic-symref-list-call-macro-on-open-hits): New functions.
1603 (semantic-symref-list-menu-entries)
1604 (semantic-symref-list-menu): New vars.
1605 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1606 match before calling the mapped function.
1609 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1610 mode doesn't provide comment-start-skip.
1613 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1614 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1615 looking for as part of the scoped tags list.
1617 * semantic/html.el (semantic-default-html-setup):
1618 Add senator-step-at-tag-classes.
1620 * semantic/decorate/include.el
1621 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1622 (semantic-decoration-on-includes-highlight-default): Check that
1623 the include tag has a position.
1625 * semantic/complete.el (semantic-collector-local-members):
1626 (semantic-complete-read-tag-local-members)
1627 (semantic-complete-jump-local-members): New class and functions.
1628 (semantic-complete-self-insert): Save excursion before completing.
1630 * semantic/analyze/complete.el
1631 (semantic-analyze-possible-completions-default): If no completions
1632 are found, return the raw by-name-only completion list. Add FLAGS
1633 arguments. Add support for 'no-tc (type constraint) and
1634 'no-unique, or no stripping duplicates.
1635 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1637 * semantic/util-modes.el
1638 (semantic-stickyfunc-show-only-functions-p): New option.
1639 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1640 the very first line in a buffer.
1642 * semantic/util.el (semantic-hack-search)
1643 (semantic-recursive-find-nonterminal-by-name)
1644 (semantic-current-tag-interactive): Delete.
1645 (semantic-describe-buffer): Fix expand-nonterminal.
1646 Add lex-syntax-mods, type relation separator char, and command
1648 (semantic-sanity-check): Only message if called interactively.
1650 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1651 :filename property and the tag position.
1653 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1654 Add recursion limit.
1656 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1657 Make this buffer local, not the obsoleted variable.
1659 * semantic/idle.el: Add breadcrumbs support.
1660 (semantic-idle-summary-current-symbol-info-default)
1661 (semantic-idle-tag-highlight)
1662 (semantic-idle-completion-list-default):
1663 Use semanticdb-without-unloaded-file-searches for speed, and to
1664 conform to the controls that specify if the idle timer is supposed
1665 to be parsing unparsed includes.
1666 (semantic-idle-symbol-highlight-face)
1667 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1669 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1670 (semantic-idle-work-update-headers-flag): New var.
1671 (semantic-idle-work-for-one-buffer): Use it.
1672 (semantic-idle-local-symbol-highlight): Rename from
1673 semantic-idle-tag-highlight.
1674 (semantic-idle-truncate-long-summaries): New option.
1676 * semantic/ia.el (semantic-ia-cache)
1677 (semantic-ia-get-completions): Delete. Callers changed.
1678 (semantic-ia-show-variants): New command.
1679 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1680 (semantic-ia-show-summary): If there isn't anything to show, say so.
1682 * semantic/grammar.el (semantic-grammar-create-package):
1683 Save the buffer even in batch mode.
1686 (semanticdb-without-unloaded-file-searches): New macro.
1688 * semantic/dep.el (semantic-dependency-find-file-on-path):
1689 Fix case dereferencing ede-object when it is a list.
1691 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1692 (semanticdb-typecache-faux-namespace): New functions.
1693 (semanticdb-typecache-file-tags)
1694 (semanticdb-typecache-merge-streams): Use them.
1695 (semanticdb-typecache-file-tags): When deriving tags from a file,
1696 give the mode a chance to monkey with the tag copy.
1697 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1698 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1700 * semantic/db-global.el
1701 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1702 GNU Global is not available and we don't want to throw an error.
1704 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1705 When trying to normalize the tag to a buffer, don't error if
1706 set-buffer method doesn't exist.
1708 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1710 * semantic/db.el (semanticdb-refresh-table): If forcing a
1711 refresh on a file not in a buffer, use semantic-find-file-noselect
1712 and delete the buffer after use.
1713 (semanticdb-current-database-list): When calculating root via
1714 hooks, force it through true-filename and skip the list of
1717 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1719 * semantic/analyze/debug.el
1720 (semantic-analyzer-debug-insert-tag): Reset standard output to
1722 (semantic-analyzer-debug-global-symbol)
1723 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1724 "symbol" in messages.
1726 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1727 (semantic-analyze-refs-proto): When calculating value, make sure
1728 the found tag is 'similar' to the originating tag.
1729 (semantic--analyze-refs-find-tags-with-parent): Attempt to
1730 identify matches via imported symbols of parents.
1731 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
1732 search during the brute search.
1734 * semantic/analyze.el
1735 (semantic-analyze-find-tag-sequence-default): Be robust to
1736 calculated scopes being nil.
1738 * semantic/bovine/c.el (semantic-c-describe-environment):
1739 Add project macro symbol array.
1740 (semantic-c-parse-lexical-token): Add recursion limit.
1741 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
1743 (semantic-expand-c-tag-namelist): Split a full type from a typedef
1745 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
1746 inline type if it is an anonymous type.
1747 (semantic-c-reconstitute-token): Use the optional initializers as
1748 a clue that some function is probably a constructor.
1749 When defining the type of these constructors, split the parent name,
1750 and use only the class part, if applicable.
1752 * semantic/bovine/c-by.el:
1753 * semantic/wisent/python-wy.el: Regenerate.
1755 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1757 * semantic/db-file.el (object-write): Fix typo in docstring.
1759 2010-06-03 Eric Ludlam <zappo@gnu.org>
1761 * semantic/lex-spp.el
1762 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1763 invalid values during save, just save a nil (Bug#6324).
1765 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
1767 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
1770 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1772 Use a mode-line spec rather than a static string in Semantic.
1773 * semantic/util-modes.el:
1774 (semantic-minor-modes-format): New var to replace...
1775 (semantic-minor-modes-status): Remove.
1776 (semantic-mode-line-update): Construct a mode-line spec rather than
1777 a static string so that mouse buttons can be used on individual minor
1778 modes and so that semantic-mode-line-update only needs to be called
1779 when global settings are changed.
1780 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
1781 Call semantic-mode-line-update.
1782 (semantic-toggle-minor-mode-globally): Don't assume mode is on
1783 minor-mode-alist, check semantic-minor-mode-alist as well.
1784 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
1785 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
1786 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
1787 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1788 * semantic/idle.el (semantic-idle-scheduler-mode)
1789 (define-semantic-idle-service, semantic-idle-summary-mode):
1790 * semantic/decorate/mode.el (semantic-decoration-mode):
1791 Don't call semantic-mode-line-update any more.
1793 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1795 Use define-minor-mode in CEDET where applicable.
1797 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
1798 Use define-minor-mode.
1800 * semantic/util-modes.el (semantic-add-minor-mode):
1801 Remove unused arg `keymap' and code redundant with define-minor-mode.
1802 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
1803 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
1804 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
1805 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
1806 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
1807 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
1808 Use define-minor-mode.
1809 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
1810 (semantic-show-unmatched-syntax-mode-setup)
1811 (semantic-show-parser-state-mode-setup)
1812 (semantic-highlight-func-mode-setup): Inline into sole caller.
1814 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1815 (semantic-mru-bookmark-mode): Use define-minor-mode.
1816 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
1818 * semantic/idle.el (define-semantic-idle-service):
1819 Use define-minor-mode and inline setup function into its sole caller.
1820 (semantic-idle-scheduler-mode-setup)
1821 (semantic-idle-summary-mode-setup): Inline into sole caller.
1822 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
1823 Use define-minor-mode.
1825 * semantic/decorate/mode.el (global-semantic-decoration-mode)
1826 (semantic-decoration-mode): Use define-minor-mode.
1827 (semantic-decoration-mode-setup): Inline into sole caller.
1829 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
1830 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
1831 (ede-dired-add-to-target): Use dolist.
1833 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1835 * semantic.el (semantic-completion-at-point-function):
1837 (semantic-mode): Use semantic-completion-at-point-function for
1838 completion-at-point-functions instead.
1840 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1842 * semantic.el (semantic-mode): When enabled, add
1843 semantic-ia-complete-symbol to completion-at-point-functions.
1845 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
1846 if Semantic is not active.
1848 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1850 * ede/pmake.el (ede-proj-makefile-insert-variables):
1851 Don't destroy list before using it.
1853 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1855 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
1856 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1857 (semantic-imenu-goto-function): Reflow docstring.
1859 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1861 * srecode/table.el (srecode-template-table): Fix docstring typo.
1863 2010-03-24 Glenn Morris <rgm@gnu.org>
1865 * semantic/bovine/c.el (semantic-c-describe-environment):
1866 Consistently check ede-object is bound throughout.
1868 * ede/project-am.el (ede-shell-run-something): Declare.
1870 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
1872 * semantic/imenu.el: New file, from the CEDET repository
1875 2010-03-06 Glenn Morris <rgm@gnu.org>
1877 * semantic/grammar.el (semantic-grammar-header-template):
1878 Update template copyright to GPLv3+.
1880 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1882 * semantic/db-find.el
1883 (semanticdb-find-translate-path-brutish-default):
1884 * ede/make.el (ede-make-check-version):
1885 Use with-current-buffer instead of save-excursion.
1887 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1889 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
1890 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
1892 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1894 * data-debug.el (data-debug): Move to extensions group.
1897 * srecode.el (srecode):
1898 * semantic.el (semantic): Put in tools and extensions group.
1900 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1902 * ede.el (ede-run-target, project-delete-target)
1903 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1904 (ede-adebug-project, ede-adebug-project-parent)
1905 (ede-adebug-project-root): Fix typos in docstrings.
1907 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1909 * ede/locate.el (ede-locate-file-in-project)
1910 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1911 (ede-enable-locate-on-project): Fix typos in error messages.
1913 * semantic/util-modes.el (semantic-unmatched-syntax-face)
1914 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1915 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1916 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1917 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1918 Fix typos in menu help.
1920 * semantic.el (semantic-require-version, semantic--buffer-cache)
1921 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1922 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1923 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1924 (semantic-parse-stream, semantic-parse-region)
1925 (semantic-parse-region-default, semantic--set-buffer-cache)
1926 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1927 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1928 (semantic-default-submodes):
1929 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1930 (semanticdb-create-ebrowse-database)
1931 (semanticdb-find-tags-for-completion-method)
1932 (semanticdb-find-tags-by-class-method)
1933 (semanticdb-deep-find-tags-by-name-method)
1934 (semanticdb-deep-find-tags-for-completion-method):
1935 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1936 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1937 (semanticdb-find-tags-for-completion-method)
1938 (semanticdb-find-tags-by-class-method)
1939 (semanticdb-deep-find-tags-for-completion-method):
1940 * semantic/db-find.el (semanticdb-find-translate-path)
1941 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1942 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1943 (semanticdb-find-tags-by-name-method)
1944 (semanticdb-find-tags-by-name-regexp-method)
1945 (semanticdb-find-tags-for-completion-method)
1946 (semanticdb-find-tags-by-class-method)
1947 (semanticdb-find-tags-external-children-of-type-method)
1948 (semanticdb-find-tags-subclasses-of-type-method)
1949 (semanticdb-deep-find-tags-by-name-method)
1950 (semanticdb-deep-find-tags-by-name-regexp-method)
1951 (semanticdb-deep-find-tags-for-completion-method):
1952 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1953 (semanticdb-enable-gnu-global-in-buffer)
1954 (semanticdb-find-tags-for-completion-method)
1955 (semanticdb-deep-find-tags-by-name-method)
1956 (semanticdb-deep-find-tags-for-completion-method):
1957 * semantic/db-javascript.el (semanticdb-javascript-tags)
1958 (javascript-mode, semanticdb-find-translate-path)
1959 (semanticdb-find-tags-for-completion-method)
1960 (semanticdb-find-tags-by-class-method)
1961 (semanticdb-deep-find-tags-by-name-method)
1962 (semanticdb-deep-find-tags-for-completion-method)
1963 (semanticdb-find-tags-external-children-of-type-method):
1964 * semantic/idle.el (semantic-idle-work-core-handler)
1965 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1966 (global-semantic-idle-scheduler-mode):
1967 * srecode/dictionary.el (srecode-field-value)
1968 (srecode-dictionary-add-section-dictionary):
1969 Fix typos in docstrings.
1971 2010-01-17 Glenn Morris <rgm@gnu.org>
1973 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1975 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1977 * semantic.el (semantic-mode): Fix typos in docstrings.
1979 2010-01-16 Mario Lang <mlang@delysid.org>
1981 * ede/cpp-root.el (ede-cpp-root-project):
1982 * ede/files.el (ede-expand-filename):
1983 * ede/simple.el (ede-simple-project):
1984 * semantic/complete.el (semantic-complete-read-tag-engine)
1985 (semantic-complete-inline-tag-engine):
1986 * semantic/db-el.el (semanticdb-equivalent-mode):
1987 * semantic/db-global.el (semanticdb-equivalent-mode):
1988 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1989 * semantic/db.el (semanticdb-equivalent-mode):
1990 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1991 * semantic/idle.el (semantic-idle-work-for-one-buffer):
1992 Remove duplicated words in doc-strings.
1994 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1996 * semantic/edit.el (semantic-reparse-needed-change-hook)
1997 (semantic-no-reparse-needed-change-hook):
1998 * srecode/insert.el (srecode-resolve-argument-list)
1999 (srecode-template-inserter-blank, srecode-template-inserter-variable)
2000 (srecode-template-inserter-ask, srecode-template-inserter-width)
2001 (srecode-template-inserter-section-start)
2002 (srecode-template-inserter-section-end, srecode-insert-method):
2003 Fix typos in docstrings.
2005 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2007 * data-debug.el (data-debug): Fix customization group reference.
2009 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2011 * semantic/analyze.el (semantic-analyze-push-error)
2012 (semantic-analyze-context, semantic-analyze-context-assignment)
2013 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
2014 * semantic/java.el (java-mode, semantic-tag-include-filename)
2015 (semantic-java-doc-keywords-map):
2016 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
2017 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
2018 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
2019 (semantic-c-classname, semantic-format-tag-uml-prototype)
2020 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
2021 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
2022 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
2023 (semantic-get-local-variables, semantic-end-of-command)
2024 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
2026 * semantic/bovine/make.el (makefile-mode):
2027 * semantic/wisent/python.el (wisent-python-string-re)
2028 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
2029 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
2030 (semantic-lex, semantic-get-local-variables, python-mode):
2031 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
2032 * srecode/extract.el (srecode-extract-state-set)
2033 (srecode-extract-method): Fix typos in docstrings.
2035 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
2037 * semantic.el (semantic-new-buffer-setup-functions):
2040 2010-01-10 Richard Kim <emacs18@gmail.com>
2042 * semantic/wisent/python-wy.el:
2043 * semantic/wisent/python.el: New files.
2045 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
2047 * semantic/db-typecache.el (semanticdb-typecache-find-default):
2048 Fix typo in docstring.
2050 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
2052 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2053 (semantic-mru-bookmark-mode): Doc fixes.
2055 * semantic/db.el (semanticdb-cache-get): Use error instead
2058 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
2060 * semantic/ia.el (semantic-ia-complete-symbol):
2061 Make argument optional.
2063 2009-12-05 Eric Ludlam <zappo@gnu.org>
2065 * semantic/bovine/c.el (semantic-c-describe-environment):
2066 Describe project macro symbols.
2068 * semantic/complete.el (semantic-complete-do-completion):
2069 Don't call semantic-collector-current-exact-match.
2071 * ede.el (ede-apply-preprocessor-map): Accept lists of
2072 ede-objects as targets.
2074 * ede/pmake.el (ede-proj-makefile-insert-variables):
2075 Output a target's object list even if compiler vars are already in the
2078 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
2079 list of headers producing necessary macros.
2081 2009-11-24 Glenn Morris <rgm@gnu.org>
2083 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2084 Move after definition of global-semantic-idle-tag-highlight-mode.
2086 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2088 * srecode/map.el (srecode-get-maps):
2089 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2090 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2091 * semantic/decorate/mode.el (semantic-decoration-mode)
2092 (semantic-toggle-decoration-style):
2093 * semantic/decorate/include.el
2094 (semantic-decoration-include-describe)
2095 (semantic-decoration-unknown-include-describe)
2096 (semantic-decoration-unparsed-include-describe)
2097 (semantic-decoration-all-include-summary):
2098 * semantic/bovine/c.el (semantic-c-debug-mode-init):
2099 * semantic/analyze/complete.el
2100 (semantic-analyze-possible-completions):
2101 * semantic/util-modes.el (semantic-highlight-edits-mode)
2102 (semantic-show-unmatched-syntax-mode)
2103 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2104 (semantic-highlight-func-mode):
2105 * semantic/util.el (semantic-describe-buffer):
2106 * semantic/symref.el (semantic-symref-find-references-by-name)
2107 (semantic-symref-find-tags-by-name)
2108 (semantic-symref-find-tags-by-regexp)
2109 (semantic-symref-find-tags-by-completion)
2110 (semantic-symref-find-file-references-by-name)
2111 (semantic-symref-find-text):
2112 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
2114 * semantic/scope.el (semantic-calculate-scope):
2115 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2116 * semantic/idle.el (semantic-idle-scheduler-mode)
2117 (define-semantic-idle-service):
2118 * semantic/complete.el (semantic-complete-analyze-inline)
2119 (semantic-complete-analyze-inline-idle):
2120 * semantic/analyze.el (semantic-analyze-current-context):
2121 * mode-local.el (describe-mode-local-bindings)
2122 (describe-mode-local-bindings-in-mode):
2123 * ede/make.el (ede-make-check-version):
2124 * ede/locate.el (ede-enable-locate-on-project):
2125 * cedet-idutils.el (cedet-idutils-expand-filename)
2126 (cedet-idutils-version-check):
2127 * cedet-global.el (cedet-gnu-global-expand-filename)
2128 (cedet-gnu-global-version-check):
2129 * cedet-cscope.el (cedet-cscope-expand-filename)
2130 (cedet-cscope-version-check): Use called-interactively-p instead
2133 * semantic/ia.el (semantic-ia-completion-format-tag-function):
2134 Use semantic-format-tag-prototype.
2136 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2138 * semantic/complete.el (semantic-complete-read-tag-engine)
2139 (semantic-complete-jump-local, semantic-complete-jump):
2140 Improve prompt string.
2142 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2144 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
2146 * semantic/idle.el (define-semantic-idle-service)
2147 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2149 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2151 * cedet.el (cedet-menu-map): Re-order menu items.
2153 * semantic.el: Enable idle-mode menu items only if
2154 global-semantic-idle-scheduler-mode is enabled.
2155 (semantic-default-submodes): Doc fix.
2157 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2158 When turning off, disable other idle modes.
2160 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2162 * semantic/idle.el (semantic-idle-summary-mode)
2163 (semantic-idle-summary-mode): Define using define-minor-mode
2164 instead of define-semantic-idle-service.
2165 (semantic-idle-summary-mode): New function.
2166 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2167 that mouse motion does not reset the echo area.
2169 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2171 * semantic/ctxt.el (semantic-get-local-variables):
2172 Disable the progress reporter entirely.
2174 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * semantic/fw.el (semantic/loaddefs):
2177 * srecode.el (srecode/loaddefs):
2178 * ede.el (ede/loaddefs): Load rather than require.
2189 * semantic/analyze.el:
2190 * semantic/bovine.el:
2191 * semantic/complete.el:
2193 * semantic/db-file.el:
2194 * semantic/db-find.el:
2195 * semantic/db-global.el:
2196 * semantic/db-mode.el:
2197 * semantic/db-typecache.el:
2199 * semantic/debug.el:
2204 * semantic/format.el:
2206 * semantic/ia-sb.el:
2209 * semantic/lex-spp.el:
2211 * semantic/mru-bookmark.el:
2212 * semantic/scope.el:
2213 * semantic/senator.el:
2215 * semantic/symref.el:
2216 * semantic/tag-file.el:
2217 * semantic/tag-ls.el:
2218 * semantic/tag-write.el:
2220 * semantic/util-modes.el:
2221 * semantic/analyze/complete.el:
2222 * semantic/analyze/refs.el:
2223 * semantic/bovine/c.el:
2224 * semantic/bovine/gcc.el:
2225 * semantic/bovine/make.el:
2226 * semantic/bovine/scm.el:
2227 * semantic/decorate/include.el:
2228 * semantic/decorate/mode.el:
2229 * semantic/symref/cscope.el:
2230 * semantic/symref/global.el:
2231 * semantic/symref/grep.el:
2232 * semantic/symref/idutils.el:
2233 * semantic/symref/list.el:
2234 * semantic/wisent/java-tags.el:
2235 * semantic/wisent/javascript.el:
2236 * srecode/compile.el:
2238 * srecode/document.el:
2240 * srecode/expandproto.el:
2241 * srecode/getset.el:
2242 * srecode/insert.el:
2246 * srecode/template.el:
2247 * srecode/texi.el: Remove the file-local setting of
2248 generated-autoload-feature.
2250 2009-11-03 Glenn Morris <rgm@gnu.org>
2252 * mode-local.el (with-mode-local): Doc fix.
2254 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2256 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2259 * ede.el (ede-minor-mode):
2260 * semantic.el (semantic-mode): Toggle menu separators.
2262 2009-10-31 Glenn Morris <rgm@gnu.org>
2264 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2265 Use mapc rather than mapcar because the return value is never used.
2267 * srecode/template.el, semantic/wisent/javascript.el:
2268 * semantic/wisent/java-tags.el, semantic/texi.el:
2270 Suppress harmless warnings about setting up semantic-imenu (not
2271 part of Emacs) variables.
2273 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2276 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2277 * semantic/symref/grep.el (semantic-symref-perform-search):
2278 * semantic/bovine/gcc.el (semantic-gcc-query):
2279 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2280 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2281 (semantic-analyzer-debug-global-symbol)
2282 (semantic-analyzer-debug-missing-innertype)
2283 (semantic-analyzer-debug-insert-include-summary):
2284 * semantic/util.el (semantic-file-tag-table):
2285 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2286 (semantic-recursive-find-nonterminal-by-name):
2287 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2288 * semantic/tag-file.el (semantic-prototype-file):
2289 * semantic/symref.el (semantic-symref-parse-tool-output):
2290 * semantic/sb.el (semantic-sb-fetch-tag-table):
2291 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2292 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2293 (semantic-idle-summary-maybe-highlight):
2294 * semantic/ia-sb.el (semantic-ia-speedbar)
2295 (semantic-ia-sb-tag-info):
2296 * semantic/grammar.el (semantic-analyze-possible-completions):
2297 * semantic/find.el (semantic-brute-find-tag-by-position):
2298 * semantic/ede-grammar.el (project-compile-target):
2299 (ede-proj-makefile-insert-variables):
2300 * semantic/debug.el (semantic-debug-set-parser-location):
2301 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2302 (semantic-debug-mode, semantic-debug):
2303 * semantic/db.el (semanticdb-needs-refresh-p):
2304 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2305 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2306 * semantic/db-find.el (semanticdb-find-log-new-search)
2307 (semanticdb-find-translate-path-includes--internal)
2308 (semanticdb-reset-log, semanticdb-find-log-activity):
2309 * semantic/db-file.el (object-write):
2310 * semantic/db-el.el (semanticdb-equivalent-mode):
2311 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2312 (semanticdb-create-ebrowse-database):
2313 * semantic/db-debug.el (semanticdb-table-sanity-check):
2314 * semantic/complete.el (semantic-displayor-focus-request)
2315 (semantic-collector-calculate-completions-raw)
2316 (semantic-complete-read-tag-analyzer):
2317 * semantic/analyze.el (semantic-analyze-pulse):
2318 * ede/util.el (ede-update-version-in-source):
2319 * ede/proj.el (project-delete-target):
2320 * ede/proj-elisp.el (ede-update-version-in-source)
2321 (ede-proj-flush-autoconf):
2322 * ede/pconf.el (ede-proj-configure-synchronize)
2323 (ede-proj-configure-synchronize):
2324 * ede/locate.el (ede-locate-file-in-project-impl):
2325 * ede/linux.el (ede-linux-version):
2326 * ede/emacs.el (ede-emacs-version):
2327 * ede/dired.el (ede-dired-add-to-target):
2328 * ede.el (ede-buffer-header-file, ede-find-target)
2329 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2330 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2331 * cedet-idutils.el (cedet-idutils-fnid-call):
2332 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2333 (cedet-idutils-version-check):
2334 * cedet-global.el (cedet-gnu-global-call):
2335 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2336 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2337 * cedet-cscope.el (cedet-cscope-call)
2338 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2339 Use with-current-buffer.
2340 * ede.el (ede-make-project-local-variable)
2341 (ede-set-project-variables, ede-set): Use dolist.
2343 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2345 * mode-local.el (make-obsolete-overload): Add `when' argument.
2346 (overload-docstring-extension): Use that info.
2347 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2348 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2349 * semantic/tag-ls.el (semantic-nonterminal-protection)
2350 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2351 (semantic-nonterminal-full-name): Add the new `when' info.
2352 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2355 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2357 * semantic/fw.el (semantic-alias-obsolete)
2358 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2359 (define-mode-overload-implementation):
2360 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2361 * semantic/wisent.el (wisent-lex-make-token-table):
2362 * semantic/util.el (semantic-file-token-stream)
2363 (semantic-something-to-stream):
2364 * semantic/tag.el (semantic-tag-make-assoc-list)
2365 (semantic-expand-nonterminal):
2366 * semantic/tag-file.el (semantic-find-nonterminal)
2367 (semantic-find-dependency, semantic-find-nonterminal)
2368 (semantic-find-dependency):
2369 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2370 (semantic-flex-text, semantic-flex-make-keyword-table)
2371 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2372 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2373 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2374 * semantic/java.el (semantic-java-prototype-nonterminal):
2375 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2376 (semantic-after-idle-scheduler-reparse-hooks):
2377 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2378 * semantic/db-mode.el (semanticdb-mode-hooks):
2379 * semantic.el (semantic-toplevel-bovine-table)
2380 (semantic-toplevel-bovine-cache)
2381 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2382 (semantic-init-mode-hooks, semantic-init-db-hooks)
2383 (semantic-bovination-working-type): Provide the `when' arg.
2385 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2387 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2388 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2389 argument to make-obsolete.
2391 * semantic/fw.el (semantic-alias-obsolete)
2392 (semantic-varalias-obsolete): Add optional WHEN argument.
2394 2009-10-21 Eric Ludlam <zappo@gnu.org>
2396 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2397 (semantic-c-debug-mode-init-pch): New functions.
2398 (semantic-c-debug-mode-init-last-mode): New var.
2399 (semantic-c-parse-lexical-token): Use them.
2401 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2402 When extracting the argument list, limit only by point-max.
2404 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2407 * srecode/compile.el:
2408 * semantic/mru-bookmark.el:
2409 * semantic/debug.el:
2410 * semantic/complete.el:
2411 * semantic/analyze.el: Require CL when compiling.
2413 2009-10-17 Eric Ludlam <zappo@gnu.org>
2416 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2417 tmpscope so that the regular scope will continue to work.
2419 * semantic/idle.el (semantic-idle-tag-highlight):
2420 Use semantic-idle-summary-highlight-face as the highlighting.
2422 * ede/project-am.el (project-run-target): New method.
2423 (project-run-target): New method.
2425 * ede.el (ede-target): Add run target menu item.
2426 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2427 (ede-run-target): New function.
2428 (ede-target::project-run-target): New method.
2430 * ede/proj.el (project-run-target): New method.
2432 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2433 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2435 (ede-proj-target-makefile-shared-object): Only libtool compilers
2436 now available. Add linkers for libtool.
2437 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2438 (ede-proj-makefile-target-name): Always use .la extension.
2440 * ede/proj-prog.el (project-run-target): New method.
2442 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2443 (ede-g++-linker): Change Change link lines.
2445 * ede/pmake.el (ede-pmake-insert-variable-shared):
2446 When searching for old variables, go to the end of the buffer and
2447 search backward from there.
2448 (ede-proj-makefile-automake-insert-subdirs)
2449 (ede-proj-makefile-automake-insert-extradist): New methods.
2450 (ede-proj-makefile-create): Use them.
2452 * ede/pconf.el (ede-proj-configure-test-required-file):
2453 Force FILE to expand to the current target. Use file-exists-p to
2454 check that it exists.
2456 * ede/linux.el (ede-linux-version): Don't call "head".
2457 (ede-linux-load): Wrap dir in file-name-as-directory.
2460 * ede/files.el (ede-get-locator-object): When enabling
2461 locate, do so on "top".
2463 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2464 file-name-as-directory during compare.
2465 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2466 Get version number from different places. Don't call egrep.
2467 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2468 to set the directory.
2470 * ede/shell.el: New file.
2472 * inversion.el (inversion-decoders): Allow for stray . in
2473 alpha/beta variants.
2475 2009-10-17 Glenn Morris <rgm@gnu.org>
2477 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2478 All errors should have messages.
2480 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2482 * ede/proj-shared.el (ede-proj-makefile-target-name):
2483 Use .la for Automake.
2485 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2487 * ede/pconf.el (ede-proj-configure-synchronize):
2488 Use "autoreconf -i". Suggested by Andreas Schwab.
2490 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2492 * ede/proj.el (project-make-dist, project-compile-project):
2494 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2495 to expand file names.
2497 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2499 * ede/proj-obj.el (ede-gcc-linker): New var.
2500 (ede-proj-target-makefile-objectcode): Use it.
2502 * ede/source.el (ede-want-any-source-files-p)
2503 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2504 Return search result. This error was introduced while merging.
2506 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2508 * semantic.el (semantic-new-buffer-setup-functions): New option.
2509 (semantic-new-buffer-fcn): Call parser setup functions here.
2510 (semantic-mode): Don't call parser setup functions here, it's done
2511 in semantic-new-buffer-fcn now.
2512 (semantic-mode): Parse all existing buffers when enabled.
2514 * srecode/compile.el (srecode-compile-file):
2515 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2517 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2519 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2521 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2522 (proj-comp-insert-variable-once): New macro, renamed from
2523 ede-pmake-insert-variable-once in ede/pmake.edl.
2524 (ede-proj-makefile-insert-variables): Use it.
2526 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2528 * ede/makefile-edit.el (makefile-beginning-of-command)
2529 (makefile-end-of-command):
2530 * srecode/srt-mode.el (semantic-beginning-of-context)
2531 (semantic-end-of-context): Fix previous change. Doc fixes.
2533 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2535 * ede/makefile-edit.el (makefile-beginning-of-command)
2536 (makefile-end-of-command):
2537 * semantic/lex.el (semantic-lex-token):
2538 * semantic/analyze/fcn.el
2539 (semantic-analyze-dereference-metatype-1):
2540 * semantic/bovine/c.el (semantic-lex-cpp-define)
2541 (semantic-lex-cpp-undef):
2542 * semantic/wisent/wisent.el (wisent-skip-block):
2543 * srecode/srt-mode.el (semantic-beginning-of-context)
2544 (semantic-end-of-context): Fix typos in docstrings.
2546 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2548 * ede.el (ede-project-placeholder-cache-file):
2549 * semantic/db-file.el (semanticdb-default-save-directory):
2550 * srecode/map.el (srecode-map-save-file):
2551 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2553 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2555 * srecode/insert.el: Require srecode/args.
2557 * srecode/args.el: Require srecode/dictionary instead of
2560 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2562 * files.el (auto-mode-alist): Add .srt and Project.ede.
2564 * semantic.el (semantic-mode):
2565 Handle srecode-template-mode-hook as well.
2566 (semantic-mode): Use js-mode-hook for Javascript hook.
2568 * srecode/template.el: Remove hook variable.
2570 * ede/proj-comp.el: Require ede/pmake when compiling.
2572 * ede.el (ede-target-forms-menu): Don't enable if no
2574 (ede-project-placeholder-cache-file): Default to a file in
2575 user-emacs-directory.
2577 * srecode/map.el (srecode-map-base-template-dir): Look for
2578 templates in data-directory.
2579 (srecode-map-save-file): Default to a file in user-emacs-directory.
2581 * ede/srecode.el (ede-srecode-setup): Use default templates
2584 2009-09-30 Eric Ludlam <zappo@gnu.org>
2586 * semantic/util-modes.el (semantic-highlight-func-mode):
2589 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2590 Only insert each variable once.
2592 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2593 (ede-pmake-insert-variable-shared): Use it.
2595 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2596 for lexical table iff table is nil.
2598 2009-10-01 Glenn Morris <rgm@gnu.org>
2600 * semantic/bovine/gcc.el
2601 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2602 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2604 2009-10-03 Glenn Morris <rgm@gnu.org>
2606 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2607 declaration, currently false.
2609 2009-10-01 Glenn Morris <rgm@gnu.org>
2611 * cedet-files.el (cedet-directory-name-to-file-name):
2612 * cedet-idutils.el (cedet-idutils-search)
2613 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2614 (cedet-idutils-version-check):
2615 * cedet.el (cedet-version):
2616 * data-debug.el (data-debug-insert-overlay-button)
2617 (data-debug-insert-overlay-list-button)
2618 (data-debug-insert-buffer-button)
2619 (data-debug-insert-buffer-list-button)
2620 (data-debug-insert-process-button, data-debug-insert-ring-button)
2621 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2622 (data-debug-insert-stuff-vector-button)
2623 (data-debug-insert-symbol-button, data-debug-insert-string)
2624 (data-debug-insert-number, data-debug-insert-lambda-expression)
2625 (data-debug-insert-nil, data-debug-insert-simple-thing)
2626 (data-debug-insert-custom, data-debug-edebug-expr):
2627 * ede.el (ede-auto-add-method, ede-project-class-files)
2628 (global-ede-mode-map, ede-new, ede-debug-target)
2629 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2630 * semantic.el (semantic-minimum-working-buffer-size)
2631 (semantic-fetch-tags, semantic-submode-list)
2632 (semantic-default-submodes):
2633 * ede/source.el (ede-source-match):
2634 * ede/project-am.el (project-am-type-alist, project-add-file)
2635 (project-am-package-info):
2636 * ede/proj.el (ede-proj-target, project-new-target):
2637 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2638 * ede/proj-comp.el (ede-current-build-list):
2639 * ede/makefile-edit.el (makefile-move-to-macro):
2640 * ede/files.el (ede-toplevel-project-or-nil):
2641 * ede/cpp-root.el (initialize-instance):
2642 * ede/autoconf-edit.el (autoconf-find-last-macro)
2643 (autoconf-parameter-strip, autoconf-insert-new-macro):
2644 * semantic/wisent.el (wisent-lex-eoi):
2645 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2646 (semantic-show-parser-state-mode):
2647 * semantic/texi.el (semantic-texi-environment-regexp):
2648 * semantic/tag.el (semantic-tag-new-variable)
2649 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2650 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2651 (semantic--tag-deep-copy-tag-list)
2652 (semantic-tag-components-with-overlays-default):
2653 * semantic/symref.el (semantic-symref-find-text):
2654 * semantic/senator.el (senator-yank-tag)
2655 (senator-transpose-tags-up):
2656 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2657 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2658 * semantic/sb.el (semantic-sb-autoexpand-length):
2659 * semantic/lex.el (semantic-lex-comment-regex)
2660 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2661 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2662 * semantic/lex-spp.el
2663 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2664 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2666 (semantic-idle-summary-current-symbol-info-brutish)
2667 (semantic-idle-summary-current-symbol-info-default):
2668 * semantic/grammar.el (semantic-grammar-recreate-package)
2669 (semantic--grammar-macro-compl-dict):
2670 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2671 * semantic/format.el (semantic-format-tag-custom-list)
2672 (semantic-format-tag-canonical-name-default):
2673 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2674 (semantic-find-tags-for-completion)
2675 (semantic-find-tags-by-scope-protection-default)
2676 (semantic-deep-find-tags-for-completion):
2678 (semantic-edits-incremental-reparse-failed-hook)
2679 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2680 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2681 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2682 * semantic/dep.el (semantic-dependency-include-path):
2683 * semantic/db.el (semanticdb-default-find-index-class)
2684 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2685 (semanticdb-project-roots):
2686 * semantic/db-find.el (semanticdb-implied-include-tags)
2687 (semanticdb-find-adebug-insert-scanned-tag-cons)
2688 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2689 (semanticdb-brute-deep-find-tags-for-completion):
2690 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2691 * semantic/ctxt.el (semantic-beginning-of-context-default)
2692 (semantic-end-of-context-default)
2693 (semantic-ctxt-current-function-default)
2694 (semantic-ctxt-scoped-types-default):
2695 * semantic/complete.el (semantic-complete-read-tag-engine)
2696 (semantic-complete-inline-tag-engine)
2697 (semantic-complete-inline-custom-type)
2698 (semantic-complete-read-tag-analyzer):
2699 * semantic/chart.el (semantic-chart-tags-by-class)
2700 (semantic-chart-database-size):
2701 * semantic/analyze.el (semantic-analyze-current-symbol)
2702 (semantic-analyze-current-context):
2703 * semantic/symref/list.el (semantic-symref)
2704 (semantic-symref-hide-buffer, semantic-symref-symbol):
2705 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2706 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2707 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2708 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2709 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2710 (semantic-c-dereference-template):
2711 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2712 (semantic--analyze-refs-full-lookup-with-parents)
2713 (semantic--analyze-refs-full-lookup-simple):
2714 * semantic/analyze/complete.el
2715 (semantic-analyze-possible-completions):
2716 * srecode/table.el (srecode-mode-table-new):
2717 * srecode/srt.el (srecode-read-variable-name):
2718 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2719 * srecode/semantic.el (srecode-semantic-handle-:tag)
2720 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2721 * srecode/map.el (srecode-current-map):
2722 * srecode/insert.el (srecode-insert)
2723 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2724 (srecode-template-inserter-point-override)
2725 (srecode-insert-include-lookup):
2726 * srecode/getset.el (srecode-auto-choose-class):
2727 * srecode/extract.el (srecode-inserter-extract):
2728 * srecode/document.el
2729 (srecode-document-autocomment-return-last-alist)
2730 (srecode-document-autocomment-param-type-alist)
2731 (srecode-document-insert-function-comment)
2732 (srecode-document-insert-variable-one-line-comment)
2733 (srecode-document-function-name-comment):
2734 * srecode/dictionary.el (srecode-create-dictionary)
2735 (srecode-compound-toString):
2736 * srecode/compile.el (srecode-flush-active-templates):
2737 * srecode/args.el (srecode-semantic-handle-:blank):
2740 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2742 * semantic/wisent/javat-wy.el
2743 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2745 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2747 * srecode/expandproto.el: Fix provide statement.
2749 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2751 * ede/srecode.el: Fix provide statement.
2753 2009-09-30 Glenn Morris <rgm@gnu.org>
2755 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
2756 * ede/proj-aux.el (ede-aux-source):
2757 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2759 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
2760 (semantic-mrub-switch-tags): Fix doc typos.
2762 * semantic/db-global.el (data-debug-new-buffer)
2763 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2764 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2766 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2768 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2769 use of CL function `remove-if-not'.
2771 2009-09-29 Glenn Morris <rgm@gnu.org>
2773 * semantic/symref/idutils.el:
2774 * semantic/symref/list.el: Relicense under GPLv3+.
2776 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2778 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2779 * semantic/tag-file.el (semanticdb-table-child-p):
2780 * srecode/compile.el (srecode-template-inserter-newline-child-p):
2781 Mark declarations not understood by check-declare.
2783 2009-09-28 Eric Ludlam <zappo@gnu.org>
2785 CEDET (development tools) package merged.
2790 * srecode/*.el: New files.
2792 2009-09-28 Eric Ludlam <zappo@gnu.org>
2801 * pulse.el: New files.
2807 Copyright (C) 2009-2013 Free Software Foundation, Inc.
2809 This file is part of GNU Emacs.
2811 GNU Emacs is free software: you can redistribute it and/or modify
2812 it under the terms of the GNU General Public License as published by
2813 the Free Software Foundation, either version 3 of the License, or
2814 (at your option) any later version.
2816 GNU Emacs is distributed in the hope that it will be useful,
2817 but WITHOUT ANY WARRANTY; without even the implied warranty of
2818 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2819 GNU General Public License for more details.
2821 You should have received a copy of the GNU General Public License
2822 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.