aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * test/automated/package-test.el (package-test-update-listing)Stefan Monnier2014-06-252-3/+9
| | | | | (package-test-update-archives, package-test-describe-package): Adjust tests according to new package-list-unsigned.
* Fix some indentation problem with \; and pipes.Stefan Monnier2014-06-241-0/+7
| | | | | | | | | | | * lisp/progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&. (sh-smie--default-forward-token, sh-smie--default-backward-token): New functions. (sh-smie-sh-forward-token, sh-smie-sh-backward-token) (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them. (sh-smie-sh-rules): Fix indentation of a pipe at BOL. Fixes: debbugs:17842
* Fix completion retrieval parsing.Fabián Ezequiel Gallina2014-06-212-0/+13
| | | | | | | | | | * progmodes/python.el (python-mode): (python-util-strip-string): New function. (python-shell-completion-get-completions): Use it. * automated/python-tests.el (python-util-strip-string-1): New test. Fixes: debbugs:17209
* * lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don'tStefan Monnier2014-06-201-0/+8
| | | | | | align with the surrounding parent. Fixes: debbugs:17721
* * lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.Stefan Monnier2014-06-191-1/+5
| | | | | | | (smie-indent--hanging-p): Use it. * lisp/progmodes/sh-script.el (sh-set-shell): Set it. Fixes: debbugs:17621
* * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && asStefan Monnier2014-06-191-0/+6
| | | | | | for |. Fixes: debbugs:17621
* Revert last patch. The problem happens in the trunk.Michael Albinus2014-06-012-7/+1
|
* * tramp-tests.el (tramp-test29-vc-registered):Michael Albinus2014-06-011-1/+2
| | | | Instrument failed test case.
* * automated/tramp-tests.el (tramp-test29-vc-registered):Michael Albinus2014-06-011-0/+5
| | | | Instrument failed test case.
* * lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.Stefan Monnier2014-05-231-0/+1
| | | | | | | (advice-function-member-p): Tell it to check both names and functions. (advice--add-function): Adjust call accordingly. Fixes: debbugs:17531
* * lisp/emacs-lisp/nadvice.el: Support adding a given function multiple times.Stefan Monnier2014-05-103-1/+38
| | | | | | | | | (advice--member-p): If name is given, only compare the name. (advice--remove-function): Don't stop at the first match. (advice--normalize-place): New function. (add-function, remove-function): Use it. (advice--add-function): Pass the name, if any, to advice--remove-function.
* * test/automated/vc-bzr.el: Tweak previous to use BZR_HOME rather than HOMEGlenn Morris2014-05-081-7/+8
|
* Fix comment typo in previousGlenn Morris2014-05-081-1/+1
|
* test/automated/vc-bzr.el: revise previous changeGlenn Morris2014-05-072-20/+36
| | | | | | | * test/automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781) (vc-bzr-test-faulty-bzr-autoloads): Give bzr a temporary home-directory, in case the real one is missing. Simply disabling logging wasn't enough.
* test/automated/vc-bzr.el: disable bzr's loggingGlenn Morris2014-05-072-3/+14
| | | | | | | | This is for systems like hydra, where HOME can be read-only/absent. See e.g. <http://hydra.nixos.org/build/10870893>. * test/automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781) (vc-bzr-test-faulty-bzr-autoloads): Disable bzr logging.
* * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):Dmitry Gutov2014-05-062-0/+9
| | | | | | | | | Backtrack one char if the global/char-literal var matcher hits inside a string. The next char could be the beginning of an expression expansion. * test/automated/ruby-mode-tests.el (ruby-interpolation-after-dollar-sign): New test.
* * lisp/help-fns.el (describe-function-1): Test for an autoload before a macroGlenn Morris2014-05-052-0/+41
| | | | | | | | since `macrop' works on autoloads. * test/automated/help-fns.el: New file. Fixes: debbugs:17410
* * automated/tramp-tests.el (top):Michael Albinus2014-04-253-19/+11
| | | | | | * automated/file-notify-tests.el (top): Do not disable interactive passwords in batch mode. (password-cache-expiry): Set to nil.
* Use a mock-up connection method for remote files.Michael Albinus2014-04-243-14/+52
| | | | | | | | | * automated/file-notify-tests.el (file-notify-test-remote-temporary-file-directory): * automated/tramp-tests.el (tramp-test-temporary-file-directory): Use a mock-up method as default. (tramp-test00-availability): Print the used directory name. (tramp-test33-recursive-load): Fix typo.
* * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Slash afterStefan Monnier2014-04-221-0/+2
| | | | | | &, |, +, - and * can't be a division. Fixes: debbugs:17317
* * automated/tramp-tests.el (tramp--test-check-files): Remove traces.Michael Albinus2014-04-222-4/+3
|
* * automated/tramp-tests.el (tramp-test30-special-characters):Michael Albinus2014-04-222-3/+8
| | | | Remove test for backslash.
* * lisp/emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.Stefan Monnier2014-04-211-0/+3
|
* * automated/tramp-tests.el (tramp-test19-directory-files-and-attributes)Michael Albinus2014-04-202-16/+32
| | | | | | (tramp-test22-file-times): Check for `file-attributes' equality only if there is a usable timestamp. (tramp--test-check-files): Do not use `copy-sequence'.
* Instrument `tramp--test-check-files' in order to get traces on hydra.Michael Albinus2014-04-191-1/+2
|
* * automated/tramp-tests.el (tramp--test-check-files): Extend test.Michael Albinus2014-04-192-15/+35
| | | | (tramp-test31-utf8): Let-bind also `file-name-coding-system'.
* * automated/tramp-tests.el (tramp-copy-size-limit): Set to nil.Michael Albinus2014-04-182-46/+267
| | | | | | | | | | | | | | (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.
* * lisp/nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertizationStefan Monnier2014-04-161-0/+10
| | | | | | | | was done. * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed comment to EOB. Fixes: debbugs:17264
* Spelling fixes.Paul Eggert2014-04-102-1/+7
| | | | | | * automated/electric-tests.el: Fix spelling error in test name. (whitespace-skipping-for-quotes-not-outside): Rename from whitespace-skipping-for-quotes-not-ouside.
* * lisp/progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect formatFeng Li2014-04-101-0/+1
| | | | entry; use symbol boundaries to avoid mis-matches.
* Fix python-triple-quote-pairing testGlenn Morris2014-04-082-24/+33
| | | | | * test/automated/python-tests.el (python-triple-quote-pairing): Enable/disable electric-pair-mode as needed.
* * electric-tests.el (electric-pair-backspace-1): Replace deleted function.Glenn Morris2014-04-082-1/+6
|
* ChangeLog fix (no need to merge to trunk)Glenn Morris2014-04-071-7/+3
|
* Improve on previous quote autopairing changeJoão Távora2014-04-072-1/+50
| | | | | | | | | | | | | | | | | | | 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.
* Inhibit quote autopairing more frequentlyJoão Távora2014-04-072-2/+7
| | | | | | | | | | | | | 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'.
* Fix triple-quoting electricity in python-modeJoão Távora2014-04-072-0/+44
| | | | | | | | | | * 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
* Fix electric-pair-skip-whitespace with quotes in text-modeJoão Távora2014-04-072-2/+35
| | | | | | | | | | | | | | * 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
* * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'Stefan Monnier2014-04-021-0/+4
| | | | | | used as a variable. Fixes: debbugs:17174
* Fix bug#17097Dmitry Gutov2014-03-271-0/+5
| | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Don't propertize `?' or `!' as symbol constituent when after colon.
* Fix last ChangeLog entry.Michael Albinus2014-03-251-1/+1
|
* Undo in region after markers in undo history relocatedBarry O'Reilly2014-03-242-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix keyword argument parsing. Please bootstrap.Daniel Colascione2014-03-222-0/+11
|
* Fix test failure in non-graphical modeDmitry Gutov2014-03-232-1/+24
| | | | | | | * test/automated/package-test.el (package-test-describe-package): Fix test failure in non-graphical mode. Add some missing ChangeLog entries.
* Fix bug#16873Dmitry Gutov2014-03-222-1/+3
| | | | | * lisp/emacs-lisp/package.el (package-desc): Use the contents of the quoted form, not its cdr.
* Fix bug#16826Dmitry Gutov2014-03-213-1/+32
| | | | | | | * lisp/emacs-lisp/package.el (package-compute-transaction): Use `version-list-<=' to compare the requirement version against the package version already to be installed. Update the error message.
* Fix bug#17050Dmitry Gutov2014-03-211-0/+17
| | | | | * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Add indentation rule for ` @ '.
* * automated/tramp-tests.el (tramp-copy-size-limit): Declare.Michael Albinus2014-03-072-5/+110
| | | | | (tramp-test10-write-region): Extend for out-of-band copy. (tramp-test31-asynchronous-requests): New test.
* Spelling fixes.Paul Eggert2014-03-021-1/+1
|
* */ChangeLog: Trivial fixes.Juanma Barranquero2014-03-031-9/+9
|
* * simple.el (undo-elt-in-region): Fix buffer corruption for edgeBarry O'Reilly2014-03-022-0/+49
| | | | | | | | case of undo in region. * automated/undo-tests.el (undo-test-in-region-not-most-recent): Add new test of undo in region. (undo-test-in-region-eob): Add test case described at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16411#41