Package: dpkg-dev-el
Version: 34.1
Severity: minor
File: /usr/share/emacs/site-lisp/dpkg-dev-el/debian-changelog-mode.el

In my emacs, (Closes: #123456) has a cyan "Closes", but the bug number
changed from red to white some time ago.  Investigating, I find that

    debian-changelog-warning-face

has all attributes set to "unspecified".  If I manually re-evaluate
its definition:

    (cond
     ((and (fboundp 'facep)
           (facep 'font-lock-warning-face))
      (copy-face 'font-lock-warning-face 'debian-changelog-warning-face))
     ((fboundp 'defface)
      (defface debian-changelog-warning-face
        '((((class grayscale)(background light))(:foreground "DimGray" :bold t))
          (((class grayscale)(background dark))(:foreground "LightGray" :bold 
t))
          (((class color)(background light))(:foreground "red" :bold t ))
          (((class color)(background dark))(:foreground "red" :bold t ))
          (t (:bold t)))
        "Face for debian-changelog important strings."
        :group 'debian-changelog-faces))
     (t
      ;;; XEmacs19:
      (make-face 'debian-changelog-warning-face
                 "Face to use for important keywords.in debian-changelog-mode")
      (make-face-bold 'debian-changelog-warning-face)
      ;; XEmacs uses a tag-list thingy to determine if we are using color
      ;;  or mono (and I assume a dark background).
      (set-face-foreground 'debian-changelog-warning-face
                           "red" 'global nil 'append)))

...then the first clause succeeds and the bug number immediately
becomes red.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev-el depends on:
ii  debian-el                     34.1       Emacs helpers specific to Debian u
ii  emacs [emacsen]               23.2+1-2   The GNU Emacs editor (metapackage)
ii  emacs23-nox [emacsen]         23.2+1-2   The GNU Emacs editor (without X su

Versions of packages dpkg-dev-el recommends:
ii  wget                          1.12-2     retrieves files from the web

Versions of packages dpkg-dev-el suggests:
ii  dpkg-dev                      1.15.7.2   Debian package development tools

-- no debconf information



-- 
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