Bug 1422833 - Syntax error in tex.vim: missing bracket
Summary: Syntax error in tex.vim: missing bracket
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-16 11:19 UTC by Ian Collier
Modified: 2017-03-03 10:57 UTC (History)
5 users (show)

Fixed In Version: vim-8.0.329-1.fc25
Clone Of:
Environment:
Last Closed: 2017-02-18 18:21:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ian Collier 2017-02-16 11:19:49 UTC
After recent updates we have these versions:
vim-common-8.0.324-1.fc25.x86_64
vim-common-8.0.314-1.fc24.x86_64
both of which have a syntax error in tex.vim.  Previous version was
8.0.238-1 in both cases, where the bug was not noticed.

1. Have a terminal running in a UTF-8 locale
2. echo '\documentclass{article}' > test.tex
3. vim --cmd 'set ambw=double' test.tex

Receive the following error message:

Error detected while processing /usr/share/vim/vim80/syntax/tex.vim:
line  514:
E697: Missing end of List ']': 
E15: Invalid expression: s:texMathDelimList + [ ['\\langle'     , '〈'] , ['\\ra
ngle'     , '〉'] ,

Comment 1 Fedora Update System 2017-02-16 14:00:30 UTC
vim-8.0.329-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4309aacc39

Comment 2 Zdenek Dohnal 2017-02-16 14:08:12 UTC
Hi Ian,

thank you for contacting us and informing us about this issue. I applied patch and I tested it in Fedora 25. You can test the build from https://koji.fedoraproject.org/koji/buildinfo?buildID=859683 . Does it solve the issue?

Comment 3 Fedora Update System 2017-02-17 15:26:58 UTC
vim-8.0.329-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4309aacc39

Comment 4 Ian Collier 2017-02-17 15:32:02 UTC
Koji build does indeed eliminate the syntax error.  Thanks.

Comment 5 Fedora Update System 2017-02-18 18:21:01 UTC
vim-8.0.329-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Ian Collier 2017-03-03 10:41:34 UTC
Any chance of fixing this in F24 as well?  It's been updated this week and still contains the bug - my temporary edit was wiped out by the update.

Comment 7 Ian Collier 2017-03-03 10:57:19 UTC
Sorry for spam - I notice that 8.0.324-1.fc24 is in updates-testing and that does fix it.
Upstream patched this on Feb 17 (3df0173fa6d0418e89ef4e9c1d04a97c92eec27c).


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