Bug#916056: dpkg-dev: dpkg-mergechangelogs strips vim modelines etc

2018-12-09 Thread Guillem Jover
Hi! On Sun, 2018-12-09 at 18:16:52 +0100, Chris Lamb wrote: > Package: dpkg > Version: 1.19.2 > Severity: normal > The dpkg-mergechangelogs utility strips vim modelines (etc). I > discovered this in lintian which has a trailing "vim: et" at the end > of the file. > > This is, of course, caused

Bug#916056: dpkg-dev: dpkg-mergechangelogs strips vim modelines etc

2018-12-09 Thread Chris Lamb
Dear Guillem, > This was documented as the expected outcome in the man page, but it > seems indeed suboptimal. … I also did not somehow manage to scroll/read that far! > + # Save any trailing Emacs variables at end of file. > + $self->set_unparsed_tail("$_\n" . (file_slurp($fh) // ''));

Bug#916056: dpkg-dev: dpkg-mergechangelogs strips vim modelines etc

2018-12-09 Thread Chris Lamb
Package: dpkg Version: 1.19.2 Severity: normal Hi, The dpkg-mergechangelogs utility strips vim modelines (etc). I discovered this in lintian which has a trailing "vim: et" at the end of the file. This is, of course, caused by: } elsif (m/^vim:/io) { last; # skip Vim