Mercurial > emacs
comparison lisp/cedet/ChangeLog @ 112213:6e613fbf73d7
Use run-mode-hooks for major mode hooks.
* lisp/textmodes/reftex-toc.el (reftex-toc-mode-map):
Rename from reftex-toc-map.
(reftex-toc-mode): Use define-derived-mode.
* lisp/textmodes/reftex-sel.el (reftex-select-shared-map): New map.
(reftex-select-label-mode-map, reftex-select-bib-mode-map):
Rename from reftex-select-(label|bib)-map. Move init into declaration.
(reftex-select-label-mode, reftex-select-bib-mode):
Use define-derived-mode.
* lisp/textmodes/reftex-index.el (reftex-index-phrases-mode-map)
(reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
Move init into delcaration.
(reftex-index-mode, reftex-index-phrases-mode):
Use define-derived-mode.
* lisp/speedbar.el (speedbar-mode-syntax-table): Renaqme from
speedbar-syntax-table. Move init into declaration.
(speedbar-mode-map): Rename from speedbar-key-map.
Move init into declaration.
(speedbar-file-key-map): Move init into declaration.
(speedbar-mode): Use define-derived-mode.
* lisp/recentf.el (recentf-mode): Don't run hook (or message) redundantly.
* lisp/net/rcirc.el (rcirc-mode): Use run-mode-hooks.
* lisp/emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
(chart-face-list): Move initialization into declaration.
(chart-mode): Use define-derived-mode.
* lisp/calculator.el (calculator-mode-map): Move init into declaration.
(calculator-mode): Use define-derived-mode.
* lisp/cedet/srecode/srt-mode.el (srecode-template-mode):
Use define-derived-mode.
* lisp/cedet/semantic/symref/list.el (semantic-symref-results-mode):
Use run-mode-hooks.
* lisp/erc/erc.el (erc-mode):
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode.
* lisp/org/org-remember.el (org-remember-mode):
* lisp/org/org-capture.el (org-capture-mode): Don't run hook redundantly.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 13 Jan 2011 18:14:30 -0500 |
parents | 62aa3653746a |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
112212:966cc18ff805 | 112213:6e613fbf73d7 |
---|---|
1 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
2 | |
3 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode. | |
4 * semantic/symref/list.el (semantic-symref-results-mode): | |
5 Use run-mode-hooks. | |
6 | |
1 2010-11-12 Glenn Morris <rgm@gnu.org> | 7 2010-11-12 Glenn Morris <rgm@gnu.org> |
2 | 8 |
3 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. | 9 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. |
4 | 10 |
5 2010-11-10 Glenn Morris <rgm@gnu.org> | 11 2010-11-10 Glenn Morris <rgm@gnu.org> |
58 * semantic/tag.el (semantic-tag-version): Bump to 2.0. | 64 * semantic/tag.el (semantic-tag-version): Bump to 2.0. |
59 | 65 |
60 * semantic/db-typecache.el (semanticdb-typecache-find-default): | 66 * semantic/db-typecache.el (semanticdb-typecache-find-default): |
61 * semantic/imenu.el (semantic-create-imenu-index): | 67 * semantic/imenu.el (semantic-create-imenu-index): |
62 * semantic/grammar.el (semantic--grammar-macro-function-tag): | 68 * semantic/grammar.el (semantic--grammar-macro-function-tag): |
63 * semantic/fw.el (semanticdb-without-unloaded-file-searches): Fix | 69 * semantic/fw.el (semanticdb-without-unloaded-file-searches): |
64 require. Suggested by David Engster. | 70 Fix require. Suggested by David Engster. |
65 | 71 |
66 * semantic/bovine/c-by.el: Regenerate. | 72 * semantic/bovine/c-by.el: Regenerate. |
67 | 73 |
68 2010-09-29 Eric Ludlam <zappo@gnu.org> | 74 2010-09-29 Eric Ludlam <zappo@gnu.org> |
69 | 75 |
103 * srecode.el (srecode-version): Bump version to 1.0. | 109 * srecode.el (srecode-version): Bump version to 1.0. |
104 | 110 |
105 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function. | 111 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function. |
106 (semantic-insert-foreign-tag): Use it. | 112 (semantic-insert-foreign-tag): Use it. |
107 | 113 |
108 * srecode/mode.el (srecode-bind-insert): Call | 114 * srecode/mode.el (srecode-bind-insert): |
109 srecode-load-tables-for-mode. | 115 Call srecode-load-tables-for-mode. |
110 (srecode-minor-mode-templates-menu): Do not list templates that | 116 (srecode-minor-mode-templates-menu): Do not list templates that |
111 are not in the current project. | 117 are not in the current project. |
112 (srecode-menu-bar): Add binding for srecode-macro-help. | 118 (srecode-menu-bar): Add binding for srecode-macro-help. |
113 | 119 |
114 * srecode/table.el (srecode-template-table): Add :project slot. | 120 * srecode/table.el (srecode-template-table): Add :project slot. |
157 | 163 |
158 * srecode/compile.el (srecode-compile-templates): Fix directory | 164 * srecode/compile.el (srecode-compile-templates): Fix directory |
159 compare of built-in templates. Give built-ins lower piority. | 165 compare of built-in templates. Give built-ins lower piority. |
160 Support special variable "project". | 166 Support special variable "project". |
161 (srecode-compile-template-table): Set :project slot of new tables. | 167 (srecode-compile-template-table): Set :project slot of new tables. |
162 (srecode-compile-one-template-tag): Use | 168 (srecode-compile-one-template-tag): |
163 srecode-create-dictionaries-from-tags. | 169 Use srecode-create-dictionaries-from-tags. |
164 | 170 |
165 2010-09-21 Eric Ludlam <zappo@gnu.org> | 171 2010-09-21 Eric Ludlam <zappo@gnu.org> |
166 | 172 |
167 Synch EDE to CEDET 1.0. | 173 Synch EDE to CEDET 1.0. |
168 | 174 |
208 macros. Optionally ignore case and at bol for macro. | 214 macros. Optionally ignore case and at bol for macro. |
209 (autoconf-parameter-strip): Use greedy match for newlines. | 215 (autoconf-parameter-strip): Use greedy match for newlines. |
210 (autoconf-new-automake-string): Deleted. | 216 (autoconf-new-automake-string): Deleted. |
211 (autoconf-new-program): Use SRecode to fill an empty file. | 217 (autoconf-new-program): Use SRecode to fill an empty file. |
212 | 218 |
213 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir): New | 219 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir): |
214 function. | 220 New function. |
215 | 221 |
216 * ede/files.el (ede-flush-project-hash): New command. | 222 * ede/files.el (ede-flush-project-hash): New command. |
217 (ede-convert-path): Add optional PROJECT arg. | 223 (ede-convert-path): Add optional PROJECT arg. |
218 (ede-directory-project-p): Obey ".ede-ignore". | 224 (ede-directory-project-p): Obey ".ede-ignore". |
219 (ede-expand-filename-local) | 225 (ede-expand-filename-local) |
230 the top project and not a metasubproject, set TOP to CURDIR. | 236 the top project and not a metasubproject, set TOP to CURDIR. |
231 (ede-proj-makefile-insert-variables): Output a target's object | 237 (ede-proj-makefile-insert-variables): Output a target's object |
232 list whether or not the vars are already in the Makefile. | 238 list whether or not the vars are already in the Makefile. |
233 (ede-pmake-insert-variable-once): New macro. | 239 (ede-pmake-insert-variable-once): New macro. |
234 | 240 |
235 * ede/project-am.el (project-am-with-makefile-current): Add | 241 * ede/project-am.el (project-am-with-makefile-current): |
236 recentf-exclude. | 242 Add recentf-exclude. |
237 (project-am-load-makefile): Obey an optional suggested name. | 243 (project-am-load-makefile): Obey an optional suggested name. |
238 (project-am-expand-subdirlist): New function. | 244 (project-am-expand-subdirlist): New function. |
239 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS | 245 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS |
240 and DIST_SUBDIRS. | 246 and DIST_SUBDIRS. |
241 (project-am-meta-type-alist): A list to scan better Makefile.am | 247 (project-am-meta-type-alist): A list to scan better Makefile.am |
246 (ede-buffer-mine): Create the searched filename as relative. | 252 (ede-buffer-mine): Create the searched filename as relative. |
247 (project-am-load): Simplify, using autoconf-edit. | 253 (project-am-load): Simplify, using autoconf-edit. |
248 (project-am-extract-package-info): Fix separators. | 254 (project-am-extract-package-info): Fix separators. |
249 | 255 |
250 * ede/proj.el (project-run-target): New method. | 256 * ede/proj.el (project-run-target): New method. |
251 (project-make-dist, project-compile-project): Use | 257 (project-make-dist, project-compile-project): |
252 ede-proj-automake-p to determine which kind of compile to use. | 258 Use ede-proj-automake-p to determine which kind of compile to use. |
253 (project-rescan): Call ede-load-project-file. | 259 (project-rescan): Call ede-load-project-file. |
254 (ede-buffer-mine): Add more file names that belong to the project. | 260 (ede-buffer-mine): Add more file names that belong to the project. |
255 (ede-proj-compilers): Improve error message. | 261 (ede-proj-compilers): Improve error message. |
256 | 262 |
257 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable. | 263 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable. |
258 (ede-source-c++): Add more C++ extensions. | 264 (ede-source-c++): Add more C++ extensions. |
259 (ede-proj-target-makefile-objectcode): Quote initforms. Support | 265 (ede-proj-target-makefile-objectcode): Quote initforms. |
260 lex and yacc. | 266 Support lex and yacc. |
261 | 267 |
262 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Removed. | 268 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Removed. |
263 (ede-proj-makefile-insert-variables): New, add LDDEPS. | 269 (ede-proj-makefile-insert-variables): New, add LDDEPS. |
264 (ede-proj-makefile-insert-automake-post-variables): Add LDADD | 270 (ede-proj-makefile-insert-automake-post-variables): Add LDADD |
265 variable. Use ldlibs-local slot. Add a -l to ldlibs strings. | 271 variable. Use ldlibs-local slot. Add a -l to ldlibs strings. |
266 (ede-proj-target-makefile-program): Swap order of two slots so | 272 (ede-proj-target-makefile-program): Swap order of two slots so |
267 they show up in the same order as in the command line. | 273 they show up in the same order as in the command line. |
268 (ede-proj-target-makefile-program): Add ldlibs-local slot. | 274 (ede-proj-target-makefile-program): Add ldlibs-local slot. |
269 | 275 |
270 * ede/proj-shared.el (ede-g++-libtool-shared-compiler): Fix | 276 * ede/proj-shared.el (ede-g++-libtool-shared-compiler): |
271 inference rule to use cpp files. | 277 Fix inference rule to use cpp files. |
272 (ede-proj-target-makefile-shared-object): Quote initforms. | 278 (ede-proj-target-makefile-shared-object): Quote initforms. |
273 | 279 |
274 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous): | 280 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous): |
275 * ede/proj-info.el (ede-proj-target-makefile-info): | 281 * ede/proj-info.el (ede-proj-target-makefile-info): |
276 * ede/proj-aux.el (ede-proj-target-aux): | 282 * ede/proj-aux.el (ede-proj-target-aux): |
325 * semantic/scope.el | 331 * semantic/scope.el |
326 (semantic-analyze-scope-nested-tags-default): Strip duplicates. | 332 (semantic-analyze-scope-nested-tags-default): Strip duplicates. |
327 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are | 333 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are |
328 looking for as part of the scoped tags list. | 334 looking for as part of the scoped tags list. |
329 | 335 |
330 * semantic/html.el (semantic-default-html-setup): Add | 336 * semantic/html.el (semantic-default-html-setup): |
331 senator-step-at-tag-classes. | 337 Add senator-step-at-tag-classes. |
332 | 338 |
333 * semantic/decorate/include.el | 339 * semantic/decorate/include.el |
334 (semantic-decoration-on-unknown-includes): Change light bgcolor. | 340 (semantic-decoration-on-unknown-includes): Change light bgcolor. |
335 (semantic-decoration-on-includes-highlight-default): Check that | 341 (semantic-decoration-on-includes-highlight-default): Check that |
336 the include tag has a postion. | 342 the include tag has a postion. |
353 the very first line in a buffer. | 359 the very first line in a buffer. |
354 | 360 |
355 * semantic/util.el (semantic-hack-search) | 361 * semantic/util.el (semantic-hack-search) |
356 (semantic-recursive-find-nonterminal-by-name) | 362 (semantic-recursive-find-nonterminal-by-name) |
357 (semantic-current-tag-interactive): Deleted. | 363 (semantic-current-tag-interactive): Deleted. |
358 (semantic-describe-buffer): Fix expand-nonterminal. Add | 364 (semantic-describe-buffer): Fix expand-nonterminal. |
359 lex-syntax-mods, type relation separator char, and command | 365 Add lex-syntax-mods, type relation separator char, and command |
360 separation char. | 366 separation char. |
361 (semantic-sanity-check): Only message if called interactively. | 367 (semantic-sanity-check): Only message if called interactively. |
362 | 368 |
363 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the | 369 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the |
364 :filename property and the tag position. | 370 :filename property and the tag position. |
370 Make this buffer local, not the obsoleted variable. | 376 Make this buffer local, not the obsoleted variable. |
371 | 377 |
372 * semantic/idle.el: Add breadcrumbs support. | 378 * semantic/idle.el: Add breadcrumbs support. |
373 (semantic-idle-summary-current-symbol-info-default) | 379 (semantic-idle-summary-current-symbol-info-default) |
374 (semantic-idle-tag-highlight) | 380 (semantic-idle-tag-highlight) |
375 (semantic-idle-completion-list-default): Use | 381 (semantic-idle-completion-list-default): |
376 semanticdb-without-unloaded-file-searches for speed, and to | 382 Use semanticdb-without-unloaded-file-searches for speed, and to |
377 conform to the controls that specify if the idle timer is supposed | 383 conform to the controls that specify if the idle timer is supposed |
378 to be parsing unparsed includes. | 384 to be parsing unparsed includes. |
379 (semantic-idle-symbol-highlight-face) | 385 (semantic-idle-symbol-highlight-face) |
380 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*. | 386 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*. |
381 Callers changed. | 387 Callers changed. |
446 | 452 |
447 * semantic/analyze.el | 453 * semantic/analyze.el |
448 (semantic-analyze-find-tag-sequence-default): Be robust to | 454 (semantic-analyze-find-tag-sequence-default): Be robust to |
449 calculated scopes being nil. | 455 calculated scopes being nil. |
450 | 456 |
451 * semantic/bovine/c.el (semantic-c-describe-environment): Add | 457 * semantic/bovine/c.el (semantic-c-describe-environment): |
452 project macro symbol array. | 458 Add project macro symbol array. |
453 (semantic-c-parse-lexical-token): Add recursion limit. | 459 (semantic-c-parse-lexical-token): Add recursion limit. |
454 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag): | 460 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag): |
455 New overrides. | 461 New overrides. |
456 (semantic-expand-c-tag-namelist): Split a full type from a typedef | 462 (semantic-expand-c-tag-namelist): Split a full type from a typedef |
457 out to its own tag. | 463 out to its own tag. |
458 (semantic-expand-c-tag-namelist): Do not split out a typedef'd | 464 (semantic-expand-c-tag-namelist): Do not split out a typedef'd |
459 inline type if it is an anonymous type. | 465 inline type if it is an anonymous type. |
460 (semantic-c-reconstitute-token): Use the optional initializers as | 466 (semantic-c-reconstitute-token): Use the optional initializers as |
461 a clue that some function is probably a constructor. When | 467 a clue that some function is probably a constructor. |
462 defining the type of these constructors, split the parent name, | 468 When defining the type of these constructors, split the parent name, |
463 and use only the class part, if applicable. | 469 and use only the class part, if applicable. |
464 | 470 |
465 * semantic/bovine/c-by.el: | 471 * semantic/bovine/c-by.el: |
466 * semantic/wisent/python-wy.el: Regenerate. | 472 * semantic/wisent/python-wy.el: Regenerate. |
467 | 473 |
592 | 598 |
593 2010-02-28 Chong Yidong <cyd@stupidchicken.com> | 599 2010-02-28 Chong Yidong <cyd@stupidchicken.com> |
594 | 600 |
595 * semantic/db-find.el | 601 * semantic/db-find.el |
596 (semanticdb-find-translate-path-brutish-default): | 602 (semanticdb-find-translate-path-brutish-default): |
597 * ede/make.el (ede-make-check-version): Use | 603 * ede/make.el (ede-make-check-version): |
598 with-current-buffer instead of save-excursion. | 604 Use with-current-buffer instead of save-excursion. |
599 | 605 |
600 2010-02-24 Eduard Wiebe <usenet@pusto.de> | 606 2010-02-24 Eduard Wiebe <usenet@pusto.de> |
601 | 607 |
602 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag): | 608 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag): |
603 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640). | 609 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640). |
781 Don't call semantic-collector-current-exact-match. | 787 Don't call semantic-collector-current-exact-match. |
782 | 788 |
783 * ede.el (ede-apply-preprocessor-map): Accept lists of | 789 * ede.el (ede-apply-preprocessor-map): Accept lists of |
784 ede-objects as targets. | 790 ede-objects as targets. |
785 | 791 |
786 * ede/pmake.el (ede-proj-makefile-insert-variables): Output | 792 * ede/pmake.el (ede-proj-makefile-insert-variables): |
787 a target's object list even if compiler vars are already in the | 793 Output a target's object list even if compiler vars are already in the |
788 Makefile. | 794 Makefile. |
789 | 795 |
790 * ede/emacs.el (ede-preprocessor-map): Add config.h to the | 796 * ede/emacs.el (ede-preprocessor-map): Add config.h to the |
791 list of headers producing necessary macros. | 797 list of headers producing necessary macros. |
792 | 798 |
878 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure | 884 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure |
879 that mouse motion does not reset the echo area. | 885 that mouse motion does not reset the echo area. |
880 | 886 |
881 2009-11-08 Chong Yidong <cyd@stupidchicken.com> | 887 2009-11-08 Chong Yidong <cyd@stupidchicken.com> |
882 | 888 |
883 * semantic/ctxt.el (semantic-get-local-variables): Disable | 889 * semantic/ctxt.el (semantic-get-local-variables): |
884 the progress reporter entirely. | 890 Disable the progress reporter entirely. |
885 | 891 |
886 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca> | 892 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
887 | 893 |
888 * semantic/fw.el (semantic/loaddefs): | 894 * semantic/fw.el (semantic/loaddefs): |
889 * srecode.el (srecode/loaddefs): | 895 * srecode.el (srecode/loaddefs): |