Your message dated Mon, 18 Dec 2017 03:49:13 +0000 with message-id <[email protected]> and subject line Bug#848663: fixed in vim 2:8.0.1401-1 has caused the Debian Bug report #848663, regarding vim: sh syntax highlighting of command substitution $() is wrong to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 848663: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848663 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: vim Version: 2:8.0.0095-1 Severity: normal Tags: patch Vim's currenr behaviour for syntax highlighting of shell scripts (with #!/bin/sh and /bin/sh pointing to dash) is to mark command substititions using the $(foo) construction as an error. This is incorrect, as POSIX sh alllows this construction. Because vim's syntaxt hightlighting script correctly identifies /bin/sh-->/bin/dash as a POSIX shell, and sets b:is_posix, ths fix is simple: --- sh.vim 2016-11-22 19:23:07.000000000 +0100 +++ /tmp/1 2016-12-19 11:51:16.151529633 +0100 @@ -291,7 +291,7 @@ " (ie. Posix compliant shell). /bin/ksh should work for those " systems too, however, so the following syntax will flag $(..) as " an Error under /bin/sh. By consensus of vimdev'ers! -if exists("b:is_kornshell") || exists("b:is_bash") +if exists("b:is_kornshell") || exists("b:is_bash") || exists("b:is_posix") syn region shCommandSub matchgroup=shCmdSubRegion start="\$(" skip='\\\\\|\\.' end=")" contains=@shCommandSubList syn region shArithmetic matchgroup=shArithRegion start="\$((" skip='\\\\\|\\.' end="))" contains=@shArithList syn region shArithmetic matchgroup=shArithRegion start="\$\[" skip='\\\\\|\\.' end="\]" contains=@shArithList -- Package-specific info: --- real paths of main Vim binaries --- /usr/bin/vi is /usr/bin/vim.gtk /usr/bin/vim is /usr/bin/vim.gtk /usr/bin/gvim is /usr/bin/vim.gtk -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages vim depends on: ii libacl1 2.2.52-3 ii libc6 2.24-8 ii libgpm2 1.20.4-6.2 ii libselinux1 2.6-3 ii libtinfo5 6.0+20161126-1 ii vim-common 2:8.0.0095-1 ii vim-runtime 2:8.0.0095-1 vim recommends no packages. Versions of packages vim suggests: pn ctags <none> pn vim-doc <none> pn vim-scripts <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: vim Source-Version: 2:8.0.1401-1 We believe that the bug you reported is fixed in the latest version of vim, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. James McCoy <[email protected]> (supplier of updated vim package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 17 Dec 2017 22:32:25 -0500 Source: vim Binary: vim-common vim-gui-common vim-runtime vim-doc vim-tiny vim vim-gtk vim-gtk3 vim-nox vim-athena vim-gnome xxd Architecture: source Version: 2:8.0.1401-1 Distribution: unstable Urgency: medium Maintainer: Debian Vim Maintainers <[email protected]> Changed-By: James McCoy <[email protected]> Description: vim - Vi IMproved - enhanced vi editor vim-athena - Vi IMproved - enhanced vi editor - with Athena GUI vim-common - Vi IMproved - Common files vim-doc - Vi IMproved - HTML documentation vim-gnome - Vi IMproved - enhanced vi editor (dummy package) vim-gtk - Vi IMproved - enhanced vi editor - with GTK2 GUI vim-gtk3 - Vi IMproved - enhanced vi editor - with GTK3 GUI vim-gui-common - Vi IMproved - Common GUI files vim-nox - Vi IMproved - enhanced vi editor - with scripting languages suppo vim-runtime - Vi IMproved - Runtime files vim-tiny - Vi IMproved - enhanced vi editor - compact version xxd - tool to make (or reverse) a hex dump Closes: 761064 848663 883422 884495 Changes: vim (2:8.0.1401-1) unstable; urgency=medium . [ upstream ] * syntax/sh.vim: + Fix syntax highlighting of $() when the /bin/sh is detected as POSIX-compliant. (Closes: #848663) + Correctly highlight escaped single-quotes inside test expressions. (Closes: #761064) . [ James McCoy ] * runtime/debian.vim: + Fix mechanism used to check for <S-Insert> mappings, since maparg() doesn't understand multiple modes in the {mode} argument. Thanks to Sergey Vlasov for the patch! (Closes: #883422) * syntax/debcontrol.vim: + Fix highlighting of "Section: javascript" … again. (Closes: #884495) Checksums-Sha1: ec1026b5ab614c0a1d8fe2c1505388290308f18c 2990 vim_8.0.1401-1.dsc d74136603959a88a5b197c56ebad018c55adccc4 13411676 vim_8.0.1401.orig.tar.gz 3e2ca6ef0fc7da21ad143a37a98045cb64ec4bc5 178892 vim_8.0.1401-1.debian.tar.xz 6cf56069c3e49b269c2d036b612c46c8dfc6399e 21305 vim_8.0.1401-1_amd64.buildinfo Checksums-Sha256: 3463804a81fafaae4d16542cad270e47ddfdea557821860795c514faedcf37ac 2990 vim_8.0.1401-1.dsc 75c4971d32753bb358d79e5e21a1cc6f8970bf067d583751097f668ada2355ec 13411676 vim_8.0.1401.orig.tar.gz 074b5830eb76e755476612393fd487fe97c0486abbf7b04c32cb3b52fe5303bd 178892 vim_8.0.1401-1.debian.tar.xz 4a9671b1d0fff414aedc971871f706f672f1d0b6fc3fafd566bd0f2b324b56a0 21305 vim_8.0.1401-1_amd64.buildinfo Files: 2d2b6a30903c29aaff018c2b48aa021c 2990 editors optional vim_8.0.1401-1.dsc 8ce79bf077ee41a3a7d25bda9918dc00 13411676 editors optional vim_8.0.1401.orig.tar.gz d388f12688abb9106c12d98255c267f2 178892 editors optional vim_8.0.1401-1.debian.tar.xz a15b10592f86f6f4006b1624f07d6052 21305 editors optional vim_8.0.1401-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlo3OSRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb o9t63xAAvO/2n4bECZnXM52BbGMamDO24KiryJ2lo5YtElia0qz82TYb1j/ch2Qm AiRkYxtiNqTOD8zphbNtIc+eKjEeWOZv+pSTM4CddPuXS+EFcHFlwzLGcPIQ7nzI 24x+Y8/rBfyeMXq398Kj2NRWmylOAXascuVbnossFoEKGnwUwcUXaDdyDakx/BAk J+S8rKfh7pjgdc5w8cCcZmRzRa5ExnmU468/SYEvxLE0Y02ozpzY2V3EjECvawTs J8YT8ijI2Z9UgHmTPoQglgvsz/wTRM89lPum+6TXegjdR8d2di7cBmUVLP099yJJ jOeFDobf6yP0hiQGpk0siD5wS/7MojAi3DXoBXEuvT3QHdiPp13EMHZepXoJJQCT QvVl/Ls8M49ChycPAswGYjsdBGYLZ59HAX9qLvKmpJrbZXksgUSx42zI8wLzdGOW yOt6f4eboIwVsUTo818YwN7cX+p/ZL8noHqLv2BVFztfgpA9WGqvVrhh3CXzZUK5 AhSIfxPtth2SquGSsUYSkuLz8WN1eJr/0f6Z8t6XaLsxvJfe1flCn8CNpWHJM2N/ G49scNFmRqmyoA+ABrexp+wUn2ZXNaN2MxfQ6RKurO5Oly1GERBF9afZQ/DFMj/C HNZ8j9wURDy3Cj8W6jUK5DjBQo7YuNPIi6m7vKKouqgU5t2/DNw= =9aLE -----END PGP SIGNATURE-----
--- End Message ---

