1. 20 Oct, 2014 1 commit
  2. 18 Sep, 2014 1 commit
  3. 01 May, 2014 1 commit
    • Glenn Morris's avatar
      Doc fixes · d136f184
      Glenn Morris authored
      * doc/misc/autotype.texi (Skeleton Language):
      * doc/misc/message.texi (Header Commands):
      * lisp/allout-widgets.el (allout-widgets-tally)
      (allout-decorate-item-guides):
      * lisp/menu-bar.el (menu-bar-positive-p):
      * lisp/minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
      * lisp/cedet/ede.el (ede-project-directories, ede-check-project-directory):
      * lisp/cedet/semantic/ia-sb.el (semantic-ia-sb-show-doc):
      * lisp/cedet/semantic/tag.el (semantic-tag-in-buffer-p):
      * lisp/cedet/semantic/bovine/c.el (semantic-tag-abstract-p):
      * lisp/gnus/gnus-registry.el (gnus-registry-install-p): Doc fix.
      * lisp/progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
      * lisp/progmodes/js.el (js--inside-param-list-p)
      (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
      * lisp/progmodes/prolog.el (region-exists-p):
      * lisp/progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
      * lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p):
      * lisp/url/url-parse.el (url-generic-parse-url):
      * src/floatfns.c (Fisnan):
      * src/profiler.c (Fprofiler_cpu_running_p):
      Doc fixes (replace `iff').
      
      Fixes: debbugs:17309
      d136f184
  4. 01 Apr, 2014 1 commit
  5. 04 Mar, 2014 1 commit
  6. 03 Mar, 2014 1 commit
  7. 13 Feb, 2014 1 commit
  8. 03 Feb, 2014 1 commit
    • Glenn Morris's avatar
      Be more consistent in using register-read-with-preview to read registers · 6a6b8e40
      Glenn Morris authored
      * frameset.el (frameset-to-register):
      * kmacro.el (kmacro-to-register):
      * register.el (increment-register):
      * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
      (calc-append-to-register, calc-prepend-to-register):
      * play/gametree.el (gametree-layout-to-register)
      (gametree-apply-register-layout):
      * textmodes/picture.el (picture-clear-rectangle-to-register)
      (picture-yank-rectangle-from-register):
      * vc/emerge.el (emerge-combine-versions-register):
      Use register-read-with-preview to read registers.
      
      * cedet/semantic/senator.el (senator-copy-tag-to-register):
      Use register-read-with-preview, if available.
      
      * calculator.el, emulation/viper-cmd.el: Comments.
      6a6b8e40
  9. 15 Jan, 2014 1 commit
  10. 13 Jan, 2014 1 commit
    • David Engster's avatar
      Merge bug fixes from CEDET upstream. · 0aa9ec07
      David Engster authored
      * semantic/analyze/refs.el (semantic-analyze-refs-impl): Fix Typo
      in a doc string.
      * semantic/ia.el (semantic-ia-complete-symbol): Ignore case if
      prefix is all lower case.
      (semantic-ia-fast-jump): Push mark before jumping to an include
      file.
      * semantic/complete.el (semantic-displayor-point-position):
      Calculate if the toolbar is on the left when calculating point
      position.
      0aa9ec07
  11. 11 Jan, 2014 1 commit
  12. 08 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 136b74c5
      Paul Eggert authored
      * lisp/language/china-util.el (hz-ascii-designation):
      Rename from hz-ascii-designnation.
      (hz-ascii-designation): Rename from hz-ascii-designnation.
      All uses changed.
      * lisp/cedet/semantic/decorate/include.el (semantic-decoration-mouse-3):
      Rename from semantic-decoratiton-mouse-3.  All uses changed.
      * lisp/org/org-irc.el (org-irc-ellipsify-description): Rename from
      org-irc-elipsify-description.  All uses changed.
      136b74c5
  13. 01 Jan, 2014 1 commit
  14. 28 Dec, 2013 2 commits
    • Glenn Morris's avatar
      Add missing custom :versions, plus small fixes · bb098075
      Glenn Morris authored
      * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
      
      * bookmark.el (bookmark-bmenu-use-header-line):
      * doc-view.el (doc-view-scale-internally):
      * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
      * register.el (register-preview-delay):
      * net/shr.el (shr-bullet):
      * progmodes/cfengine.el (cfengine-cf-promises)
      (cfengine-parameters-indent):
      * progmodes/octave.el (inferior-octave-error-regexp-alist):
      * textmodes/reftex-vars.el (reftex-label-regexps):
      * vc/log-edit.el (log-edit-setup-add-author): Add version.
      
      * cedet/ede/linux.el (project-linux-build-directory-default)
      (project-linux-architecture-default): Fix custom types.  Add version.
      
      * gnus/gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar):
      * gnus/gnus-sum.el (gnus-subthread-sort-functions): Add version.
      * gnus/gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version.
      bb098075
    • Glenn Morris's avatar
      Misc small custom fixes · 9c61f806
      Glenn Morris authored
      The value of defcustom's const should not be quoted!
      
      * lisp/desktop.el (desktop-restore-in-current-display):
      * lisp/newcomment.el (comment-empty-lines):
      * lisp/progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
      (idlwave-pad-keyword):
      * lisp/progmodes/tcl.el (tcl-tab-always-indent):
      * lisp/textmodes/reftex-vars.el (reftex-index-default-tag):
      * lisp/elec-pair.el (electric-pair-skip-whitespace):
      * lisp/progmodes/cfengine.el (cfengine-cf-promises):
      * lisp/cedet/ede/linux.el (project-linux-build-directory-default)
      (project-linux-architecture-default):
      * lisp/erc/erc-button.el (erc-button-alist):
      * lisp/gnus/auth-source.el (auth-sources):
      * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
      * lisp/url/url-history.el (url-history-track):
      * lisp/url/url-vars.el (url-honor-refresh-requests):
      Fix custom types.
      
      * lisp/net/tls.el (tls-certtool-program): Fix default value.
      9c61f806
  15. 12 Dec, 2013 1 commit
    • David Engster's avatar
      Merge with CEDET upstream. · b0fe992f
      David Engster authored
      * admin/grammars/c.by (expr-binop): Add MOD.
      (variablearg): Add 'opt-assign'.
      (variablearg, varnamelist): Add default values so that it can be
      later expanded into the tag.
      (opt-stuff-after-symbol): Rename to 'brackets-after-symbol' and
      remove empty match.
      (multi-stage-dereference): Adapt to above rename.
      (unaryexpression): Use 'symbol' instead of 'namespace-symbol',
      since the latter also leads to an empty match at the end which
      would make this too greedy.
      (variablearg-opt-name): Support parsing of function pointers
      inside an argument list.
      
      * semantic/analyze.el
      (semantic-analyze-find-tag-sequence-default): Always add scope to
      the local miniscope for each type.  Otherwise, structure tags are
      not analyzed correctly.  Also, always search the extended
      miniscope even when not dealing with types.
      
      * semantic/ctxt.el (semantic-get-local-variables-default): Also
      try to parse local variables for buffers which are currently
      marked as unparseable.  Otherwise, it is often impossible to
      complete local variables.
      
      * semantic/scope.el (semantic-analyze-scoped-types-default): If we
      cannot find a type in the typecache, also look into the the types
      we already found.  This is necessary since in C++, a 'using
      namespace' can be dependend on a previous one.
      (semantic-completable-tags-from-type): When creating the list of
      completable types, pull in types which are referenced through
      'using' statements, and also preserve their filenames.
      
      * semanitc/bovine/c.el (semantic/analyze/refs): Require.
      (semantic-analyze-tag-references): New override.  Mainly copied
      from the default implementation, but if nothing could be found (or
      just the tag itself), drop all namespaces from the scope and
      search again.  This is necessary for implementations which are
      defined outside of the namespace and only pull those in through
      'using' statements.
      (semantic-ctxt-scoped-types): Go through all tags around point and
      search them for using statements.  In the case for using
      statements outside of function scope, append them in the correct
      order instead of using 'cons'.  This is important since using
      statements may depend on previous ones.
      (semantic-expand-c-tag-namelist): Do not try to parse struct
      definitions as default values.  The grammar parser seems to return
      the point positions slightly differently (as a cons instead of a
      list).  Also, set parent for typedefs to 'nil'.  It does not
      really make sense to set a parent class for typedefs, and it can
      also lead to endless loops when calculating scope.
      (semantic-c-reconstitute-token): Change handling of function
      pointers; instead of seeing them as variables, handle them as
      functions with a 'function-pointer' attribute.  Also, correctly
      deal with function pointers as function arguments.
      (semantic-c-reconstitute-function-arglist): New function to parse
      function pointers inside an argument list.
      (semantic-format-tag-name): Use 'function-pointer' attribute
      instead of the old 'functionpointer-flag'.
      (semantic-cpp-lexer): Use new `semantic-lex-spp-paren-or-list'.
      
      * semantic/bovine/gcc.el (semantic-gcc-setup): Add 'features.h' to
      the list of files whose preprocessor symbols are included.  This
      pulls in things like __USE_POSIX and similar.
      
      * semantic/format.el (semantic-format-tag-prototype-default):
      Display default values if available.
      
      * semantic/analyze/refs.el (semantic-analyze-refs-impl)
      (semantic-analyze-refs-proto): Add 'default-value' as ignorable in
      call to `semantic-tag-similar-p'.
      
      * semantic/db-mode.el (semanticdb-semantic-init-hook-fcn): Always
      set buffer for `semanticdb-current-table'.
      
      * semantic/db.el (semanticdb-table::semanticdb-refresh-table): The
      previous change turned up a bug in this method.  Since the current
      table now correctly has a buffer set, the first clause in the
      `cond' would be taken, but there was a `save-excursion' missing.
      
      * semantic/lex-spp.el (semantic-c-end-of-macro): Declare.
      (semantic-lex-spp-token-macro-to-macro-stream): Deal with macros
      which open/close a scope.  For this, leave an overlay if we
      encounter a single open paren and return a semantic-list in the
      lexer.  When this list gets expanded, retrieve the old position
      from the overlay.  See the comments in the function for further
      details.
      (semantic-lex-spp-find-closing-macro): New function to find the
      next macro which closes scope (i.e., has a closing paren).
      (semantic-lex-spp-replace-or-symbol-or-keyword): Go to end of
      closing macro if necessary.
      (semantic-lex-spp-paren-or-list): New lexer to specially deal with
      parens in macro definitions.
      
      * semantic/decorate/mode.el (semantic-decoration-mode): Do not
      decorate available tags immediately but in an idle timer, since
      EDE will usually not be activated yet, which will make it
      impossible to find project includes.
      
      * semantic/decorate/include.el
      (semantic-decoration-on-includes-highlight-default): Remove
      'unloaded' from throttle when decorating includes, otherwise all
      would be loaded.  Rename 'table' to 'currenttable' to make things
      clearer.
      
      * ede/linux.el (cl): Require during compile.
      
      * ede/linux.el (project-linux-build-directory-default)
      (project-linux-architecture-default): Add customizable variables.
      (ede-linux-project): Add additional slots to track Linux-specific
      information (out-of-tree build directory and selected
      architecture).
      (ede-linux--get-build-directory, ede-linux--get-archs)
      (ede-linux--detect-architecture, ede-linux--get-architecture)
      (ede-linux--include-path): Added function to detect Linux-specific
      information.
      (ede-linux-load): Set new Linux-specific information when creating
      a project.
      (ede-expand-filename-impl): Use new and more accurate include
      information.
      
      * semantic/scope.el (semantic-calculate-scope): Return a clone of
      the scopecache, so that everyone is working with its own (shallow)
      copy.  Otherwise, if one caller is resetting the scope, it would
      be reset for all others working with the scope cache as well.
      b0fe992f
  16. 30 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Stop keeping (all but one) generated cedet grammar files in the repository · f9b697dd
      Glenn Morris authored
      * configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES):
      Add admin/grammars Makefile.
      
      * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
      Also clean admin/grammars, if present.
      
      * admin/grammars/README: Remove.
      
      * admin/grammars/Makefile.in: New file.
      
      * admin/grammars/c.by, admin/grammars/java-tags.wy, admin/grammars/js.wy:
      * admin/grammars/python.wy: Update declarations to match generated outputs.
      
      * lisp/Makefile.in (semantic): New.
      (compile-main): Depend on semantic.
      
      * lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
      New function, split from bovine-make-parsers.
      (bovine-make-parsers): Use bovine--make-parser-1.
      (bovine-batch-make-parser): New function.
      
      * lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
      New function, split from wisent-make-parsers.
      (wisent-make-parsers): Use wisent--make-parser-1.
      (wisent-batch-make-parser): New function.
      
      * lisp/cedet/semantic/db.el (semanticdb-save-all-db):
      Avoid prompting in batch mode.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-footer-template):
      Disable version-control and autoloads in the output.
      (semantic-grammar-create-package):
      Add option to return nil if output is up-to-date.
      
      * lisp/cedet/semantic/bovine/c-by.el, lisp/cedet/semantic/bovine/make-by.el:
      * lisp/cedet/semantic/bovine/scm-by.el, lisp/cedet/semantic/wisent/javat-wy.el:
      * lisp/cedet/semantic/wisent/js-wy.el, lisp/cedet/semantic/wisent/python-wy.el:
      * lisp/cedet/srecode/srt-wy.el: Remove generated files from repository.
      
      * .bzrignore: Update for this.
      f9b697dd
  17. 16 Nov, 2013 2 commits
  18. 03 Nov, 2013 1 commit
  19. 31 Oct, 2013 1 commit
    • Barry O'Reilly's avatar
      * semantic/idle.el (semantic-idle-symbol-highlight) · bed64093
      Barry O'Reilly authored
      (semantic-idle-symbol-highlight-face): Define face with defface
      and obsolete the replaced one defined with defvar.  (Bug#15745)
      * pulse.el (pulse-momentary-highlight-overlay)
      (pulse-momentary-highlight-region): Fix typo in doc
      bed64093
  20. 30 Oct, 2013 1 commit
  21. 20 Oct, 2013 1 commit
  22. 28 Sep, 2013 1 commit
    • Leo Liu's avatar
      Rename lookup-words to ispell-lookup-words · e090f499
      Leo Liu authored
      (ispell-complete-word, ispell-command-loop): All uses changed.
      
      * cedet/semantic/texi.el (semantic-analyze-possible-completions): Use
      ispell-lookup-words instead.
      
      Fixes: debbugs:15460
      e090f499
  23. 20 Sep, 2013 1 commit
  24. 18 Sep, 2013 2 commits
  25. 17 Sep, 2013 3 commits
  26. 13 Sep, 2013 1 commit
  27. 12 Sep, 2013 1 commit
  28. 11 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      Use define-derived-mode (and derived-mode-p). · 1b3b87df
      Stefan Monnier authored
      * lisp/play/snake.el (snake-mode):
      * lisp/play/mpuz.el (mpuz-mode):
      * lisp/play/landmark.el (lm-mode):
      * lisp/play/blackbox.el (blackbox-mode):
      * lisp/play/5x5.el (5x5-mode):
      * lisp/obsolete/options.el (Edit-options-mode):
      * lisp/net/quickurl.el (quickurl-list-mode):
      * lisp/net/newst-treeview.el (newsticker-treeview-mode):
      * lisp/mail/rmailsum.el (rmail-summary-mode):
      * lisp/mail/mspools.el (mspools-mode):
      * lisp/locate.el (locate-mode):
      * lisp/ibuffer.el (ibuffer-mode):
      * lisp/emulation/ws-mode.el (wordstar-mode):
      * lisp/emacs-lisp/debug.el (debugger-mode):
      * lisp/array.el (array-mode):
      * lisp/net/eudc.el (eudc-mode): Use define-derived-mode.
      * lisp/net/mairix.el (mairix-searches-mode-font-lock-keywords):
      Move initialization into declaration.
      (mairix-searches-mode): Use define-derived-mode.
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
      (eudc-edit-hotlist): Use dolist.
      * lisp/man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
      (Man-mode): Use define-derived-mode.
      * lisp/info.el (Info-edit-mode-map): Rename from Info-edit-map.
      (Info-edit-mode): Use define-derived-mode.
      (Info-cease-edit): Use Info-mode.
      * lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
      into declaration.
      (eshell-mode): Use define-derived-mode.
      * lisp/chistory.el (command-history-mode-map): Rename from
      command-history-map.
      (command-history-mode): Use define-derived-mode.
      * lisp/calc/calc.el (calc-trail-mode-map): New var.
      (calc-trail-mode): Use define-derived-mode.
      (calc-trail-buffer): Set calc-main-buffer manually.
      * lisp/bookmark.el (bookmark-insert-annotation): New function.
      (bookmark-edit-annotation): Use it.
      (bookmark-edit-annotation-mode): Make it a proper major mode.
      (bookmark-send-edited-annotation): Use derived-mode-p.
      * lisp/arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
      closer to its ideal place.  Use \' to match EOS.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
      (semantic-grammar-mode-syntax-table): Rename from
      semantic-grammar-syntax-table.
      (semantic-grammar-mode-map): Rename from semantic-grammar-map.
      * lisp/cedet/data-debug.el (data-debug-mode-map): Rename from data-debug-map.
      (data-debug-mode): Use define-derived-mode.
      
      * lisp/gnus/score-mode.el (gnus-score-mode-map): Move initialization
      into declaration.
      (gnus-score-mode): Use define-derived-mode.
      * lisp/gnus/gnus-srvr.el (gnus-browse-mode): Use define-derived-mode.
      * lisp/gnus/gnus-kill.el (gnus-kill-file-mode-map): Move initialization
      into declaration.
      (gnus-kill-file-mode): Use define-derived-mode.
      (gnus-kill-file-edit-file, gnus-kill-file-enter-kill, gnus-kill):
      Use derived-mode-p.
      * lisp/gnus/gnus-group.el (gnus-group-mode): Use define-derived-mode.
      (gnus-group-setup-buffer, gnus-group-name-at-point)
      (gnus-group-make-web-group, gnus-group-enter-directory)
      (gnus-group-suspend): Use derived-mode-p.
      * lisp/gnus/gnus-cus.el (gnus-custom-mode): Use define-derived-mode.
      * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode): Use define-derived-mode.
      * lisp/gnus/gnus-art.el (gnus-article-mode): Use define-derived-mode.
      (gnus-article-setup-buffer, gnus-article-prepare)
      (gnus-article-prepare-display, gnus-sticky-article)
      (gnus-kill-sticky-article-buffer, gnus-kill-sticky-article-buffers)
      (gnus-bind-safe-url-regexp, gnus-article-check-buffer)
      (gnus-article-read-summary-keys): Use derived-mode-p.
      1b3b87df
  29. 05 Sep, 2013 1 commit
  30. 29 Jul, 2013 1 commit
    • David Engster's avatar
      Merge with CEDET upstream (rev. 8579). · 18657165
      David Engster authored
      * lisp/cedet/cedet.el (cedet-packages): Remove speedbar since its
      development does no longer happens in CEDET upstream but in Emacs
      proper.  Also remove cedet-contrib and cogre since those are only
      in upstream.
      
      * semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
      has a parent, return a fully qualified name.
      
      * semantic/decorate/mode.el
      (semantic-decoration-on-includes-p-default)
      (semantic-decoration-on-includes-highlight-default): Declare for
      byte compiler.
      
      * semantic/wisent/python.el (semantic/format): New require.
      
      * eieio.texi (top): Make clear that EIEIO is not a full CLOS
      implementation.
      (Introduction): Add further missing features.
      (Building Classes): Add introductory paragraph.
      (Wish List): Add metaclasses and EQL specialization.
      18657165
  31. 27 Jul, 2013 1 commit
    • David Engster's avatar
      Merge from CEDET upstream (8569). · 25ac1ded
      David Engster authored
      * lisp/cedet/semantic/edit.el (semantic-edits-splice-remove): Wrap
        debug message removing middle tag in semantic-edits-verbose-flag
        check.
      
      * semantic/bovine/el.el (semantic/db-el): New require.
      
      * semantic/db-el.el (semanticdb-normalize-one-tag): It might be that a
        symbol comes from a file but cannot be found in its table.  This
        happens for instance when a symbol was dynamically created through a
        macro like `defstruct'.  In this case, return the original tag.
        (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
        the argument list is not available until the file is loaded.
      25ac1ded
  32. 11 Jul, 2013 1 commit
  33. 25 Jun, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Include obsolete packages from archives. · 12059709
      Stefan Monnier authored
      Use lexical-binding.
      (package-archive-contents): Change format; include obsolete packages.
      (package-desc): Use `dir' to mark builtin packages.
      (package--from-builtin): Set the `dir' field to `builtin'.
      (generated-autoload-file, version-control): Declare.
      (package-compute-transaction): Change first arg and return value to be
      lists of package-descs.  Adjust to new package-archive-contents format.
      (package--add-to-archive-contents): Adjust to new
      package-archive-contents format.
      (package-download-transaction): Arg is now a list of package-descs.
      (package-install): If `pkg' is a package name, pass it as
      a requirement, so it is subject to the usual (e.g. disabled) checks.
      (describe-package): Accept package-desc as well.
      (describe-package-1): Describe a specific package-desc.  Add links to
      other package-descs for the same package name.
      (package-menu-describe-package): Pass the actual package-desc.
      (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
      works correctly.
      (package-desc-status): New function.
      (package-menu--refresh): New function, extracted
      from package-menu--generate.
      (package-menu--generate): Use it.
      (package-delete): Update package-alist.
      (package-menu-execute): Don't call package-initialize.
      
      * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlw-shell.el,
      lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-complete-structtag.el,
      lisp/progmodes/ebnf-yac.el, lisp/progmodes/ebnf-otz.el,
      lisp/progmodes/ebnf-iso.el, lisp/progmodes/ebnf-ebx.el,
      lisp/progmodes/ebnf-dtd.el, lisp/progmodes/ebnf-bnf.el,
      lisp/progmodes/ebnf-abn.el, lisp/emacs-lisp/package-x.el,
      lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el
      lisp/cedet/data-debug.el, lisp/cedet/cedet-idutils.el:
      Neuter the "Version:" header.
      12059709
  34. 19 Jun, 2013 2 commits