1. 14 May, 2013 1 commit
  2. 11 May, 2013 3 commits
    • Glenn Morris's avatar
      Set generated-autoload-load-name in some more cedet files · 6b91f903
      Glenn Morris authored
      There are no autoloads in these files, but there are defcustoms.
      See bug#5277.
      
      * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
      * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
      * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
      * srecode/fields.el: Set generated-autoload-load-name.
      6b91f903
    • Glenn Morris's avatar
      Fix some declarations · f20def1f
      Glenn Morris authored
      * lisp/faces.el (internal-face-x-get-resource):
      * lisp/frame.el (ns-display-monitor-attributes-list):
      * lisp/calc/calc-aent.el (math-to-radians-2):
      * lisp/cedet/ede/locate.el (cedet-cscope-version-check)
      (cedet-cscope-support-for-directory):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
      * lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
      Fix declarations.
      f20def1f
    • Glenn Morris's avatar
      More custom :type fixes · 99fb2756
      Glenn Morris authored
      * lisp/lpr.el (lpr-headers-switches):
      * lisp/emacs-lisp/testcover.el (testcover-compose-functions):
      * lisp/cedet/ede/project-am.el (project-am-compile-project-command): Fix :type.
      
      * lisp/progmodes/sql.el (sql-login-params): Fix and improve :type.
      99fb2756
  3. 09 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix a bunch of custom types (thank you cus-test.el) · a931698a
      Glenn Morris authored
      * lisp/bookmark.el (bookmark-search-delay):
      * lisp/cus-start.el (vertical-centering-font-regexp):
      * lisp/ps-mule.el (ps-mule-font-info-database-default):
      * lisp/ps-print.el (ps-default-fg, ps-default-bg):
      * lisp/type-break.el (type-break-good-break-interval):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      (whitespace-space-after-tab-regexp):
      * lisp/emacs-lisp/testcover.el (testcover-1value-functions)
      (testcover-noreturn-functions, testcover-progn-functions)
      (testcover-prog1-functions):
      * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
      * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
      * lisp/eshell/em-glob.el (eshell-glob-translate-alist):
      * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
      * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
      * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
      * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
      * lisp/gnus/gnus-picon.el (gnus-picon-properties):
      * lisp/gnus/gnus-util.el (gnus-completion-styles):
      * lisp/gnus/gnus.el (gnus-other-frame-resume-function):
      * lisp/gnus/message.el (message-user-organization-file)
      (message-cite-reply-position):
      * lisp/gnus/nnir.el (nnir-summary-line-format)
      (nnir-retrieve-headers-override-function):
      * lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
      * lisp/gnus/shr.el (shr-blocked-images):
      * lisp/gnus/spam-report.el (spam-report-resend-to):
      * lisp/gnus/spam.el (spam-summary-exit-behavior):
      * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
      * lisp/play/tetris.el (tetris-tty-colors):
      * lisp/progmodes/cpp.el (cpp-face-default-list):
      * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
      * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
      (idlwave-help-browser-generic-args):
      * lisp/progmodes/make-mode.el (makefile-special-targets-list):
      * lisp/progmodes/python.el (python-shell-virtualenv-path):
      * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
      (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
      (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
      (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
      * lisp/textmodes/reftex-vars.el (reftex-format-label-function):
      * lisp/textmodes/remember.el (remember-diary-file):
      Fix custom types.
      
      * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
      Fix value.
      
      * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
      a931698a
  4. 27 Apr, 2013 1 commit
    • David Engster's avatar
      * lisp/cedet/semantic/complete.el · 201dbb58
      David Engster authored
        (semantic-collector-calculate-completions-raw): If `completionslist'
        is not set, refresh the cache if necessary and use it for
        completions.  This fixes the `semantic-collector-buffer-deep'
        collector (bug#14265).
      201dbb58
  5. 26 Mar, 2013 1 commit
  6. 21 Mar, 2013 1 commit
    • David Engster's avatar
      Merge with CEDET upstream (rev. 8499). · e8cc7880
      David Engster authored
      lisp/
      
      * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
        Inhibit read only while inserting objects.
      
      lisp/cedet/
      
      * semantic.el (navigate-menu): Yank Tag :enable. Make sure
      `senator-tag-ring' is bound.
      (semantic-parse-region-default): Stop reversing the output of
      parse-whole-stream.
      (semantic-repeat-parse-whole-stream): Append returned tags
      differently, so they come out in the right order.
      
      * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
      (semantic-sb-fetch-tag-table): Filter tags being bucketed to exclude
      tags belonging to above filtered classes.
      
      * semantic/find.el (semantic-filter-tags-by-class): New function.
      
      * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
      short-circuit in case tag1 and 2 are identical.
      
      * semantic/analyze/fcn.el
      (semantic-analyze-dereference-metatype-stack): Use
      `semantic-tag-similar-p' instead of 'eq' when comparing two tags
      during metatype evaluation in case they are the same, but not the same
      node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
      
      * semantic/db-find.el (semanticdb-partial-synchronize): Fix require to
      semantic/db-typecache to be correct.
      (semanticdb-find-tags-external-children-of-type): Make this a brutish
      search by default.
      
      * semantic/sort.el (semantic-tag-external-member-children-default):
      When calling `semanticdb-find-tags-external-children-of-type', pass in
      the input tag as the place to start searching for externally defined
      methods.
      
      * semantic/db-file.el (semanticdb-default-save-directory): Doc
      fix: Add ref to default value.
      
      * semantic/complete.el (semantic-complete-post-command-hook): When
      detecting if cursor is outside completion area, do so if cursor moves
      before start of overlay, or the original starting location of the
      overlay (i.e., if user deletes past beginning of the overlay region).
      (semantic-complete-inline-tag-engine): Initialize original start of
      `semantic-complete-inline-overlay'.
      
      * semantic/bovine/c.el (semantic-c-describe-environment): Update some
      section titles.  Test semanticdb table before printing it.
      (semantic-c-reset-preprocessor-symbol-map): Update
      `semantic-lex-spp-macro-symbol-obarray' outside the loop over all the
      files contributing to its value.
      (semantic-c-describe-environment): If there is an EDE project but no
      spp symbols from it, say so.
      
      * srecode/args.el (srecode-semantic-handle-:project): New argument
      handler. Provide variable values if not in an EDE project.
      
      * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
      name.
      
      * srecode/cpp.el (srecode-semantic-handle-:c): Replace all characters
      in FILENAME_SYMBOL that aren't valid CPP symbol chars.
      
      * srecode/map.el (srecode-map-validate-file-for-mode): Force semantic
      to load if it is not active in the template being added to the map.
      
      * srecode/srt.el: Add local variables for setting the autoload file
      name.
      (srecode-semantic-handle-:srt): New autoload cookie
      
      * ede.el (ede-apply-preprocessor-map): Apply map to
      `semantic-lex-spp-project-macro-symbol-obarray' instead of the system
      one. Add require for semantic.
      
      * ede/proj-elisp.el (ede-update-version-in-source): In case a file has
      both a version variable and a Version: comment, always use
      `call-next-method'.
      
      * ede/cpp-root.el (ede-set-project-variables): Deleted.
      `ede-preprocessor-map' does the job this function was attempting to do
      with :spp-table.
      (ede-preprocessor-map): Update file tests to provide better messages.
      Do not try to get symbols from a file that is the file in the current
      buffer.
      
      * ede/base.el (ede-project-placeholder): Add more documentation to
      :file slot.
      (ede-load-cache): Use `insert-file-contents' instead of
      `find-file-noselect' in order to avoid activating other tools.
      
      * semantic/bovine/c.el (semantic-get-local-variables): Also add a new
      variable 'this' if we are in an inline member function.  For detecting
      this, we check overlays at point if there is a class spanning the
      current function.  Also, the variable 'this' has to be a pointer.
      
      * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully when
      querying g++ for defines returns an error.
      
      * srecode/srt-mode.el:
      * srecode/compile.el:
      * semantic/elp.el:
      * semantic/db-el.el:
      * semantic/complete.el:
      * ede.el:
      * cogre.el:
      * srecode/table.el:
      * srecode/mode.el:
      * srecode/insert.el:
      * srecode/compile.el:
      * semantic/decorate/include.el:
      * semantic/db.el:
      * semantic/adebug.el:
      * ede/auto.el:
      * srecode/dictionary.el:
      * semantic/ede-grammar.el:
      * semantic/db.el:
      * semantic/db-find.el:
      * semantic/db-file.el:
      * semantic/complete.el:
      * semantic/bovine/c.el:
      * semantic/analyze.el:
      * ede/util.el:
      * ede/proj.el:
      * ede/proj-elisp.el:
      * ede/pconf.el:
      * ede/locate.el:
      * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name' to
      `eieio-object-name', `object-set-name-string' to
      `eieio-object-set-name-string', `object-class' to
      `eieio-object-class', `class-parent' to `eieio-class-parent',
      `class-parents' to `eieio-class-parents', `class-children' to
      `eieio-class-children', `object-name-string' to
      `eieio-object-name-string', `object-class-fast' to
      `eieio--object-class'. Also replace direct access with new accessor
      functions.
      
      * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix EDE
      file symbol to match rename.  Fix ede-cpp-root symbol to include
      -project in name.
      
      * cedet-files.el (cedet-files-list-recursively): New function.
      Recursively find files whose names are matching to given regex
      
      * ede.el (ede-current-project): Rewrite to avoid imperative style.
      
      * ede/files.el (ede-find-file): Simplify code.
      
      * ede/base.el (ede-normalize-file/directory): Add function to
      normalize :file or :directory slots if they are missing.
      
      * ede/cpp-root.el (ede-cpp-root-project): Add compile-command slot.
      (project-compile-project): Compiles project using value specified in
      :compule-command slot or in compile-command local variable.  Value of
      slot or local variable could be string or function that receives
      project and should return string that will be invoked as command.
      (project-compile-target): Invokes compilation of whole project
      
      * ede/files.el (ede-find-project-root): New function to find root of
      project that contains specific file.
      (ede-files-find-existing): New function which checks presence of given
      directory in the list of registered projects.
      
      etc/
      
      * srecode/ede-autoconf.srt: Change Copyright to FSF.
      (ede-empty): Change AC_INIT to use PROJECT_NAME, and PROJECT_VERSION.
      
      * srecode/ede-make.srt (ede-empty): Add a dependency on :project.  Add
      header comment specifying the project's relative path.
      
      * srecode/c.srt (header_guard): Upcase the filename symbol.
      
      * srecode/java.srt (empty-main): New.
      (class-tag): Decapitalize class.
      e8cc7880
  7. 11 Mar, 2013 1 commit
  8. 04 Mar, 2013 2 commits
  9. 01 Jan, 2013 1 commit
  10. 19 Nov, 2012 1 commit
  11. 14 Nov, 2012 1 commit
    • David Engster's avatar
      Merge bug fixes from CEDET upstream. · 22b762c7
      David Engster authored
      * semantic/symref/list.el (semantic-symref-symbol): Use
        `semantic-complete-read-tag-project' instead of
        `semantic-complete-read-tag-buffer-deep', since the latter is not
        working correctly.
      
      * semantic/symref.el (semantic-symref-result-get-tags): Use
        `find-buffer-visiting' to follow symbolic links.
      
      * semantic/fw.el (semantic-find-file-noselect): Always set
        `enable-local-variables' to `:safe' when loading files.
      22b762c7
  12. 13 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Use new names for hooks rather than obsolete aliases · 7b1bf173
      Glenn Morris authored
      * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
      * lisp/cedet/semantic/util.el (semantic-describe-buffer):
      * lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
      (semantic-default-c-setup):
      * lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
      * lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (gnus-subscribe-newsgroup-functions)
      (nndiary-request-accept-article-functions):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
      Use new names for hooks rather than obsolete aliases.
      
      * lisp/arc-mode.el:
      * lisp/emacs-lisp/checkdoc.el: Related comments.
      
      * etc/NEWS: Related markup.
      7b1bf173
  13. 12 Nov, 2012 1 commit
  14. 10 Nov, 2012 1 commit
  15. 25 Oct, 2012 1 commit
    • David Engster's avatar
      Merge CEDET upstream. · 3f2a848d
      David Engster authored
      * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
      Removed.  This feature is already integrated in imenu.
      
      * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
      always loaded.  Require `speedbar' unconditionally.
      
      * semantic/analyze.el (semantic-analyze-dereference-alias): New
      function to dereference aliases.
      (semantic-analyze-current-context-default): Use it.
      
      * semantic/grammar.el (semantic-grammar-create-package):
      * srecode/compile.el (srecode-compile-templates): Throw a proper
      error if semantic-mode is not enabled (bug#9968).
      
      Compiler warning fixes:
      
      * semantic.el (semantic-elapsed-time): Make it a defsubst.
      
      * srecode/dictionary.el (srecode-adebug-dictionary): Remove
      require for `semantic'.
      
      * srecode/map.el:
      * srecode/insert.el: Declare functions from `data-debug'.
      
      * semantic/grammar.el: Require `help-fns'.  Declare functions from
      `eldoc', which is required in function body.
      
      * srecode/java.el:
      * semantic/texi.el:
      * semantic/grammar-wy.el:
      * semantic/db-file.el:
      * semantic/db-el.el:
      * semantic/chart.el: Fix requires.
      
      * ede/locate.el: Remove useless requires. Declare functions
      instead and require in functions when needed.
      3f2a848d
  16. 23 Oct, 2012 1 commit
    • Stefan Monnier's avatar
      Cleanup uses of "-hooks". · d1069532
      Stefan Monnier authored
      * doc/emacs/custom.texi (Hooks):
      * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
      
      * lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (nndiary-request-accept-article-functions):
      * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
      * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
      * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
      * lisp/cedet/semantic/edit.el (semantic-change-functions)
      (semantic-edits-new-change-functions)
      (semantic-edits-delete-change-functions)
      (semantic-edits-reparse-change-functions):
      * lisp/htmlfontify.el (hfy-post-html-hook):
      * lisp/filesets.el (filesets-cache-fill-content-hook):
      * lisp/arc-mode.el (archive-extract-hook):
      * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
      * lisp/net/rcirc.el (rcirc-sentinel-functions)
      (rcirc-receive-message-functions, rcirc-activity-functions)
      (rcirc-print-functions):
      * lisp/net/dbus.el (dbus-event-error-functions):
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
      (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      * lisp/mail/sendmail.el (mail-yank-hooks):
      * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
      d1069532
  17. 16 Oct, 2012 1 commit
  18. 14 Oct, 2012 1 commit
    • David Engster's avatar
      Merge changes from CEDET upstream. · bf659b3f
      David Engster authored
      * semantic.el (semantic-error-if-unparsed): New function.  Raise
        error if buffer was not parsed by Semantic (bug #12045).
        (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
        only if buffer was parsed.  Also, replace ':active' with ':enable'
        where necessary.
      
      * semantic/wisent/python.el
        (semantic-python-get-system-include-path): Use
        `python-shell-internal-send-string' if available to query Python
        for system paths.
      
      * semantic/senator.el (senator-next-tag):
        (senator-previous-tag):
        (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
      
      * semantic/complete.el (semantic-complete-jump-local):
        (semantic-complete-jump):
        (semantic-complete-jump-local-members):
        (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
        (semantic-complete-inline-project): Fix autoload cookie.
      
      * semantic/analyze/complete.el
        (semantic-analyze-possible-completions): Check if buffer was
        parsed.  Only raise an error if function was called interactively,
        otherwise silently return nil.
      
      * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
      bf659b3f
  19. 08 Oct, 2012 2 commits
  20. 07 Oct, 2012 3 commits
  21. 06 Oct, 2012 2 commits
    • Glenn Morris's avatar
      Add missing :version tags · d1a1c7e6
      Glenn Morris authored
      * profiler.el (profiler): Add missing group :version tag.
      * avoid.el (mouse-avoidance-banish-position):
      * proced.el (proced-renice-command):
      * calc/calc.el (calc-ensure-consistent-units):
      * calendar/icalendar.el (icalendar-import-format-uid):
      * net/tramp.el (tramp-save-ad-hoc-proxies):
      * progmodes/bug-reference.el (bug-reference-bug-regexp):
      * progmodes/flymake.el (flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position):
      * progmodes/sh-script.el (sh-indent-after-continuation):
      * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
      (verilog-before-save-font-hook, verilog-after-save-font-hook):
      * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
      (vhdl-array-index-record-field-in-sensitivity-list)
      (vhdl-indent-comment-like-next-code-line):
      * textmodes/reftex-vars.el (reftex-ref-style-alist)
      (reftex-ref-macro-prompt, reftex-ref-style-default-list)
      (reftex-cite-key-separator, reftex-create-bibtex-header)
      (reftex-create-bibtex-footer):
      * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
      (rst-indent-literal-normal, rst-indent-literal-minimized)
      (rst-indent-comment): Add missing custom :version tags.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-mode)
      (semantic-displayor-tooltip-initial-max-tags)
      (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
      * cedet/ede/linux.el (project-linux): Add missing group :version tag.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
      
      * erc/erc.el (erc-lurker):
      * erc/erc-desktop-notifications.el (erc-notifications):
      Add missing group :version tags.
      
      * gnus/gnus-notifications.el (gnus-notifications):
      Add missing group :version tag.
      * gnus/gnus-msg.el (gnus-gcc-pre-body-encode-hook)
      (gnus-gcc-post-body-encode-hook):
      * gnus/gnus-sync.el (gnus-sync-lesync-name)
      (gnus-sync-lesync-install-topics): Add missing custom :version tags.
      d1a1c7e6
    • Chong Yidong's avatar
      Move bovine-grammar and wisent-grammar into lisp/ directory. · 9414dd8d
      Chong Yidong authored
      * lisp/files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
      
      * cedet/semantic/bovine/grammar.el:
      * cedet/semantic/wisent/grammar.el: Move from admin/grammars.  Add
      autoloads for bovine-grammar-mode and wisent-grammar-mode.
      9414dd8d
  22. 02 Oct, 2012 1 commit
  23. 01 Oct, 2012 1 commit
  24. 15 Aug, 2012 1 commit
  25. 07 Aug, 2012 1 commit
    • Andreas Schwab's avatar
      * calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix · 651eaf36
      Andreas Schwab authored
      handling of interactive spec when the body uses return.
      (math-do-arg-check, math-define-function-body): Use backquote forms.
      * calc/calc-ext.el (math-defcache): Likewise.
      * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
      * allout.el (allout-new-exposure): Likewise.
      * calc/calcalg2.el (math-tracing-integral): Likewise.
      * info.el (Info-last-menu-item): Likewise.
      * emulation/vip.el (vip-loop): Likewise.
      * textmodes/artist.el (artist-funcall): Likewise.
      * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
      Construct menu-item directly.
      
      * cedet/ede/base.el (ede-with-projectfile): Use backquote forms.
      651eaf36
  26. 29 Jul, 2012 1 commit
  27. 14 Jul, 2012 1 commit
  28. 09 Jul, 2012 2 commits
  29. 01 Jun, 2012 1 commit
  30. 12 Mar, 2012 1 commit
    • David Engster's avatar
      * semantic/db-find.el · 41bf0c48
      David Engster authored
        (semanticdb-find-translate-path-brutish-default): If we don't yet
        have a proper table for PATH, use `semanticdb-current-database'
        instead (bug #10343).
      41bf0c48
  31. 11 Mar, 2012 1 commit
  32. 28 Feb, 2012 1 commit