Your message dated Sat, 12 Oct 2019 03:07:48 +0000
with message-id <[email protected]>
and subject line Bug#939369: fixed in vim 2:8.1.2136-1
has caused the Debian Bug report #939369,
regarding vim: bash wrong auto indentation
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.)


-- 
939369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939369
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim
Version: 2:8.1.0875-5
Severity: normal

Hello,

Since last update (vim 8.1.1401), the auto indentation function (gg=G) is
acting weirdly with bash scripts.

A quick example

#!/bin/bash

if [[ $test1 == 1 ]]; then
  echo $test1
  while read myvar; do
    if [[ $myvar == 2 ]]; then
      echo $myvar
      if [[ $myvar == 3 ]]; then
        echo $myvar
      fi
      fi
    done < <(cat testfile)
      fi


When everything is fine under stretch (vim 8.0.707)

#!/bin/bash

if [[ $test1 == 1 ]]; then
  echo $test1
  while read myvar; do
    if [[ $myvar == 2 ]]; then
      echo $myvar
      if [[ $myvar == 3 ]]; then
        echo $myvar
      fi
    fi
  done < <(cat testfile)
fi



-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.basic
/usr/bin/vim is /usr/bin/vim.basic

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim depends on:
ii  libacl1      2.2.53-4
ii  libc6        2.28-10
ii  libgpm2      1.20.7-5+b1
ii  libselinux1  2.9-2+b2
ii  libtinfo6    6.1+20190803-1
ii  vim-common   2:8.1.0875-5
ii  vim-runtime  2:8.1.0875-5

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.1.2136-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: Fri, 11 Oct 2019 21:37:58 -0400
Source: vim
Architecture: source
Version: 2:8.1.2136-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 375989 917859 918672 930576 932894 939369
Changes:
 vim (2:8.1.2136-1) unstable; urgency=medium
 .
   * Merge upstream patch v8.1.2136
     + Farsi support was removed
     + syntax/debcontrol.vim: Recognize "Files-Excluded(-<component>)" fields
       (Closes: #932894)
     + Swap files are automatically deleted if the file was unmodified and the
       process which generated the swap file isn't running.  (Closes: #375989)
     + Fix incorrect over-indenting when auto-indent is enabled for XML files.
       (Closes: #918672)
     + Fix indentation of bash scripts with nested if blocks.  (Closes:
       #939369)
     + New popup window support, via the "popup_*()" APIs
     + New sound support, via the "sound_*()" APIs
     + "localmap", "visual", "visualextra", "visualedit", "user_commands",
       "multi_byte", "cmdline_compl", "insert_expand", "modify_fname",
       and "comments" features are now always enabled.
     + Fix test_compiler.vim failure when locale isn't available.  (Closes:
       #917859)
   * control:
     + Remove obsolete versioned Build-Depends on dpkg-dev
   * rules:
     + Use dh_install --list-missing
   * Turn vim-gtk into a transitional package to vim-gtk3  (Closes: #930576
     since the IA__gdk_drawable_get_size assertions don't happen in the GTK3
     build)
   * Declare compliance with Policy 4.4.1, no changes needed
   * Move /usr/bin/vim.* into /usr/libexec/vim/
   * autopkgtest:
     + Mark the "$variant --version" tests superficial
     + Add new tests which run the build time tests against the installed
       binary/runtime.  Mark it flaky for now, since there are some tests which
       are more prone to fail in the LXC environment.
     + Run autopkgtests as a dedicated user, to avoid false negative failures
       with upstream tests which check permissions
Checksums-Sha1:
 57e20485f28e8ecb34cb023a9f5b6f73d3b43ced 2898 vim_8.1.2136-1.dsc
 d8f8a81ee3c1e7278909a8ddbf75534aecbe81a1 14504875 vim_8.1.2136.orig.tar.gz
 db2d4721e447edb0cc9141d68ab682ec866b22b6 193144 vim_8.1.2136-1.debian.tar.xz
 66b567c9c2d8986cf2a48232083f4582daad7ff4 21871 vim_8.1.2136-1_amd64.buildinfo
Checksums-Sha256:
 03d445cf384116255e4fc0710e6ab00f838a3636ff5b0cf68e041d52791425d8 2898 
vim_8.1.2136-1.dsc
 cdd9deae782e88c774bd636435b4d91c1fd5b3d21bdc435fa8ae451c259118a5 14504875 
vim_8.1.2136.orig.tar.gz
 5386add2505d5f59d3a41912553b73ad73e32526c15ff410fc8250104f84471b 193144 
vim_8.1.2136-1.debian.tar.xz
 0592a15f64fdc9574c001616277fbf73d7d795b83d28d09e733d5b4d47740ff8 21871 
vim_8.1.2136-1_amd64.buildinfo
Files:
 b95793881357432d52dccec6160016f8 2898 editors optional vim_8.1.2136-1.dsc
 f7a01364c178deb63ff0485ed249764c 14504875 editors optional 
vim_8.1.2136.orig.tar.gz
 e74f8b5298e8fbd3f824bf91da65a43a 193144 editors optional 
vim_8.1.2136-1.debian.tar.xz
 ef0243f42fb807ac8d0937c17f230539 21871 editors optional 
vim_8.1.2136-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAl2hPItfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb
o9vrLhAAuaSammo9RyAHWK/peKY4bhnQIUkKX6j64AlwDFqUl1GNhJdId2yvuKhH
4M5C1cLRwXSfqiwbVwSXNd29G6IEwR9tM93FkHspwe+KDkG2FSPdrkLbUktULR//
3mNODBEW781TR5VXzOg1R3qqVNDClGi8LXqAhRDWPv62QEC0wNHWJ5xSH6ds1ReF
9wf0y4jp1PpGjELg92f+J7JWWIo074MWf+blmBux6RA+n5ZsxBmyw26QBkGbhEpj
rFgaq3Bd1mRt1MtErMDPCD3U0lbJb2atyvVP09g0ZSfDUEx9l7IEo8tnd/FrGrw+
yadj9SNTp293AVbI/hf3otDKqWmi9JzXBPic+1RGoNx7Zom9awBN6z94Y31i8/Sa
Y1fx1hUiERWR3Xh6ADSXpRxzNsnkjbC5zm7f9izsKWSlrdsljnzIawpYiwQsz7Wa
Ibg5YxyFSjrLZ+SVD+D11J1wU7tqx/wT+Qr0Z2ZObD1BrcJdKS+x8SEpGBhcoeUc
UUmH1pX0/7UcfyfJIY05V1oMTakT8a4dsa1N0kMOw0tQjhGCjWsJ7xu40r2F+bew
LDyI8zkaZvWjiAF9Ds5RoPdQjq33DpK8jOGlJopL+SEU0AkDC96dBHDV3iukMBet
h4x3XExXgYEL5prikFyoCoy5zKwH1yCZTbcBVtN8HxslFSIa/Do=
=E8MH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to