1. 22 Apr, 2014 1 commit
    • Daniel Colascione's avatar
      Optimize cl-struct-slot-value; fix test · 66fda794
      Daniel Colascione authored
      2014-04-22  Daniel Colascione  <dancol@dancol.org>
      
      	* emacs-lisp/cl-macs.el
      	(cl-struct-sequence-type,cl-struct-slot-info): Declare pure.
      	(cl-struct-slot-value): Conditionally use aref or nth so that the
      	compiler produces optimal code.
      
      2014-04-22  Daniel Colascione  <dancol@dancol.org>
      
      	* automated/cl-lib.el (cl-lib-struct-accessors): Fix test to
      	account for removal of `cl-struct-set-slot-value'.
      66fda794
  2. 21 Apr, 2014 3 commits
  3. 20 Apr, 2014 1 commit
  4. 19 Apr, 2014 1 commit
  5. 18 Apr, 2014 1 commit
    • Michael Albinus's avatar
      * automated/tramp-tests.el (tramp-copy-size-limit): Set to nil. · 2a2e6726
      Michael Albinus authored
      (tramp--test-make-temp-name): Optional argument LOCAL.
      (tramp--instrument-test-case): Show messages.  Catch also `quit'.
      (tramp-test10-write-region): No special test for out-of-band copy
      needed anymore.
      (tramp-test11-copy-file, tramp-test12-rename-file)
      (tramp-test21-file-links): Extend tests.
      (tramp-test20-file-modes): More robust check for user "root".
      (tramp--test-check-files): New defun.
      (tramp-test30-special-characters, tramp-test33-recursive-load)
      (tramp-test34-unload): New tests.
      (tramp-test31-utf8, tramp-test32-asynchronous-requests):  Rename.
      2a2e6726
  6. 11 Apr, 2014 1 commit
    • Glenn Morris's avatar
      Avoid EMACSDATA in user environment interfering with building · e088b01d
      Glenn Morris authored
      * admin/grammars/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      * leim/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      * lisp/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      * test/automated/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      Unexport.
      
      Fixes: debbugs:16429
      e088b01d
  7. 10 Apr, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 10ee3b3f
      Paul Eggert authored
      * automated/electric-tests.el: Fix spelling error in test name.
      (whitespace-skipping-for-quotes-not-outside):
      Rename from whitespace-skipping-for-quotes-not-ouside.
      10ee3b3f
  8. 09 Apr, 2014 3 commits
  9. 07 Apr, 2014 4 commits
    • Glenn Morris's avatar
      ChangeLog fixes · 6f287c89
      Glenn Morris authored
      Merged entries get today's date.
      May as well combine consecutive separate entries by same author into one.
      Backported entries should not appear twice.
      6f287c89
    • Glenn Morris's avatar
      ChangeLog fix (no need to merge to trunk) · c17a8019
      Glenn Morris authored
      c17a8019
    • João Távora's avatar
      Improve on previous quote autopairing change · 190f899a
      João Távora authored
      Backported from trunk 2014-04-04T23:31:02Z!joaotavora@gmail.com
      
      * lisp/elec-pair.el:
      (electric-pair--syntax-ppss): When inside comments parse from
      comment beginning.
      (electric-pair--balance-info): Fix typo in comment.
      (electric-pair--in-unterminated-string-p): Delete.
      (electric-pair--unbalanced-strings-p): New function.
      (electric-pair-string-bound-function): New var.
      (electric-pair-inhibit-if-helps-balance): Decide quote pairing
      according to `electric-pair--in-unterminated-string-p'
      
      * test/automated/electric-tests.el (define-electric-pair-test): Don't
      overtest..
      (inhibit-in-mismatched-string-inside-ruby-comments): New test.
      (inhibit-in-mismatched-string-inside-c-comments): New test.
      190f899a
    • João Távora's avatar
      Inhibit quote autopairing more frequently · 528c33b5
      João Távora authored
      Backported from trunk 2014-04-02T09:59:06Z!joaotavora@gmail.com
      
      * lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
      quote pairing if point-max is inside an unterminated string.
      (electric-pair--looking-at-unterminated-string-p):
      Delete.
      (electric-pair--in-unterminated-string-p): New function.
      
      * test/automated/electric-tests.el (inhibit-if-strings-mismatched):
      New test, change from `inhibit-only-of-next-is-mismatched'.
      528c33b5
  10. 06 Apr, 2014 2 commits
    • João Távora's avatar
      Fix triple-quoting electricity in python-mode · 7aecc2f6
      João Távora authored
      * lisp/progmodes/python.el (python-electric-pair-string-delimiter): Fix
      triple-quoting electricity. 
      
      * test/automated/python-tests.el (python-triple-quote-pairing): New test.
      (python-syntax-after-python-backspace): New test.
      
      Fixes: debbugs:17192
      7aecc2f6
    • João Távora's avatar
      Fix electric-pair-skip-whitespace with quotes in text-mode · 89f20f76
      João Távora authored
      * lisp/elec-pair.el (electric-pair-post-self-insert-function): Don't
      skip whitespace for quote syntax when `electric-pair-text-pairs'
      and `electric-pair-pairs' were used.
      
      * test/automated/electric-tests.el (electric-pair-define-test-form):
      More readable test docstrings.
      (whitespace-skipping-for-quotes-not-ouside)
      (whitespace-skipping-for-quotes-only-inside)
      (whitespace-skipping-not-without-proper-syntax):
      
      Fixes: debbugs:17183
      89f20f76
  11. 04 Apr, 2014 1 commit
    • João Távora's avatar
      Improve on previous quote autopairing change · 5cb0cc90
      João Távora authored
      * lisp/elec-pair.el:
      (electric-pair--syntax-ppss): When inside comments parse from
      comment beginning.
      (electric-pair--balance-info): Fix typo in comment.
      (electric-pair--in-unterminated-string-p): Delete.
      (electric-pair--unbalanced-strings-p): New function.
      (electric-pair-string-bound-function): New var.
      (electric-pair-inhibit-if-helps-balance): Decide quote pairing
      according to `electric-pair--in-unterminated-string-p'
      
      * test/automated/electric-tests.el (define-electric-pair-test): Don't
      overtest..
      (inhibit-in-mismatched-string-inside-ruby-comments): New test.
      (inhibit-in-mismatched-string-inside-c-comments): New test.
      5cb0cc90
  12. 02 Apr, 2014 1 commit
    • João Távora's avatar
      Inhibit quote autopairing more frequently · 200c532b
      João Távora authored
      * lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
      quote pairing if point-max is inside an unterminated string.
      (electric-pair--looking-at-unterminated-string-p):
      Delete.
      (electric-pair--in-unterminated-string-p): New function.
      
      * test/automated/electric-tests.el (inhibit-if-strings-mismatched):
      New test, change from `inhibit-only-of-next-is-mismatched'.
      200c532b
  13. 25 Mar, 2014 2 commits
    • Michael Albinus's avatar
      Fix last ChangeLog entry. · c7d0e04c
      Michael Albinus authored
      c7d0e04c
    • Barry O'Reilly's avatar
      Undo in region after markers in undo history relocated · 37ea8275
      Barry O'Reilly authored
      * simple.el (primitive-undo): Only process marker adjustments
      validated against their corresponding (TEXT . POS).  Issue warning
      for lone marker adjustments in undo history.  (Bug#16818)
      (undo-make-selective-list): Add marker adjustments to selective
      undo list based on whether their corresponding (TEXT . POS) is in
      the region.  Remove variable adjusted-markers, which was unused
      and only non nil during undo-make-selective-list.
      (undo-elt-in-region): Return nil when passed a marker adjustment
      and explain in function doc.
      
      Have (MARKER . ADJUSTMENT) undo records always be immediately
      after their corresponding (TEXT . POS) record in undo list.
      (Bug#16818)
      * lisp.h (record-delete): New arg record_markers.
      (record_marker_adjustment): No longer needed outside undo.c.
      * insdel.c (adjust_markers_for_delete): Move calculation of marker
      adjustments to undo.c's record_marker_adjustments.  Note that
      fileio.c's decide_coding_unwind is another caller to
      adjust_markers_for_delete.  Because it has undo list bound to t,
      it does not rely on adjust_markers_for_delete to record marker
      adjustments.
      (del_range_2): Swap call to record_delete and
      adjust_markers_for_delete so as undo marker adjustments are
      recorded before current deletion's adjustments, as before.
      (adjust_after_replace):
      (replace_range): Pass value for new record_markers arg to
      delete_record.
      * undo.c (record_marker_adjustment): Renamed to
      record_marker_adjustments and made static.
      (record_delete): Check record_markers arg and call
      record_marker_adjustments.
      (record_change): Pass value for new record_markers arg to
      delete_record.
      (record_point): at_boundary calculation no longer needs to account
      for marker adjustments.
      
      * undo-tests.el (undo-test-marker-adjustment-nominal):
      (undo-test-region-t-marker): New tests of marker adjustments.
      (undo-test-marker-adjustment-moved):
      (undo-test-region-mark-adjustment): New tests to demonstrate
      bug#16818, which fail without the fix.
      
      * markers.texi (Moving Marker Positions): The 2014-03-02 doc
      change mentioning undo's inability to handle relocated markers no
      longer applies.  See bug#16818.
      * text.texi (Undo): Expand documentation of (TEXT . POS) and
      (MARKER . ADJUSTMENT) undo elements.
      37ea8275
  14. 23 Mar, 2014 5 commits
  15. 07 Mar, 2014 1 commit
  16. 03 Mar, 2014 1 commit
  17. 02 Mar, 2014 1 commit
  18. 28 Feb, 2014 1 commit
  19. 27 Feb, 2014 1 commit
    • Michael Albinus's avatar
      * automated/tramp-tests.el (tramp--test-enabled): Move connection · 154ba796
      Michael Albinus authored
      cleanup into this function.  Remove respective code from all test cases.
      (tramp--instrument-test-case): Declare `indent' and `debug'.
      Handle other errors as well.
      (tramp-test14-delete-directory): Check for `file-error' error.
      (tramp-test15-copy-directory): Ignore return value of
      `copy-directory'.  It's too much hassle to handle it for tramp-adb.el.
      (tramp-test19-directory-files-and-attributes): Take care of
      timestamp of "../".
      (tramp-test20-file-modes, tramp-test27-start-file-process)
      (tramp-test28-shell-command): Skip for tramp-adb.el.
      (tramp-test21-file-links): `file-truename' shall preserve trailing
      link of directories.
      (tramp-test22-file-times): Skip if `set-file-times' returns nil.
      (tramp-test26-process-file, tramp-test28-shell-command): Let-bind
      `kill-buffer-query-functions' to nil.
      (tramp-test28-shell-command): Run `async-shell-command' with timeouts.
      154ba796
  20. 21 Feb, 2014 1 commit
    • Michael Albinus's avatar
      * automated/tramp-tests.el · c6e08d12
      Michael Albinus authored
      (tramp-test19-directory-files-and-attributes): Do not include
      directories in comparison; they might have changed their
      timestamps already.
      c6e08d12
  21. 20 Feb, 2014 1 commit
  22. 19 Feb, 2014 1 commit
    • Michael Albinus's avatar
      * automated/tramp-tests.el (tramp-test17-insert-directory): · 76c92fdd
      Michael Albinus authored
      Make first line "total 123" optional.
      (tramp-test20-file-modes, tramp-test22-file-times)
      (tramp-test26-process-file, tramp-test27-start-file-process)
      (tramp-test28-shell-command): Skip for tramp-gvfs.el and
      tramp-smb.el.
      (tramp-test20-file-modes): Check for "root" only when there is an
      explicit user name.
      (tramp-test21-file-links): Handle "... not supported" error.
      (tramp-test22-file-times): Skip for "don't know" return values.
      (tramp-test26-process-file, tramp-test28-shell-command):
      Remove color escape sequences.
      (tramp-test28-shell-command): Use `accept-process-output' rather
      than `sit-for'.
      (tramp-test30-utf8): Set coding system `utf-8'.
      76c92fdd
  23. 17 Feb, 2014 1 commit
  24. 16 Feb, 2014 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.9. · dd7691b7
      Michael Albinus authored
      * doc/misc/trampver.texi: Update release number.
      
      * lisp/net/trampver.el: Update release number.
      
      * test/automated/tramp-tests.el (password-cache-expiry): Set to nil.
      (tramp-test28-shell-command): Make a while loop when waiting for
      process exit.
      dd7691b7
  25. 13 Feb, 2014 1 commit
  26. 11 Feb, 2014 1 commit
  27. 07 Feb, 2014 1 commit