1. 03 Oct, 2010 2 commits
  2. 02 Oct, 2010 2 commits
  3. 01 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Close bug#3992. · b336bfcd
      Glenn Morris authored
      * lib-src/emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
  4. 30 Sep, 2010 4 commits
  5. 29 Sep, 2010 4 commits
  6. 28 Sep, 2010 1 commit
  7. 27 Sep, 2010 8 commits
  8. 26 Sep, 2010 2 commits
  9. 25 Sep, 2010 1 commit
    • 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.
  10. 23 Sep, 2010 1 commit
    • Glenn Morris's avatar
      Move some aliases to options before the associated definitions. · af3ccb5c
      Glenn Morris authored
      * isearch.el (isearch-lazy-highlight-cleanup)
      (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
      * net/net-utils.el (ipconfig-program-options):
      Move aliases to options before the associated definitions.
  11. 21 Sep, 2010 6 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
      * lisp/cedet/srecode/cpp.el (srecode-cpp): New defgroup.
      (srecode-cpp-namespaces): New option.
      (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-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-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
      * lisp/cedet/srecode/mode.el (srecode-bind-insert): Call
      (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.
    • Stefan Monnier's avatar
      * src/syntax.c (back_comment): Detect the case where a 1-char comment · fbb3da77
      Stefan Monnier authored
      starter is also the 2nd char of a 2-char comment ender.
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Fix message-mode bug with fcc to Rmail buffers. · 872b1b16
      Glenn Morris authored
      * lisp/gnus/message.el (message-output): Use gnus-output-to-rmail if a
      buffer is visiting the fcc file in rmail-mode.
    • Glenn Morris's avatar
      Add EPSF magic header to doc/lispintro/*.eps. (Bug#7064) · f06d3d36
      Glenn Morris authored
      * cons-1.eps, cons-2.eps, cons-2a.eps, cons-3.eps, cons-4.eps:
      * cons-5.eps, lambda-1.eps, lambda-2.eps, lambda-3.eps:
      Add first line EPSF magic comment.
    • 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-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-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-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-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
      * 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-impl-via-subproj): New methods.
      (ede-expand-filename-impl): Use them.
      (ede-project-root, ede-project-root-directory): Move to
      * 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
      (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
      (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.
  12. 19 Sep, 2010 3 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'. · 9e0d4f9e
      Stefan Monnier authored
      (float-e): New name for `e'.
      (degrees-to-radians, radians-to-degrees):
      * lisp/calendar/solar.el (solar-longitude):
      * lisp/calculator.el (calculator-registers, calculator-funcall):
      * lisp/textmodes/artist.el (artist-spray-random-points):
      * lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
    • Eric M. Ludlam's avatar
      Update to CEDET 1.0's version of EIEIO. · a2930e43
      Eric M. Ludlam authored
      * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key): New
      (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
      (eieio-default-eval-maybe): Eval val instead of unquoting only.
      (class-precedence-list): If class is nil, return nil.
      (eieio-generic-call): If class of first input arg is nil, don't
      look up static methods, and do check for primary methods.
      (initialize-instance): See if the default needs to be evaluated
      during the constructor.
      (eieio-perform-slot-validation-for-default): Don't do the check
      for values that will eventually be evaluated.
      (eieio-eval-default-p): New function.
      (eieio-default-eval-maybe): Use it.
      * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
      (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
      (eieio-class-precedence-dfs): Compute class precedence list using
      dfs algorithm.
      (eieio-class-precedence-bfs): Compute class precedence list using
      bfs algorithm.
      (eieio-class-precedence-c3): compute class precedence list using
      c3 algorithm.
      (class-precedence-list): New function.
      (eieiomt-method-list, eieiomt-sym-optimize): Use it.
      (inconsistent-class-hierarchy): New error symbol.
      (call-next-method): Stow the replacement argument list for future
      call-next-method invocations.
    • Chong Yidong's avatar
      Synch Semantic to CEDET 1.0. · dd9af436
      Chong Yidong authored
      Move CEDET ChangeLog entries to new file lisp/cedet/ChangeLog.
      * semantic.el (semantic-version): Update to 2.0.
      (semantic-mode-map): Add "," and "m" bindings.
      (navigate-menu): Update.
      * semantic/symref.el (semantic-symref-calculate-rootdir):
      New function.
      (semantic-symref-detect-symref-tool): Use it.
      * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
      (semantic-symref-perform-search): Use it.  Calculate root dir with
      (semantic-symref-derive-find-filepatterns): Improve error message.
      * semantic/symref/list.el
      (semantic-symref-results-mode-map): New bindings.
      (semantic-symref-auto-expand-results): New option.
      (semantic-symref-results-dump): Obey auto-expand.
      (semantic-symref-list-expand-all, semantic-symref-regexp)
      (semantic-symref-list-call-macro-on-open-hits): New functions.
      (semantic-symref-list-menu): New vars.
      (semantic-symref-list-map-open-hits): Move cursor to beginning of
      match before calling the mapped function.
      * semantic/doc.el
      (semantic-documentation-comment-preceeding-tag): Do nothing if the
      mode doesn't provide comment-start-skip.
      * semantic/scope.el
      (semantic-analyze-scope-nested-tags-default): Strip duplicates.
      (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
      looking for as part of the scoped tags list.
      * semantic/html.el (semantic-default-html-setup): Add
      * semantic/decorate/include.el
      (semantic-decoration-on-unknown-includes): Change light bgcolor.
      (semantic-decoration-on-includes-highlight-default): Check that
      the include tag has a postion.
      * semantic/complete.el (semantic-collector-local-members):
      (semantic-complete-jump-local-members): New class and functions.
      (semantic-complete-self-insert): Save excursion before completing.
      * semantic/analyze/complete.el
      (semantic-analyze-possible-completions-default): If no completions
      are found, return the raw by-name-only completion list.  Add FLAGS
      arguments.  Add support for 'no-tc (type constraint) and
      'no-unique, or no stripping duplicates.
      (semantic-analyze-possible-completions-default): Add FLAGS arg.
      * semantic/util-modes.el
      (semantic-stickyfunc-show-only-functions-p): New option.
      (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
      the very first line in a buffer.
      * semantic/util.el (semantic-hack-search)
      (semantic-current-tag-interactive): Deleted.
      (semantic-describe-buffer): Fix expand-nonterminal.  Add
      lex-syntax-mods, type relation separator char, and command
      separation char.
      (semantic-sanity-check): Only message if called interactively.
      * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
      :filename property and the tag position.
      * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
      Add recursion limit.
      * semantic/imenu.el (semantic-imenu-bucketize-type-members):
      Make this buffer local, not the obsoleted variable.
      * semantic/idle.el: Add breadcrumbs support.
      (semantic-idle-completion-list-default): Use
      semanticdb-without-unloaded-file-searches for speed, and to
      conform to the controls that specify if the idle timer is supposed
      to be parsing unparsed includes.
      (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
      Callers changed.
      (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
      (semantic-idle-work-update-headers-flag): New var.
      (semantic-idle-work-for-one-buffer): Use it.
      (semantic-idle-local-symbol-highlight): Rename from
      (semantic-idle-truncate-long-summaries): New option.
      * semantic/ia.el (semantic-ia-cache)
      (semantic-ia-get-completions): Deleted.  Callers changed.
      (semantic-ia-show-variants): New command.
      (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
      (semantic-ia-show-summary): If there isn't anything to show, say so.
      * semantic/grammar.el (semantic-grammar-create-package):
      Save the buffer even in batch mode.
      * semantic/fw.el
      (semanticdb-without-unloaded-file-searches): New macro.
      * semantic/dep.el (semantic-dependency-find-file-on-path):
      Fix case dereferencing ede-object when it is a list.
      * semantic/db-typecache.el (semanticdb-expand-nested-tag)
      (semanticdb-typecache-faux-namespace): New functions.
      (semanticdb-typecache-merge-streams): Use them.
      (semanticdb-typecache-file-tags): When deriving tags from a file,
      give the mode a chance to monkey with the tag copy.
      (semanticdb-typecache-find-default): Wrap find in save-excursion.
      (semanticdb-typecache-find-by-name-helper): Merge found names down.
      * semantic/db-global.el
      (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
      GNU Global is not available and we don't want to throw an error.
      * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
      When trying to normalize the tag to a buffer, don't error if
      set-buffer method doesn't exist.
      * semantic/db-file.el (semanticdb-save-db): Simplify msg.
      * semantic/db.el (semanticdb-refresh-table): If forcing a
      refresh on a file not in a buffer, use semantic-find-file-noselect
      and delete the buffer after use.
      (semanticdb-current-database-list): When calculating root via
      hooks, force it through true-filename and skip the list of
      possible roots.
      * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
      * semantic/analyze/debug.el
      (semantic-analyzer-debug-insert-tag): Reset standard output to
      current buffer.
      (semantic-analyzer-debug-missing-innertype): Change "prefix" to
      "symbol" in messages.
      * semantic/analyze/refs.el: (semantic-analyze-refs-impl)
      (semantic-analyze-refs-proto): When calculating value, make sure
      the found tag is 'similar' to the originating tag.
      (semantic--analyze-refs-find-tags-with-parent): Attempt to
      identify matches via imported symbols of parents.
      (semantic--analyze-refs-full-lookup-with-parents): Do a deep
      search during the brute search.
      * semantic/analyze.el
      (semantic-analyze-find-tag-sequence-default): Be robust to
      calculated scopes being nil.
      * semantic/bovine/c.el (semantic-c-describe-environment): Add
      project macro symbol array.
      (semantic-c-parse-lexical-token): Add recursion limit.
      (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
      New overrides.
      (semantic-expand-c-tag-namelist): Split a full type from a typedef
      out to its own tag.
      (semantic-expand-c-tag-namelist): Do not split out a typedef'd
      inline type if it is an anonymous type.
      (semantic-c-reconstitute-token): Use the optional initializers as
      a clue that some function is probably a constructor.  When
      defining the type of these constructors, split the parent name,
      and use only the class part, if applicable.
      * semantic/bovine/c-by.el:
      * semantic/wisent/python-wy.el: Regenerate.
  13. 18 Sep, 2010 1 commit
  14. 17 Sep, 2010 1 commit
  15. 15 Sep, 2010 3 commits