Bug 1332184 - \c shortcut for changelog in vim seems to be broken
Summary: \c shortcut for changelog in vim seems to be broken
Keywords:
Status: CLOSED DUPLICATE of bug 1297746
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 23
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1297746
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 12:53 UTC by Ankur Sinha (FranciscoD)
Modified: 2016-09-14 08:13 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-09-14 08:13:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
example WIP spec (3.03 KB, text/x-matlab)
2016-05-02 12:53 UTC, Ankur Sinha (FranciscoD)
no flags Details

Description Ankur Sinha (FranciscoD) 2016-05-02 12:53:01 UTC
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.

Comment 1 Rex Dieter 2016-05-02 12:57:12 UTC
I've seen similar issues on f24's vim occassionally too, can give more test-cases if that helps.

Comment 2 Karsten Hopp 2016-06-03 09:28:45 UTC
Unfortunately upstream spec.vim got more broken in the meantime. \c doesn't produce any useful results even in vim's own specfile anymore.

Comment 3 fszymanski 2016-06-03 22:13:20 UTC
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.

Comment 4 Igor Gnatenko 2016-09-14 08:13:48 UTC

*** This bug has been marked as a duplicate of bug 1297746 ***


Note You need to log in before you can comment on or make changes to this bug.