Hi! On Thu, 2017-03-23 at 20:30:54 -0400, Branden Robinson wrote: > Package: dpkg-dev > Version: 1.18.23 > Severity: wishlist > File: /usr/share/man/man5/deb-changelog.5.gz
> I believe that, as a general rule, all human-readable, human-editable, > machine-parseable file formats should support a comment syntax. > > Debian changelogs meet these criteria. My use case is simply this, at > the end of the file: > > # vim:set ai et sw=2 ts=2 tw=78: > > Fans of other editors can do similarly (and probably already do, outside > the spec just like me). The implementation in dpkg-dev already supports all of this (see man Dpkg::Changelog::Debian), including: ,--- debian/changelog --- # whatever source (1.0) release; urgency=normal # stuff * Entry. # comment -- Name <[email protected]> Sat, 25 Mar 2017 15:01:01 +0100 vim:set ai et sw=2 ts=2 tw=78: Anything after the vim modeline will be ignored. `--- So I guess your request would be to officialize (at least the proper comment markers ‘#’) as supported, in the spec. I'll probably mention this on the debian-policy mailing list, but I guess I should just do it (perhaps all the currently accepted syntax) because if someone wants to code an alternative implementation, they will have to replicate the logic, or it will be unable to parse existing changelogs. Also because dpkg can always be more lax than policy, and this is the case right here. Thanks, Guillem

