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

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

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2016 06:17PM UTC
Files 7
Run time 1s
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

23 Sep 2016 06:12PM UTC coverage: 63.455% (+0.2%) from 63.261%
EVM_EMACS=emacs-24.4-bin

Pull #651

travis-ci

web-flow
Fix autoskipping closing chevrons in rust-mode

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.
Pull Request #651: Fix autoskipping closing chevrons in rust-mode

2358 of 3716 relevant lines covered (63.46%)

3107.21 hits per line

Source Files on job 910.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 910
  • Travis Job 910.1
  • 876d35bb on github
  • Prev Job for EVM_EMACS=emacs-24.4-bin on master (#907.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