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

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

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2016 03:44PM 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 03:39PM UTC coverage: 63.271% (+0.01%) 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>|>`.

This commits adds a ">" alternative to the regexp so that filter returns
true when `sp--do-action-p` is called for the autoskip action on the
closing chevron.

Closes #642.
Pull Request #651: Fix autoskipping closing chevrons in rust-mode

2348 of 3711 relevant lines covered (63.27%)

3099.28 hits per line

Source Files on job 909.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 909
  • Travis Job 909.1
  • 0fa714ff 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