Danek Duvall wrote the following on 11.10.2011 22:13 Hello Danek
Thanks for your affort. > There are a handful of syntax files that use backslash continuation > characters without ensuring that cpoptions is missing C, so when running > vim in vi compatibility mode (such as when there's no .vimrc), you'll get > errors like > > Error detected while processing /usr/share/vim/vim73/syntax/po.vim: > line 37: > E10: \ should be followed by /, ? or & > line 39: > E10: \ should be followed by /, ? or & Resently i saw those, too but i thought they came from my .vimrc. Thanks for the hint. > > when editing a .po file and running "syn on". Most syntax scripts (at > least those that use continuation characters) execute "set cpo&vim" and > reset cpo at the end of the script, but these don't: > > autoit.vim > cmake.vim > cucumber.vim > datascript.vim > fvwm.vim > lsl.vim > mrxvtrc.vim > objc.vim > perl6.vim > php.vim > po.vim > sgmldecl.vim > taskdata.vim > taskedit.vim > tex.vim > valgrind.vim > > I'm happy to submit a patch that fixes these, but there are many scripts > outside the syntax directory that would have the same problem, and I don't > know whether these should be fixed in the vim distro or further upstream > first, so I'm looking for guidance. > > Thanks, > Danek > attached is full list of affected files. Those files below /doc can be ignored i assume. I would like to see the rest fixed, too. Can we join forces? -- bye Thilo 4096R/0xC70B1A8F 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
$ recgrep -l '^[\t ]*\\' . ./doc/xxd.1 ./doc/pattern.txt ./doc/insert.txt ./doc/change.txt ./doc/repeat.txt ./doc/tags ./doc/xxd-pl.UTF-8.1 ./doc/xxd-ru.UTF-8.1 ./doc/xxd-it.1 ./doc/xxd-fr.UTF-8.1 ./doc/xxd-pl.1 ./doc/xxd-it.UTF-8.1 ./doc/vim-fr.UTF-8.1 ./doc/vimtutor-fr.UTF-8.1 ./doc/vimtutor-fr.1 ./doc/vim-it.1 ./doc/map.txt ./doc/version7.txt ./doc/vim.1 ./doc/vim-fr.1 ./doc/digraph.txt ./doc/message.txt ./doc/vim-pl.1 ./doc/syntax.txt ./doc/todo.txt ./doc/version6.txt ./doc/xxd-fr.1 ./doc/vim-it.UTF-8.1 ./doc/quickfix.txt ./doc/vim-ru.UTF-8.1 ./doc/eval.txt ./doc/vim-pl.UTF-8.1 ./doc/quotes.txt ./doc/ft_sql.txt ./doc/vim-ru.1 ./doc/xxd-ru.1 ./vimrc_example.vim ./keymap/serbian_utf-8.vim ./keymap/serbian_iso-8859-5.vim ./keymap/serbian-latin_utf-8.vim ./keymap/czech_utf-8.vim ./keymap/bulgarian-bds.vim ./keymap/persian-iranian_utf-8.vim ./keymap/russian-jcukenwin.vim ./keymap/serbian_cp1250.vim ./keymap/bulgarian-phonetic.vim ./keymap/magyar_utf-8.vim ./keymap/ukrainian-dvorak.vim ./keymap/vietnamese-viqr_utf-8.vim ./keymap/slovak_cp1250.vim ./keymap/mongolian_utf-8.vim ./keymap/serbian_cp1251.vim ./keymap/canfr-win.vim ./keymap/ukrainian-jcuken.vim ./keymap/russian-dvorak.vim ./keymap/dvorak.vim ./keymap/serbian_iso-8859-2.vim ./keymap/russian-jcuken.vim ./keymap/russian-yawerty.vim ./keymap/slovak_utf-8.vim ./keymap/slovak_iso-8859-2.vim ./autoload/xml/html40t.vim ./autoload/xml/html401f.vim ./autoload/xml/html401s.vim ./autoload/xml/html32.vim ./autoload/xml/xhtml10s.vim ./autoload/xml/html40s.vim ./autoload/xml/html401t.vim ./autoload/xml/xhtml10f.vim ./autoload/xml/xhtml10t.vim ./autoload/xml/xhtml11.vim ./autoload/xml/xsl.vim ./autoload/xml/xsd.vim ./autoload/xml/html40f.vim ./autoload/tohtml.vim ./autoload/ada.vim ./autoload/phpcomplete.vim ./autoload/netrwFileHandlers.vim ./autoload/syntaxcomplete.vim ./autoload/zip.vim ./autoload/decada.vim ./autoload/gnat.vim ./autoload/netrw.vim ./autoload/sqlcomplete.vim ./tutor/tutor.no ./tutor/tutor.fr.utf-8 ./tutor/tutor.nb ./tutor/tutor.fr ./tutor/tutor.de ./tutor/tutor.no.utf-8 ./tutor/tutor.nb.utf-8 ./tutor/tutor.de.utf-8 ./indent/vim.vim ./indent/cmake.vim ./indent/verilog.vim ./indent/html.vim ./indent/java.vim ./indent/mp.vim ./indent/fortran.vim ./indent/sdl.vim ./indent/falcon.vim ./indent/sh.vim ./indent/sqlanywhere.vim ./indent/xinetd.vim ./indent/perl.vim ./indent/ruby.vim ./indent/css.vim ./filetype.vim ./tools/ccfilter.1 ./tools/shtags.1 ./scripts.vim ./compiler/gcc.vim ./compiler/rst.vim ./compiler/rspec.vim ./compiler/mcs.vim ./compiler/fortran_lf95.vim ./compiler/fortran_F.vim ./compiler/eruby.vim ./compiler/g95.vim ./compiler/fortran_elf90.vim ./compiler/ifort.vim ./compiler/cs.vim ./compiler/decada.vim ./compiler/gnat.vim ./compiler/bdf.vim ./compiler/cucumber.vim ./compiler/gfortran.vim ./compiler/ant.vim ./compiler/hp_acc.vim ./compiler/ruby.vim ./syntax/eterm.vim ./syntax/rst.vim ./syntax/logindefs.vim ./syntax/setserial.vim ./syntax/plaintex.vim ./syntax/treetop.vim ./syntax/cvsrc.vim ./syntax/slpspi.vim ./syntax/screen.vim ./syntax/ada.vim ./syntax/grub.vim ./syntax/rnc.vim ./syntax/limits.vim ./syntax/sgml.vim ./syntax/zsh.vim ./syntax/alsaconf.vim ./syntax/gpg.vim ./syntax/mplayerconf.vim ./syntax/xml.vim ./syntax/cmusrc.vim ./syntax/cmake.vim ./syntax/python.vim ./syntax/terminfo.vim ./syntax/cdrdaoconf.vim ./syntax/lftp.vim ./syntax/sudoers.vim ./syntax/sieve.vim ./syntax/indent.vim ./syntax/chordpro.vim ./syntax/udevconf.vim ./syntax/wsh.vim ./syntax/quake.vim ./syntax/updatedb.vim ./syntax/libao.vim ./syntax/sensors.vim ./syntax/perl6.vim ./syntax/messages.vim ./syntax/ld.vim ./syntax/cs.vim ./syntax/php.vim ./syntax/netrc.vim ./syntax/calendar.vim ./syntax/xmodmap.vim ./syntax/mailaliases.vim ./syntax/pamconf.vim ./syntax/group.vim ./syntax/cdrtoc.vim ./syntax/litestep.vim ./syntax/a2ps.vim ./syntax/nanorc.vim ./syntax/2html.vim ./syntax/autohotkey.vim ./syntax/sysctl.vim ./syntax/arch.vim ./syntax/framescript.vim ./syntax/loginaccess.vim ./syntax/passwd.vim ./syntax/udevrules.vim ./syntax/slpreg.vim ./syntax/dictdconf.vim ./syntax/readline.vim ./syntax/services.vim ./syntax/hostconf.vim ./syntax/datascript.vim ./syntax/udevperm.vim ./syntax/bdf.vim ./syntax/initex.vim ./syntax/kconfig.vim ./syntax/crm.vim ./syntax/cucumber.vim ./syntax/modconf.vim ./syntax/objc.vim ./syntax/ldapconf.vim ./syntax/xinetd.vim ./syntax/protocols.vim ./syntax/tex.vim ./syntax/elinks.vim ./syntax/yaml.vim ./syntax/racc.vim ./syntax/dictconf.vim ./syntax/lsl.vim ./syntax/context.vim ./syntax/named.vim ./syntax/dircolors.vim ./syntax/fetchmail.vim ./syntax/po.vim ./syntax/pinfo.vim ./syntax/doxygen.vim ./syntax/dtd.vim ./syntax/manconf.vim ./syntax/slpconf.vim ./syntax/denyhosts.vim ./spell/nl/nl_NL.diff ./spell/en/en_NZ.diff ./spell/de/de_19.diff ./ftplugin/ocaml.vim ./ftplugin/art.vim ./ftplugin/plaintex.vim ./ftplugin/abaqus.vim ./ftplugin/ada.vim ./ftplugin/zsh.vim ./ftplugin/csh.vim ./ftplugin/cobol.vim ./ftplugin/vhdl.vim ./ftplugin/xml.vim ./ftplugin/spec.vim ./ftplugin/verilog.vim ./ftplugin/eruby.vim ./ftplugin/html.vim ./ftplugin/hamster.vim ./ftplugin/fortran.vim ./ftplugin/php.vim ./ftplugin/falcon.vim ./ftplugin/postscr.vim ./ftplugin/tcl.vim ./ftplugin/framescript.vim ./ftplugin/lua.vim ./ftplugin/haml.vim ./ftplugin/sh.vim ./ftplugin/ishd.vim ./ftplugin/aspvbs.vim ./ftplugin/sql.vim ./ftplugin/vb.vim ./ftplugin/changelog.vim ./ftplugin/ruby.vim ./ftplugin/context.vim ./macros/matchit.vim