Trent W. Buck <t...@cybersource.com.au> wrote:

> After posting, it occurred to me to leverage conf-colon-mode.
> This doesn't distinguish catch misspelt field names (such as
> "Descirption"), but otherwise seems adequate for my simple needs.
> 
> I'm currently trying this:
> 
> (add-to-list 'auto-mode-alist '("/quilt_header\\.......\\'" . 
> conf-colon-mode)) ; DEP-3
> (add-to-list 'auto-mode-alist 
> '("/debian/\\([^/]+\\.\\)?\\(dirs\\|docs\\|install\\|manpages\\)\\'" . 
> conf-mode))
> (add-to-list 'auto-mode-alist '("/debian/copyright\\'" . conf-colon-mode)) ; 
> DEP-5
> (add-to-list 'auto-mode-alist '("/debian/patches/[^/]+\\'" . diff-mode)) ; 
> 3.0 (quilt).

For DEB5:

conf-colon-mode is a major-mode, so that is not really something we want
to do.  The best thing would have a list of valid once-only Fields
(Name:, Maintainer:, Source:, Discliamer), repeatable Fileds (Files:,
Copyright:, License:) and keywords (Apache, Artistic, BSD,...) that
would light up in a specific colour when spelled correctly.

Should this be implemented now?  I see that it is only a draft? 

-- 
Peter



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to