1. 21 Sep, 2010 5 commits
    • 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.
      fbb3da77
    • Stefan Monnier's avatar
      c9805d23
    • 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.
      872b1b16
    • 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.
      f06d3d36
    • 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
  2. 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.
      9e0d4f9e
    • 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
      function.
      (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
      method-invocation-order.
      (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.
      a2930e43
    • 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-calculate-rootdir.
      (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-contract-all)
      (semantic-symref-list-map-open-hits)
      (semantic-symref-list-update-open-hits)
      (semantic-symref-list-create-macro-on-open-hit)
      (semantic-symref-list-call-macro-on-open-hits): New functions.
      (semantic-symref-list-menu-entries)
      (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
      senator-step-at-tag-classes.
      
      * 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-read-tag-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-recursive-find-nonterminal-by-name)
      (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-summary-current-symbol-info-default)
      (semantic-idle-tag-highlight)
      (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-highlight-face)
      (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-tag-highlight.
      (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-file-tags)
      (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-global-symbol)
      (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.
      dd9af436
  3. 18 Sep, 2010 1 commit
  4. 17 Sep, 2010 1 commit
  5. 15 Sep, 2010 3 commits
  6. 14 Sep, 2010 5 commits
  7. 12 Sep, 2010 4 commits
  8. 11 Sep, 2010 5 commits
  9. 10 Sep, 2010 1 commit
    • Glenn Morris's avatar
      Close bug#6211. · 639b9d87
      Glenn Morris authored
      * lisp/menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
      and tool-bar modes.  (Bug#6211)
      (menu-bar-mode): Move setting of standard-value after the
      minor-mode definition, otherwise it seems to have no effect.
      639b9d87
  10. 09 Sep, 2010 2 commits
  11. 08 Sep, 2010 2 commits
  12. 07 Sep, 2010 2 commits
  13. 06 Sep, 2010 1 commit
  14. 05 Sep, 2010 3 commits
  15. 04 Sep, 2010 2 commits