Trent W\. Buck <[EMAIL PROTECTED]> wrote:

> Package: dpkg-dev-el
> Version: 29.0-1
> Severity: minor
> 
> I noticed the dh_installchangelogs manpage (debhelper 5.0.62) says:
> 
>     If files named debian/package.changelog exist, they will be used
>     in preference to debian/changelog.
> 
> This suggests to me that dpkg-dev-el-loaddefs.el should change:
> 
>     -(add-to-list 'auto-mode-alist '("/debian/changelog\\'" . 
> debian-changelog-mode))
>     +(add-to-list 'auto-mode-alist 
> '("/debian/\\([[:lower:][:digit:].+-]\\.\\)?changelog\\'" . 
> debian-changelog-mode))
> 
> and likewise 50dpkg-dev-el.el:
> 
>    -(modify-coding-system-alist 'file "/debian/changelog\\'" 'utf-8)
>    +(modify-coding-system-alist 'file 
> "/debian/\\([[:lower:][:digit:].+-]\\.\\)?changelog\\'" 'utf-8)

Thanks!

I had never seen the :lower: and :digit: in regexps before...

Peter

-- 
Peter S. Galbraith, Debian Developer          <[EMAIL PROTECTED]>
                                 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to