summaryrefslogtreecommitdiff
path: root/test.el
AgeCommit message (Collapse)Author
2022-11-26paredit-kill: Tweak rule for adding space if kill-whole-line is t.Taylor R Campbell
For now, disable the yank part of the test -- with kill-whole-line, killing and then yanking is not always a noop and it's not clear making it a noop is the right approach. I don't use kill-whole-line so I'm not sure what expectations are and I'm reluctant to change it, except to fix obviously-wrong outcomes like (x|(y)) that should be (x| (y)). While here, document the effect of kill-whole-line on paredit-kill.
2022-11-26test.el: Clarify comment about kill-line and show-trailing-whitespace.Taylor R Campbell
2022-11-26test.el: Test paredit-kill with kill-whole-line enabled.Taylor R Campbell
Turns out there's a lot of edge cases the impenetrable code handled badly anyway. Oops.
2022-11-26test.el: More tests for region and character deletion.Taylor R Campbell
2022-11-26test.el: Convert some disappointed comments into xfails.Taylor R Campbell
2022-11-26test.el: Rephrase negations in paredit-test to be less confusing.Taylor R Campbell
2022-11-26Change some comments to xfail.Taylor R Campbell
2022-11-26Teach paredit-forward/backward-kill-word to take prefix argument.Taylor R Campbell
XXX Unlike other paredit commands, C-u is not handled specially -- it is just interpreted as 4. No automatic tests for this at the moment.
2022-11-26Test paredit-forward-kill-word, paredit-backward-kill-word.Taylor R Campbell
Turns up some nasty edge cases I missed, oops.
2022-11-26Fix column preservation in text fields like ielm after prompt.Taylor R Campbell
Add a hacky one-off test to assemble buffer text with a field.
2022-11-24Work around Electric Indent Mode brokenness in newline keys.Taylor R Campbell
2022-08-28paredit-raise-sexp: Handle active mark in transient mark mode.Taylor R Campbell
2022-07-09Bump copyright year.Taylor R Campbell
2020-11-30More slurpage edge cases.Taylor R Campbell
2020-11-30Test some backward-slurp screw cases.Taylor R Campbell
2020-11-30Stop each test on first failure or unexpected success.Taylor R Campbell
2020-11-30Add some examples of slurping edge cases that we should handle.Taylor R Campbell
Derived from suggestion by Jonathon McKitrick <jmckitrick@gmail.com>.
2020-11-30Batch up test failures and implement expected-failure.Taylor R Campbell
2020-04-10Trailing newline.Taylor R Campbell
2020-04-10Disable minibuffer message delays in tests.Taylor R Campbell
2019-11-21New variables for comment prefixes.Taylor R Campbell
You can customize these according to mode if your Lisp has different style conventions from the Common Lisp and Scheme in my experience.
2019-11-21Bump copyright year.Taylor R Campbell
2017-04-05Bump copyright year to 2017.Taylor R Campbell
2017-04-05Don't reindent single-line edits in paredit-raise-sexp.Taylor R Campbell
Add a couple trivial tests for paredit-raise-sexp. Bug reported by Alex Plotnick.
2014-01-28Let C-d and DEL delete the other spurious delimiters too.Taylor R Campbell
2014-01-28Bump copyright date: 2013->2014.Taylor R Campbell
2013-07-09Make slurping and barfing support prefix arguments.Taylor R Campbell
Positive numeric means slurp/barf that many forms. Negative numeric slurp means barf -that many forms, and vice versa. C-u means slurp/barf as many as possible before hitting end of list. Tests are currently pretty limited. Please help!
2013-07-09Add some slurp tests with characters and strings.Taylor R Campbell
2013-07-06Make slurping `(|) foo' yield `(|foo)', not `(| foo)'.Taylor R Campbell
Likewise for backward slurping and slurping into strings. Add some tests.
2013-07-06Flesh out paredit-wrap-... tests a little.Taylor R Campbell
2013-06-16Make sure M-? leaves space appropriately when there was none.Taylor R Campbell
2013-06-13Rework paredit-semicolon and add some tests for it.Taylor R Campbell
2013-06-13In test.el, use (delete-char -1), not backward-delete-char.Taylor R Campbell
@#&!#!&* GNU Emacs 24 changed the semantics of `backward-delete-char' so that it deletes the region in transient mark mode. The rest of paredit will need to be changed to reflect this too -- argh.
2013-04-07Improve indentation and column preservation in `paredit-splice'.Taylor R Campbell
2013-04-07Change `paredit-meta-doublequote' to avoid breaking the line.Taylor R Campbell
This way, default M-" behaves more like default M-). New command `paredit-meta-doublequote-and-newline' (no default key) behaves like the old `paredit-meta-doublequote'.
2013-04-07Preserve column better in `paredit-join'.Taylor R Campbell
2013-04-07Make `paredit-forward' and `paredit-backward' move out of strings.Taylor R Campbell
2013-04-07Fix paredit-doublequote inside a string escape.Taylor R Campbell
2013-04-07Add a pile of `paredit-backward-barf-sexp' tests.Taylor R Campbell
Still need forward barfage tests, and any slurpage tests.
2013-04-07Add a zillion paredit-kill tests. Fix a tiny bug they revealed.Taylor R Campbell
`paredit-kill' at the end of the line in a comment failed to put the string `\n' into the kill ring, as revealed by these tests.
2013-04-07Bump copyright year on test.el to 2013.Taylor R Campbell
2011-05-08Tweak `paredit-convolute-sexp' a little and add some tests for it.Taylor R Campbell
Ignore-this: 61dbcae678e46499873949c68cc78fbf Thanks to Leo Liu for the nudge about some of its rough corners (and for pointing out the screw case recently fixed). It's still pretty rough around the edges. darcs-hash:20110508175637-00fcc-265b11688b79f4d01211d798fec7e9dd3fe4748f
2011-05-07Add message to top of `paredit-test' reporting what we're testing.Taylor R Campbell
Ignore-this: a617d41480a852b472bc838b1a69bd16 darcs-hash:20110507220505-00fcc-0c92c0a098e8fb214e238bd380f5a6b69d991608
2011-05-07Fix error message in `paredit-test'.Taylor R Campbell
Ignore-this: 1dd56a52c3ba0452311def32fe65f5b9 darcs-hash:20110507220457-00fcc-efe7d18976fed07781293d36507f9abc004a02ca
2011-05-07Fix `kill-line' tests now that `show-trailing-whitespace' is nil.Taylor R Campbell
Ignore-this: ac26793e9b31dc27c6cd85af25f4a4f2 Grumble. darcs-hash:20110507220434-00fcc-9e8f7464ef213864d098eec4f6f356039401d967
2011-05-07Set `show-trailing-whitespace' to nil when running tests.Taylor R Campbell
Ignore-this: 29d39397a5e43d31b9855e75e38430ab darcs-hash:20110507220356-00fcc-3d492593405908a1fec3be631241abb4268e6dcf
2011-05-07Add regression test for `paredit-convolute-sexp' screw case.Taylor R Campbell
Ignore-this: c558f1f5c6432b3276780a30fe13bd3e darcs-hash:20110507212125-00fcc-729cb31b8bfcbd23234d7fdd8efb469a545baf3a
2011-04-12Tweak a `paredit-reindent-defun' test slightly.Taylor R Campbell
Ignore-this: ddb4695b0f360dc64ce0740fc499dcbc darcs-hash:20110412132309-00fcc-a82f9d8806377c35cfd2cdc12cf9bac2d41b2b95
2011-04-11Be explicit about Transient Mark Mode in `paredit-wrap-*' tests.Taylor R Campbell
Ignore-this: 1295ab71a3e11223dd5dfca96c6a8292 darcs-hash:20110411232248-00fcc-5bbb48a3bfcddbd0dbd836df292c2059966ec413
2011-04-11Add character deletion tests to verify the new `paredit-in-char-p'.Taylor R Campbell
Ignore-this: 2f38714b2d3133e6ae10fc861fc6bbad darcs-hash:20110411230236-00fcc-5cdf1cbe0a085f72a89a554dc81ddc2e9794ac66