| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2016-11-05 | 3.0 kB | |
| Smartparens 1.9.0.tar.gz | 2016-11-05 | 186.8 kB | |
| Smartparens 1.9.0.zip | 2016-11-05 | 216.2 kB | |
| Totals: 3 Items | 406.0 kB | 0 | |
Mostly a bug-fix release, we concentrated on old issues with quotes and odd behaviors there and some improvements of slurping and barfing. Fixing issues brought in by the return of auto-escaping is a given :)
As usual, big thanks to all the contributors who helped on this release!
Changes since 1.8.0
Bug fixes
- Point at end of buffer does not register as "inside symbol" anymore
- When killing backwards using smartparens functions, the successive kills should be prepended instead of appended (#630)
- Fixed broken recognition of end-of-sexp in comments if the delimiter was the last character of comment (slurping around the comment did not work) (#634)
- When calling
sp-up-sexp, do not destroy whitespace if inside a string (#616) sp--looking-backmatch can no longer extend after the point- If a string quote is escaped, do not treat it as start of a string sexp (#637)
- Respect sexp prefix even if it is a symbol (for example
_in clojure) (#621) - If a sexp can not be parsed, do not fall back to symbol parsing (this might cause point skipping past the broken delimiter) (#666 \m/)
- Jump to inside of sexp instead of match when skipping in strict mode (the match can extend further than the sexp bounds) (#617)
- Fix parsing of nested strings when string fences delimit the strings (#661)
lua-mode
- Don't autocomplete the lua blocks inside comments (#648)
clojure-mode
- Match backtick with backtick and not apostrophe
latex-mode
- Fix whitespace insertion when slurping in
LaTeX(#670)
Features
- More robust checking of breakage when wrapping.
- If the point is in a sexp and mark in a different sexp, we should refuse to wrap the region as the delimiters would end up in different sexps breaking the structure
- If the point is inside a sexp and the mark outside, we should refuse to wrap as the string would break that sexp
tuareg-mode (ocaml)
- Add support for
tuareg-mode(#631)
API
sp-get-quoted-string-boundstakes an optionalpointparameter of where the test should be run- Add new test
sp-char-is-escaped-pto test if the char-at-point is escaped or not (according tosp-escape-char) sp--strict-regexp-optnow returns""onnilinput to be consistent withregexp-optsp--merge-propandsp--update-pairhad the argument order changed
Misc
- Removed old unused functions
sp--string-empty-psp-pair-is-stringlike-psp--split-stringsp--reverse-stringsp-zap-syntax- Tests were made even more quiet to save on nonsensical output
- Removed
sp-nagivate-use-textmode-stringlike-parseralias - Tests no longer rely on
Makefile, we use.travis.ymlonly. To run tests locally, usecask exec ert-runner. - There is now a release script to manage releases automatically (#662)
