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

Fuco1 / smartparens / 909
67%

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2016 03:44PM UTC
Jobs 2
Files 7
Run time 10s
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

pending completion
909

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

3 of 3 new or added lines in 1 file covered. (100.0%)

2348 of 3711 relevant lines covered (63.27%)

6198.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 909.1 (EVM_EMACS=emacs-24.4-bin) 23 Sep 2016 03:44PM UTC 0
63.27
Travis Job 909.1
2 909.2 (EVM_EMACS=emacs-24.5-bin) 23 Sep 2016 03:44PM UTC 0
63.27
Travis Job 909.2
Source Files on build 909
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #909
  • Pull Request #651
  • PR Base - master (#907)
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