1. 12 Sep, 2013 2 commits
  2. 01 Sep, 2013 1 commit
    • Glenn Morris's avatar
      Tweak to Makefile rules that list *.el files · f8ccce03
      Glenn Morris authored
      * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
      * test/automated/Makefile.in (setwins):
      Avoid leading space in $wins.  Otherwise the sed command used by
      eg compile-main ends up containing "/*.el".
      
      Fixes: debbugs:15170
      f8ccce03
  3. 28 Aug, 2013 1 commit
  4. 21 Aug, 2013 1 commit
  5. 14 Aug, 2013 1 commit
  6. 13 Aug, 2013 1 commit
  7. 05 Aug, 2013 1 commit
    • Glenn Morris's avatar
      Extract truncate-string-to-width tests to a separate file · 3e2cd454
      Glenn Morris authored
      * test/automated/mule-util.el: New file, with tests extracted from
      lisp/international/mule-util.el.
      Copyright years based on when the original test-suite comment was
      added to lisp/international/mule-util.el (in 2002).
      
      * lisp/international/mule-util.el: Extract comment test-suite out to
      separate file.
      3e2cd454
  8. 04 Aug, 2013 5 commits
    • Stefan Monnier's avatar
      * lisp/subr.el (macrop): New function. · 671d5c16
      Stefan Monnier authored
      (text-clone--maintaining): New var.
      (text-clone--maintain): Rename from text-clone-maintain.  Use it
      instead of inhibit-modification-hooks.
      
      * lisp/emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
      a proxy, so as handle autoloads and redefinitions of the target.
      (advice--defalias-fset, advice-remove): Use advice--symbol-function.
      
      * lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
      Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
      (pcase--mutually-exclusive-p): New function.
      (pcase--split-consp): Use it.
      (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
      mutually exclusive with the current predicate.
      
      * test/automated/advice-tests.el (advice-tests-nadvice): Test removal
      before definition.
      (advice-tests-macroaliases): New test.
      
      * lisp/emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
      (edebug-macrop): Remove.  Use `macrop' instead.
      * lisp/emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
      (ad-macro-p):
      * lisp/eshell/esh-cmd.el (eshell-macrop):
      * lisp/apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
      671d5c16
    • Glenn Morris's avatar
      Backport icalendar-tests fixes from trunk · df0d73aa
      Glenn Morris authored
      * test/automated/icalendar-tests.el (icalendar-tests--test-export)
      (icalendar-tests--test-import):
      Use getenv/setenv rather than set-time-zone-rule.
      (icalendar-tests--test-import): Reset zone even if error occurred.
      (icalendar-tests--do-test-cycle): Use with-current-buffer.
      df0d73aa
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      * test/automated/icalendar-tests.el (icalendar-tests--test-export) · f8654242
      Glenn Morris authored
      (icalendar-tests--test-import): Remove debug messages.
      f8654242
    • Glenn Morris's avatar
      * test/automated/icalendar-tests.el (icalendar-tests--test-export) · 2ad0a067
      Glenn Morris authored
      (icalendar-tests--test-import): Try more precise TZ specification.
      2ad0a067
  9. 03 Aug, 2013 3 commits
  10. 02 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      Make defvar affect the default binding outside of any let. · a104f656
      Stefan Monnier authored
      * src/eval.c (default_toplevel_binding): New function.
      (Fdefvar): Use it.
      (unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification.
      (Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs.
      (syms_of_eval): Export them.
      * src/data.c (Fdefault_value): Micro cleanup.
      * src/term.c (init_tty): Use "false".
      * lisp/custom.el (custom-initialize-default, custom-initialize-set)
      (custom-initialize-reset, custom-initialize-changed): Affect the
      toplevel-default-value (bug#6275, bug#14586).
      * lisp/emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
      for bug#6275.
      * test/automated/core-elisp-tests.el: New file.
      a104f656
  11. 01 Aug, 2013 1 commit
  12. 31 Jul, 2013 1 commit
  13. 24 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * automated/file-notify-tests.el · e81dd54d
      Michael Albinus authored
      (file-notify--test-local-enabled): New defconst.  Replaces all
      `file-notify-support' occurences.
      (file-notify--test-remote-enabled): New defun.
      (file-notify--deftest-remote): Use it.
      (file-notify-test00-availability): Rewrite.
      (file-notify-test00-availability-remote): New defun.
      (file-notify-test01-add-watch): Rewrite first erroneous check.
      e81dd54d
  14. 23 Jul, 2013 2 commits
  15. 22 Jul, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/subword.el: Fix boundary case. · 0ac26976
      Stefan Monnier authored
      (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
      own group.
      (subword-backward-regexp): Make it a constant.
      (subword-forward-internal): Don't treat a trailing capital as the
      beginning of a word.
      * test/automated/subword-tests.el: New file.
      
      Fixes: debbugs:13758
      0ac26976
  16. 13 Jul, 2013 1 commit
  17. 11 Jul, 2013 8 commits
    • Glenn Morris's avatar
      ChangeLog fixes · 6e0e82a0
      Glenn Morris authored
      6e0e82a0
    • Glenn Morris's avatar
      Stop reimplementing a bunch of cl- functions in ert · a19b3c2d
      Glenn Morris authored
      * lisp/emacs-lisp/ert.el: Require cl-lib at runtime too.
      (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
      (ert--intersection, ert--set-difference, ert--set-difference-eq)
      (ert--union, ert--gensym-counter, ert--gensym-counter)
      (ert--coerce-to-vector, ert--remove*, ert--string-position)
      (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
      (ert-make-test-unbound, ert--expand-should-1)
      (ert--expand-should, ert--should-error-handle-error)
      (should-error, ert--explain-equal-rec)
      (ert--plist-difference-explanation, ert-select-tests)
      (ert--make-stats, ert--remove-from-list, ert--string-first-line):
      Use cl-lib functions rather than reimplementations.
      
      * test/automated/ert-tests.el: Require cl-lib at runtime too.
      (ert-test-special-operator-p): Use cl-gensym rather than ert-- version.
      (ert-test-remprop, ert-test-remove-if-not, ert-test-remove*)
      (ert-test-set-functions, ert-test-gensym)
      (ert-test-coerce-to-vector, ert-test-string-position)
      (ert-test-mismatch): Remove tests.
      
      * test/automated/cl-lib.el: New, split from ert-tests.el.
      a19b3c2d
    • Glenn Morris's avatar
      Quieten ruby-mode-tests.el compilation · d2e1542a
      Glenn Morris authored
      * test/automated/ruby-mode-tests.el (ruby-deftest-move-to-block):
      Goto point-min.
      (works-on-do, zero-is-noop, ok-with-three, ok-with-minus-two)
      (ruby-move-to-block-skips-percent-literal)
      (ruby-move-to-block-skips-heredoc)
      (ruby-move-to-block-moves-from-else-to-if)
      (ruby-beginning-of-defun-does-not-fold-case)
      (ruby-end-of-defun-skips-to-next-line-after-the-method):
      Replace goto-line with forward-line/goto-char.
      (ruby-move-to-block-does-not-fold-case): Remove unneeded end-of-buffer.
      d2e1542a
    • Glenn Morris's avatar
      Silence package-test.el compilation · 03d01981
      Glenn Morris authored
      * test/automated/package-test.el (makeinfo-buffer): Autoload.
      (compilation-in-progress, tar-parse-info, tar-header-name): Declare.
      (package-test-install-texinfo): Don't require makeinfo.
      03d01981
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Silence icalendar-tests.el compilation · a550ba33
      Glenn Morris authored
      * test/automated/icalendar-tests.el (icalendar-tests--do-test-cycle):
      Use with-current-buffer.
      a550ba33
    • Glenn Morris's avatar
  18. 09 Jul, 2013 5 commits
  19. 08 Jul, 2013 1 commit
  20. 05 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * automated/file-notify-tests.el · 84b6d3df
      Michael Albinus authored
      (file-notify-test-remote-temporary-file-directory): Use
      `null-device' on w32.
      (file-notify--test-tmpfile, file-notify--test-tmpfile1)
      (file-notify--test-results, file-notify--test-event)
      (file-notify--deftest-remote, file-notify--event-test)
      (file-notify--test-event-handler)
      (file-notify--test-make-temp-name): Renamed, in order to mark them
      internal.
      (tramp-message-show-message, tramp-read-passwd): Tweak them for
      better fitting in noninteractive tests.
      (file-notify-test00-availability): Renamed from `file-notify-test0'.
      (file-notify-test01-add-watch): Renamed from `file-notify-test1'.
      Use `temporary-file-directory '.
      (file-notify-test01-add-watch-remote): New test.
      (file-notify-test02-events): Renamed from `file-notify-test2'.
      (file-notify-test02-events-remote): Renamed from `file-notify-test3'.
      (file-notify-test03-autorevert): Renamed from
      `file-notify-test4'.  Use timeouts.
      (file-notify-test03-autorevert-remote): Renamed from
      `file-notify-test5'.
      84b6d3df
  21. 04 Jul, 2013 1 commit