summaryrefslogtreecommitdiff
path: root/test.el
AgeCommit message (Collapse)Author
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
2011-04-11Expand `paredit-kill' tests a little.Taylor R Campbell
Ignore-this: 24b37ef662a653c2dfc7c6bb81e9f493 Still a long way from being remotely satisfactory. darcs-hash:20110411230018-00fcc-df5e070b386a549fce8ddb38db6aa27983e70893
2011-04-11Replace `paredit-wrap-sexp' tests by `paredit-wrap-round' &c. tests.Taylor R Campbell
Ignore-this: 9bfd202133e386063b4dcddd04d24db6 darcs-hash:20110411225954-00fcc-e1942057e4e99674b84d39d6d2d024aa6c15d528
2011-04-11Add and fix some tests for `(' and `)' while in a character literal.Taylor R Campbell
Ignore-this: 5b769eee2b831aefae5f7440a4ef2775 darcs-hash:20110411225240-00fcc-dd7e564acf7c93f087c94d1e16f18650504fe89f
2011-04-11Add tests for region deletion across comment boundaries.Taylor R Campbell
Ignore-this: 145763cd2559105046cddd21c3da31d2 darcs-hash:20110411190401-00fcc-44f724d53c52deb35d81b6c3a4bee70ef7d56222
2011-04-11Add some trivial tests for region deletion/killing commands.Taylor R Campbell
Ignore-this: 5ba090d8b5214e6b53419108126e74f7 darcs-hash:20110411185319-00fcc-9d494301c54ca406124f243a884c163dc92be27c
2011-04-11Add some trivial tests for `paredit-wrap-sexp'.Taylor R Campbell
Ignore-this: 798d9dcc323a87749b2fdd7e1351c7c darcs-hash:20110411185153-00fcc-e45fea206945d21a4483d2b0273932644c1dd977
2011-04-11Support setting the mark in test cases, indicated by an underscore.Taylor R Campbell
Ignore-this: 83a9ba4b44db09fbc9b734399fcbb177 darcs-hash:20110411184908-00fcc-d4bdfeac48a61f997fdb29269784edc2b0b0b9ac
2011-04-11Add some tests for recent changes to deletion and killing commands.Taylor R Campbell
Ignore-this: faf1edd6c7cd277cf4fdaa1eff18985c darcs-hash:20110411180930-00fcc-1d348dfc4d09757c3d608742df27c5a2b95d01fd