Re: Another changelog rant
Roland Mas wrote:
> zhaoway (2001-07-18 14:43:19 +0800) :
>
> > Some packages ship changelogs with broken Emacs Local Variables at the
> > bottom. Ie
> >
> > Local variables:
> > mode: debian-changelog
> > add-log-mailing-address: "xxx@xxx.xxx"
> > End:
> >
> > It's nice for us to fix it. To delete that block totally is also OK
> > since nobody seems to really need it. (Even Emacs itself has better
> > work around.)
>
> Recent debian-changelog-mode.el's have code to remove this block. In
> case you wonder where this file is now that it's no longer in
> dpkg-dev, apt-get install dpkg-dev-el.
Actually, debian-changelog-mode.el offers to delete the whole
block if the package is not Debian-native.
If the package is Debian-native, it offers to delete the
add-log-mailing-address entry (an entry used to be such a
nuisance for NMUs that the mode doesn't even use it anymore).
The "mode: debian-changelog" line is still useful for Debian
native packages because the mode gets invoked properly when you
edit an installed log file, e.g. /usr/share/doc/debiandoc-sgml/changelog.gz
(It's not named changelog.Debian.gz so we can't autoload based on
the name)
Peter
Reply to: