diff options
| author | Stefan Monnier | 2011-01-13 18:14:30 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-01-13 18:14:30 -0500 |
| commit | 4d789d84b8d74fc01b83277fa9834bb9aa83642b (patch) | |
| tree | b8df4bdad5a0313325f8900968ad82b488942a90 /lisp/cedet/ChangeLog | |
| parent | b49a2dbf58c276d48e3251e0d565557bf031a43e (diff) | |
| download | emacs-4d789d84b8d74fc01b83277fa9834bb9aa83642b.tar.gz emacs-4d789d84b8d74fc01b83277fa9834bb9aa83642b.zip | |
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.
Fixes: debbugs:513
Diffstat (limited to 'lisp/cedet/ChangeLog')
| -rw-r--r-- | lisp/cedet/ChangeLog | 70 |
1 files changed, 38 insertions, 32 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index efe7e4d4255..c25294ca5a7 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 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. |
| @@ -60,8 +66,8 @@ | |||
| 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 | ||
| @@ -105,8 +111,8 @@ | |||
| 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. |
| @@ -159,8 +165,8 @@ | |||
| 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 | ||
| @@ -210,8 +216,8 @@ | |||
| 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. |
| @@ -232,8 +238,8 @@ | |||
| 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 |
| @@ -248,16 +254,16 @@ | |||
| 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. |
| @@ -267,8 +273,8 @@ | |||
| 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): |
| @@ -327,8 +333,8 @@ | |||
| 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. |
| @@ -355,8 +361,8 @@ | |||
| 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 | ||
| @@ -372,8 +378,8 @@ | |||
| 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) |
| @@ -448,8 +454,8 @@ | |||
| 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. |
| @@ -458,8 +464,8 @@ | |||
| 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: |
| @@ -594,8 +600,8 @@ | |||
| 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 | ||
| @@ -783,8 +789,8 @@ | |||
| 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 |
| @@ -880,8 +886,8 @@ | |||
| 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 | ||