1. 20 Nov, 2011 1 commit
  2. 16 Nov, 2011 1 commit
  3. 15 Nov, 2011 1 commit
  4. 14 Nov, 2011 1 commit
  5. 03 Nov, 2011 1 commit
    • David Engster's avatar
      * srecode.el: · 07a79ce4
      David Engster authored
      * srecode/texi.el:
      * srecode/template.el:
      * srecode/java.el:
      * srecode/insert.el:
      * srecode/document.el:
      * srecode/dictionary.el:
      * srecode/compile.el:
      * semantic/wisent/java-tags.el:
      * semantic/texi.el:
      * semantic/sort.el:
      * semantic/lex-spp.el:
      * semantic/idle.el:
      * semantic/html.el:
      * semantic/db-typecache.el:
      * semantic/analyze/complete.el:
      * ede/generic.el:
      * ede/custom.el:
      * ede/cpp-root.el:
      * ede/base.el: Fix filenames in comments and headers.
      
      * semantic/db-find.el:
      * srecode/insert.el (srecode-insert-include-lookup):
      * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
      comments and docstrings.
      
      * semantic/ctxt.el (semantic-end-of-context-default):
      * semantic/find.el (semantic-find-tags-by-scope-protection):
      * semantic/java.el (semantic-documentation-for-tag): Fix typos in
      docstrings.
      
      * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
      (semanticdb-abstract-db-cache):
      * semantic/decorate/include.el
      (semantic-decoration-unknown-include-describe): Fix filenames in
      docstring.
      
      * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
      (semantic-ede-grammar-compiler-bovine): Fix requires that are
      added to the grammar-make-script.
      07a79ce4
  6. 23 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Make vc-toggle-read-only an alias for toggle-read-only. · 86c60681
      Chong Yidong authored
      It hasn't worked in a VC sense since 2008-05-02T07:12:59Z!esr@snark.thyrsus.com, though this was
      not documented at the time (grr).
      
      * lisp/vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
      for toggle-read-only.  Note that this hasn't called vc-next-action
      since 2008-05-02, though it wasn't documented at the time.
      
      * lisp/files.el (toggle-read-only): Remove obsolete comment about
      version control.
      
      * doc/emacs/buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only.
      
      * lisp/cedet/ede.el (ede-maybe-checkout): Function deleted;
      vc-toggle-read-only does not do version control now.
      
      * lisp/cedet/ede/project-am.el (project-remove-file, project-add-file)
      (project-new-target): Don't call ede-maybe-checkout.
      
      * lisp/cedet/ede/util.el (ede-make-buffer-writable): Don't use
      vc-toggle-read-only.
      
      * lisp/vc/ediff-init.el (ediff-toggle-read-only-function): Use
      toggle-read-only.
      86c60681
  7. 20 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix more minor mode docstrings. · ac6c8639
      Chong Yidong authored
      * lisp/emulation/cua-base.el (cua-mode):
      * lisp/mail/footnote.el (footnote-mode):
      * lisp/mail/mailabbrev.el (mail-abbrevs-mode):
      * lisp/net/xesam.el (xesam-minor-mode):
      * lisp/progmodes/bug-reference.el (bug-reference-mode):
      * lisp/progmodes/cap-words.el (capitalized-words-mode):
      * lisp/progmodes/compile.el (compilation-minor-mode)
      (compilation-shell-minor-mode):
      * lisp/progmodes/gud.el (gud-tooltip-mode):
      * lisp/progmodes/hideif.el (hide-ifdef-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
      * lisp/progmodes/subword.el (subword-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * lisp/progmodes/which-func.el (which-function-mode):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      * lisp/term/vt100.el (vt100-wide-mode):
      * lisp/textmodes/flyspell.el (flyspell-mode):
      * lisp/textmodes/ispell.el (ispell-minor-mode):
      * lisp/textmodes/nroff-mode.el (nroff-electric-mode):
      * lisp/textmodes/paragraphs.el (use-hard-newlines):
      * lisp/textmodes/refill.el (refill-mode):
      * lisp/textmodes/reftex.el (reftex-mode):
      * lisp/textmodes/rst.el (rst-minor-mode):
      * lisp/textmodes/sgml-mode.el (html-autoview-mode)
      (sgml-electric-tag-pair-mode):
      * lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
      * lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
      * lisp/emulation/crisp.el (crisp-mode):
      * lisp/emacs-lisp/eldoc.el (eldoc-mode):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
      minor mode behavior.
      
      * lisp/erc/erc-fill.el (erc-fill-mode):
      * lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
      
      * lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
      reflect Emacs 24 minor mode changes.
      
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
      calling a minor mode from Lisp with nil arg enables it, so we have to
      make the working a bit ambiguous here).
      ac6c8639
  8. 03 Aug, 2011 1 commit
  9. 30 Jul, 2011 1 commit
  10. 04 Jul, 2011 1 commit
  11. 01 Jul, 2011 1 commit
  12. 12 May, 2011 1 commit
  13. 11 May, 2011 1 commit
    • Glenn Morris's avatar
      javascript.el trivia. · 4f306b0f
      Glenn Morris authored
      * lisp/semantic/wisent/javascript.el (semantic-get-local-variables):
      Use define-mode-local-override rather than its obsolete alias.
      4f306b0f
  14. 13 Apr, 2011 1 commit
  15. 06 Apr, 2011 1 commit
  16. 07 Mar, 2011 1 commit
  17. 01 Mar, 2011 1 commit
  18. 21 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cconv.el (cconv-closure-convert-rec): Let the byte · cb9336bd
      Stefan Monnier authored
      compiler choose the representation of closures.
      (cconv--env-var): Remove.
      * lisp/emacs-lisp/bytecomp.el (byte-compile--env-var): New var.
      (byte-compile-make-closure, byte-compile-get-closed-var):
      New functions.
      * lisp/cedet/semantic/wisent/comp.el (wisent-byte-compile-grammar):
      Macroexpand before passing to byte-compile-form.
      cb9336bd
  19. 25 Jan, 2011 1 commit
  20. 13 Jan, 2011 1 commit
    • Stefan Monnier's avatar
      Use run-mode-hooks for major mode hooks. · 4d789d84
      Stefan Monnier authored
      * 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
      4d789d84
  21. 02 Jan, 2011 1 commit
  22. 12 Nov, 2010 1 commit
  23. 10 Nov, 2010 1 commit
    • Glenn Morris's avatar
      system-type related trivia. · 72bc50c0
      Glenn Morris authored
      * lisp/cedet/semantic/bovine/c.el: Test system-type with memq.
      
      * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
      No recent Emacs supports system-type `emx'.
      
      * lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
      (ada-command-separator, ada-default-prj-properties)
      (ada-find-any-references): Update for above name change.
      
      * lisp/dirtrack.el (dirtrack-directory-function)
      (dirtrack-canonicalize-function):
      * lisp/filecache.el (file-cache-completion-ignore-case)
      (file-cache-case-fold-search, file-cache-ignore-case):
      * lisp/term.el (serial-port-is-file-p): Cosmetic change.
      
      * lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
      Remove non-existent `windows-95' system-type.
      * lisp/dired.el (dired-chown-program): Remove non-existent `linux'
      system-type.
      
      * lisp/locate.el: Comment.
      72bc50c0
  24. 09 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Replace still more end-of-line etc with line-end-position, etc. · 9b026d9f
      Glenn Morris authored
      * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
      (nnbabyl-check-mbox): Use point-at-bol.
      
      * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
      * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
      Use point-at-bol and point-at-eol.
      
      * lisp/vc/emerge.el (emerge-line-number-in-buf):
      * lisp/textmodes/ispell.el (ispell-region):
      * lisp/textmodes/fill.el (current-fill-column):
      * lisp/progmodes/xscheme.el (xscheme-send-current-line):
      * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
      * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
      * lisp/progmodes/sh-script.el (sh-handle-prev-do):
      * lisp/progmodes/meta-mode.el (meta-indent-line):
      * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
      (idlwave-in-quote):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
      (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
      * lisp/progmodes/fortran.el (fortran-looking-at-if-then):
      * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
      * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
      (cperl-find-pods-heres):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
      * lisp/net/quickurl.el (quickurl-list-insert):
      * lisp/net/ldap.el (ldap-search-internal):
      * lisp/net/eudc.el (eudc-expand-inline):
      * lisp/mail/sendmail.el (sendmail-send-it):
      * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
      * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
      (viper-brac-function):
      * lisp/calc/calc-yank.el (calc-do-grab-region):
      * lisp/calc/calc-keypd.el (calc-keypad-press):
      * lisp/term.el (term-move-columns, term-insert-spaces):
      * lisp/speedbar.el (speedbar-highlight-one-tag-line):
      * lisp/simple.el (current-word):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
      (Info-scroll-down):
      * lisp/hippie-exp.el (he-line-beg):
      * lisp/epa.el (epa--marked-keys):
      * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
      (dired-update-file-line, dired-add-entry, dired-remove-entry)
      (dired-relist-entry):
      * lisp/buff-menu.el (Buffer-menu-buffer):
      * lisp/array.el (current-line):
      * lisp/allout.el (allout-resolve-xref)
      (allout-latex-verbatim-quote-curr-line):
      Replace yet more uses of end-of-line etc with line-end-position.
      9b026d9f
  25. 07 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Replace end-of-line, save-excursion etc with point-at-eol, point-at-bol. · e180ab9f
      Glenn Morris authored
      * lisp/mh-e/mh-seq.el (mh-read-msg-list): Use point-at-eol.
      
      * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
      (gnus-bookmark-kill-line): Use point-at-eol.
      
      * lisp/cedet/ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
      
      * lisp/emacs-lisp/chart.el (chart-zap-chars):
      * lisp/play/decipher.el (decipher-set-map):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent)
      (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
      * lisp/progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
      * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library)
      (ada-get-all-references):
      * lisp/progmodes/cperl-mode.el (cperl-electric-paren)
      (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
      (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
      (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
      (cperl-word-at-point-hard):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-move-or-history)
      (idlwave-shell-filename-string, idlwave-shell-batch-command)
      (idlwave-shell-display-line):
      * lisp/progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
      (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
      * lisp/progmodes/js.el (js--re-search-forward-inner)
      (js--re-search-backward-inner):
      * lisp/progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
      (vhdl-fix-clause, vhdl-compose-configuration-architecture):
      * lisp/progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
      * lisp/textmodes/flyspell.el (flyspell-process-localwords):
      * lisp/textmodes/ispell.el (ispell-buffer-local-parsing)
      (ispell-buffer-local-dict, ispell-buffer-local-words):
      Use point-at-bol and point-at-eol.
      e180ab9f
  26. 01 Nov, 2010 2 commits
  27. 31 Oct, 2010 3 commits
  28. 29 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Replace some inappropriate uses of toggle-read-only. (Bug#7292) · d2ce10d2
      Glenn Morris authored
      * lisp/speedbar.el (speedbar-mode):
      * lisp/play/fortune.el (fortune-in-buffer, fortune):
      * lisp/play/gomoku.el (gomoku-mode):
      * lisp/play/landmark.el (lm-mode):
      * lisp/textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
      * lisp/cedet/mode-local.el (mode-local-augment-function-help):
      * lisp/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
      * lisp/semantic/symref/list.el (semantic-symref-results-dump)
      (semantic-symref-rb-toggle-expand-tag):
      Replace inappropriate uses of toggle-read-only.
      d2ce10d2
  29. 12 Oct, 2010 2 commits
    • Juanma Barranquero's avatar
      Fix typos in docstrings, comments and ChangeLogs. · c0943d3d
      Juanma Barranquero authored
      * etc/tutorials/TUTORIAL.es: Fix typos.
      
      * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
        Fix typo in message.
        (semantic-symref-list-map-open-hits): Fix typo in docstring.
      
      * lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
      
      * lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
      
      * lisp/international/mule.el (define-coding-system):
      * lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
      * composite.el (compose-region): Fix typo in docstring.
      
      * lisp/org/org-agenda.el (org-prefix-category-length)
        (org-prefix-category-max-length): Fix typos in docstrings.
      
      * src/font.c (Ffont_variation_glyphs):
      * ccl.c (Fccl_execute_on_string): Fix typo in docstring.
      c0943d3d
    • Juanma Barranquero's avatar
  30. 30 Sep, 2010 1 commit
  31. 29 Sep, 2010 1 commit
    • Chong Yidong's avatar
      Fix errors in CEDET 1.0 merge. · ac73b1fa
      Chong Yidong authored
      * semantic/tag.el (semantic-tag-version): Bump to 2.0.
      
      * semantic/db-typecache.el (semanticdb-typecache-find-default):
      * semantic/imenu.el (semantic-create-imenu-index):
      * semantic/grammar.el (semantic--grammar-macro-function-tag):
      * semantic/fw.el (semanticdb-without-unloaded-file-searches): Fix
      require.  Suggested by David Engster.
      
      * semantic/bovine/c-by.el: Regenerate.
      
      * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
      (semantic-lex-spp-enable-debug-symbol): New command
      (semantic-lex-spp-value-valid-p)
      (semantic-lex-spp-validate-value): New functions
      (semantic-lex-spp-symbol-set)
      (semantic-lex-spp-symbol-push): Add call to validate value.
      (semantic-lex-spp-table-write-slot-value): Instead of erroring on
      invalid values during save, just save a nil.
      ac73b1fa
  32. 27 Sep, 2010 1 commit
  33. 25 Sep, 2010 2 commits
    • Chong Yidong's avatar
      Fix require names in CEDET 1.0 merge. · b93e37e5
      Chong Yidong authored
      * ede/linux.el (ede-project-class-files):
      * ede/generic.el (ede-generic-new-autoloader):
      * ede/emacs.el (ede-project-class-files):
      * ede/simple.el (ede-project-class-files):
      * ede/cpp-root.el (ede-project-class-files): Fix require name.
      b93e37e5
    • Juanma Barranquero's avatar
      Fix typos. · 40b1a3a9
      Juanma Barranquero authored
      * lisp/finder.el (finder-unknown-keywords):
      * lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
      * lisp/progmodes/etags.el (tags-table-including): Fix typos in docstrings.
      
      * lisp/cedet/semantic/lex.el (semantic-ignore-comments): Doc fix.
      
      * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
        Fix typo in error message.
        (semantic-symref-list-map-open-hits): Fix typo in docstring.
      
      * lisp/org/org-agenda.el (org-agenda-hide-tags-regexp):
      * lisp/org/org.el (org-refile-targets): Fix typos in docstrings.
      40b1a3a9
  34. 21 Sep, 2010 2 commits
    • Eric M. Ludlam's avatar
      Synch SRecode to CEDET 1.0. · b9749554
      Eric M. Ludlam authored
      * lisp/cedet/cedet.el (cedet-version):
      * lisp/cedet/srecode.el (srecode-version): Bump version to 1.0.
      
      * lisp/cedet/pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
      'never, disable all pulsing.
      
      * lisp/cedet/srecode/compile.el (srecode-compile-templates): Fix directory
      compare of built-in templates.  Give built-ins lower piority.
      Support special variable "project".
      (srecode-compile-template-table): Set :project slot of new tables.
      (srecode-compile-one-template-tag): Use
      srecode-create-dictionaries-from-tags.
      
      * lisp/cedet/srecode/cpp.el (srecode-cpp): New defgroup.
      (srecode-cpp-namespaces): New option.
      (srecode-semantic-handle-:using-namespaces)
      (srecode-cpp-apply-templates): New functions.
      (srecode-semantic-apply-tag-to-dict): Handle template parameters
      by calling `srecode-cpp-apply-templates'.
      
      * lisp/cedet/srecode/dictionary.el (srecode-dictionary-add-template-table):
      Do not add variables in tables not for the current project.
      (srecode-compound-toString): Handle cases where the default value
      is another compound value.
      (srecode-dictionary-lookup-name): New optional argument
      NON-RECURSIVE, which inhibits visiting dictionary parents.
      (srecode-dictionary-add-section-dictionary)
      (srecode-dictionary-merge): New optional argument FORCE adds
      values even if an identically named entry exists.
      (srecode-dictionary-add-entries): New method.
      (srecode-create-dictionaries-from-tags): New function.
      
      * lisp/cedet/srecode/fields.el (srecode-fields-exit-confirmation): New option.
      (srecode-field-exit-ask): Use it.
      
      * lisp/cedet/srecode/find.el (srecode-template-get-table)
      (srecode-template-get-table-for-binding)
      (srecode-all-template-hash): Skip if not in current project.
      (srecode-template-table-in-project-p): New method.
      
      * lisp/cedet/srecode/getset.el (srecode-insert-getset): Force tag table
      update.  Don't query the class if it is empty.
      
      * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Merge template
      dictionary before resolving arguments.
      (srecode-insert-method-helper): Add error checking to make sure
      that we only have dictionaries.
      (srecode-insert-method): Check template nesting depth when using
      point inserter override.
      (srecode-insert-method): Install override with depth limit.
      
      * lisp/cedet/srecode/map.el (srecode-map-update-map): Make map loading more
      robust.
      
      * lisp/cedet/srecode/mode.el (srecode-bind-insert): Call
      srecode-load-tables-for-mode.
      (srecode-minor-mode-templates-menu): Do not list templates that
      are not in the current project.
      (srecode-menu-bar): Add binding for srecode-macro-help.
      
      * lisp/cedet/srecode/table.el (srecode-template-table): Add :project slot.
      (srecode-dump): Dump it.
      
      * lisp/cedet/srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
      (semantic-insert-foreign-tag): Use it.
      b9749554
    • Eric M. Ludlam's avatar
      Synch EDE to CEDET 1.0. · cb85c0d8
      Eric M. Ludlam authored
      * cedet-idutils.el (cedet-idutils-make-command): New option.
      (cedet-idutils-mkid-call):
      (cedet-idutils-create/update-database): New functions.
      
      * cedet-cscope.el (cedet-cscope-create):
      (cedet-cscope-create/update-database): New functions.
      (cedet-cscope-support-for-directory): Make interactive.
      
      * cedet-global.el (cedet-global-gtags-command): New option.
      (cedet-gnu-global-gtags-call)
      (cedet-gnu-global-create/update-database): New functions.
      
      * ede.el (ede-save-cache): Fix recentf-exclude expression.
      (ede-make-dist): Always use toplevel project.
      (ede-buffer-object): If we fail to find an object in the current
      project, loop upward looking for a match.  If no target is found,
      use most local project.
      (ede-buffer-belongs-to-target-p)
      (ede-buffer-belongs-to-project-p): New functions.
      (ede-initialize-state-current-buffer): New function.
      (ede-target-forms-menu, ede-project-buffers): Use them.
      (ede-minor-mode, ede-reset-all-buffers): Use it.
      (project-interactive-select-target, project-add-file): Don't use
      ede-project-force-load.
      (ede-buffer-object): New arg PROJSYM.
      (ede-minor-mode): Remove ede-directory-project-p test.
      (ede-initialize-state-current-buffer): Don't test for
      ede-directory-project-p if there is a matching open project.
      (ede-customize-forms-menu): Prevent error if there is no project.
      (ede-load-project-file): Set ede-constructing to the thing being
      constructed, instead of t.
      (ede-project-force-load): Deleted.
      
      * ede/base.el:
      * ede/auto.el:
      * ede/custom.el: New files.
      
      * ede/autoconf-edit.el (autoconf-find-last-macro)
      (autoconf-parameters-for-macro): Parse multiline parameters of
      macros.  Optionally ignore case and at bol for macro.
      (autoconf-parameter-strip): Use greedy match for newlines.
      (autoconf-new-automake-string): Deleted.
      (autoconf-new-program): Use SRecode to fill an empty file.
      
      * ede/cpp-root.el (ede-create-lots-of-projects-under-dir): New
      function.
      
      * ede/files.el (ede-flush-project-hash): New command.
      (ede-convert-path): Add optional PROJECT arg.
      (ede-directory-project-p): Obey ".ede-ignore".
      (ede-expand-filename-local)
      (ede-expand-filename-impl-via-subproj): New methods.
      (ede-expand-filename-impl): Use them.
      (ede-project-root, ede-project-root-directory): Move to
      ede/auto.el.
      
      * ede/locate.el (ede-locate-flush-hash):
      (ede-locate-create/update-root-database): New methods.
      (initialize-instance): Use ede-locate-flush-hash.
      
      * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
      the top project and not a metasubproject, set TOP to CURDIR.
      (ede-proj-makefile-insert-variables): Output a target's object
      list whether or not the vars are already in the Makefile.
      (ede-pmake-insert-variable-once): New macro.
      
      * ede/project-am.el (project-am-with-makefile-current): Add
      recentf-exclude.
      (project-am-load-makefile): Obey an optional suggested name.
      (project-am-expand-subdirlist): New function.
      (project-am-makefile::project-rescan): Use it.  Combine SUBDIRS
      and DIST_SUBDIRS.
      (project-am-meta-type-alist): A list to scan better Makefile.am
      (project-am-scan-for-targets): Scan also over
      project-am-meta-type-alist.
      (ede-system-include-path): Simple implementation.
      (ede-find-target): Deleted.  EDE core takes care of this.
      (ede-buffer-mine): Create the searched filename as relative.
      (project-am-load): Simplify, using autoconf-edit.
      (project-am-extract-package-info): Fix separators.
      
      * ede/proj.el (project-run-target): New method.
      (project-make-dist, project-compile-project): Use
      ede-proj-automake-p to determine which kind of compile to use.
      (project-rescan): Call ede-load-project-file.
      (ede-buffer-mine): Add more file names that belong to the project.
      (ede-proj-compilers): Improve error message.
      
      * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
      (ede-source-c++): Add more C++ extensions.
      (ede-proj-target-makefile-objectcode): Quote initforms.  Support
      lex and yacc.
      
      * ede/proj-prog.el (ede-proj-makefile-insert-rules): Removed.
      (ede-proj-makefile-insert-variables): New, add LDDEPS.
      (ede-proj-makefile-insert-automake-post-variables): Add LDADD
      variable.  Use ldlibs-local slot.  Add a -l to ldlibs strings.
      (ede-proj-target-makefile-program): Swap order of two slots so
      they show up in the same order as in the command line.
      (ede-proj-target-makefile-program): Add ldlibs-local slot.
      
      * ede/proj-shared.el (ede-g++-libtool-shared-compiler): Fix
      inference rule to use cpp files.
      (ede-proj-target-makefile-shared-object): Quote initforms.
      
      * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
      * ede/proj-info.el (ede-proj-target-makefile-info):
      * ede/proj-aux.el (ede-proj-target-aux):
      * ede/proj-archive.el (ede-proj-target-makefile-archive):
      * ede/proj-elisp.el (ede-proj-target-elisp)
      (ede-proj-target-elisp-autoloads): Quote initforms.
      
      * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
      
      * ede/shell.el (ede-shell-buffer): Fix buffer name.
      
      * ede/pconf.el (ede-proj-configure-synchronize): If user events
      occur while waiting for the compile process to finish, pull them
      in and discard those events.
      cb85c0d8