Created attachment 1152950 [details] example WIP spec Description of problem: The \c shortcut doesn't seem to be working any more. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. \c to insert a new change log entry 2. 3. Actual results: This is what I get when I hit \c: Error detected while processing function <SNR>69_SpecChangelog[49]..<SNR>69_GetRelVer: line 19: Traceback (most recent call last): File "<string>", line 15, in <module> vim.error: Vim(let):E15: Invalid expression: 3.2b.hines18 Expected results: Should just add a new changelog entry. Additional info: Attaching an example spec.
I've seen similar issues on f24's vim occassionally too, can give more test-cases if that helps.
Unfortunately upstream spec.vim got more broken in the meantime. \c doesn't produce any useful results even in vim's own specfile anymore.
Let's be honest about `spec.vim`. The code is not great. I wanted to add a few things but I decided to rewrite the whole plugin. Do something more like `rpm-spec-mode` in emacs. I should have something in a week or so.
*** This bug has been marked as a duplicate of bug 1297746 ***