• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Fuco1 / smartparens / 911 / 1
67%
master: 67%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2016 09:43AM UTC
Files 7
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Sep 2016 09:38AM UTC coverage: 63.455% (+0.2%) from 63.261%
EVM_EMACS=emacs-24.4-bin

push

travis-ci

Fuco1
Fix autoskipping closing chevrons in rust-mode (#651)

Before this commit, closing chevrons were not autoskipped.  Typing:

`T<` would result in the correct insertion of a matching closing
chevron: `T<|>`, but typing `>` would not result in `T<>|>`, not
skipping the closing chevron even with the `autoskip` action set on the
pair.

This was caused by the regexp in `sp-rust-could-be-parameterized` set as
a `when` filter for the local pair "<" ">".  This filter is called by
`sp--do-action-p` not only when inserting a chevron, but also when
determining if the closing chevron should be autoskipped.  In the
closing case, the regexp does not match, because at the moment this
check is done the code contains one extra chevron: `<T>|>`.

In fact, the filter `sp-rust-could-be-parameterized` was implicitly
concerned only with the `insert` action, and not the other ones.

This commits rewrites the filter to explicitly disallow some cases where
a matching bracket should not be inserted.

Closes #642.

2358 of 3716 relevant lines covered (63.46%)

3107.21 hits per line

Source Files on job 911.1 (EVM_EMACS=emacs-24.4-bin)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 911
  • Travis Job 911.1
  • a5e79d0f on github
  • Prev Job for EVM_EMACS=emacs-24.4-bin on master (#907.1)
  • Next Job for EVM_EMACS=emacs-24.4-bin on master (#914.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc