Package: emacs-goodies-el
Version: 35.12
Severity: normal
Tags: patch

Hi,
the proposed-update suites currently do not get highlighted and can't be
switched to in the menu. Attached patch fixes this.

Just since there wasn't an upload since 2014: I'm happy to NMU with this
patch applied.

Cheers,
 -- Guido


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs-goodies-el depends on:
ii  bash               4.3-14+b1
ii  dpkg               1.18.4
ii  emacs              46.1
ii  emacs24 [emacsen]  24.5+1-6+b1
ii  install-info       6.0.0.dfsg.1-4

Versions of packages emacs-goodies-el recommends:
ii  dict      1.12.1+dfsg-3
ii  perl-doc  5.22.1-7
ii  wget      1.17.1-1+b1

emacs-goodies-el suggests no packages.

-- no debconf information
>From 51014c75ee25490c65a9f8210c42c5539aba622d Mon Sep 17 00:00:00 2001
Message-Id: <51014c75ee25490c65a9f8210c42c5539aba622d.1457803233.git....@sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
Date: Sat, 12 Mar 2016 18:20:07 +0100
Subject: [PATCH] debian-changelog: handle {old,}stable-proposed-updates as
 well

---
 elisp/dpkg-dev-el/debian-changelog-mode.el | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/elisp/dpkg-dev-el/debian-changelog-mode.el b/elisp/dpkg-dev-el/debian-changelog-mode.el
index e5c045c..c1b32ba 100644
--- a/elisp/dpkg-dev-el/debian-changelog-mode.el
+++ b/elisp/dpkg-dev-el/debian-changelog-mode.el
@@ -394,7 +394,9 @@ This defaults to the value of (in order of precedence):
     "testing-security"
     "stable" 
     "stable-security" 
+    "stable-proposed-updates"
     "oldstable-security" 
+    "oldstable-proposed-updates"
     "experimental" 
     "UNRELEASED" )
   "*Allowed values for distribution."
@@ -701,7 +703,10 @@ Upload to " val  " anyway?")))
     ("--")
     ["stable" (debian-changelog-setdistribution "stable") t]
     ["stable-security" (debian-changelog-setdistribution "stable-security") t]
+    ["stable-proposed-updates" (debian-changelog-setdistribution "stable-proposed-updates") t]
+    ("--")
     ["oldstable-security" (debian-changelog-setdistribution "oldstable-security") t]
+    ["oldstable-proposed-updates" (debian-changelog-setdistribution "oldstable-proposed-updates") t]
     ("--")
     ["experimental" (debian-changelog-setdistribution "experimental") t]
     ["UNRELEASED" (debian-changelog-setdistribution "UNRELEASED") t])
@@ -752,7 +757,10 @@ Upload to " val  " anyway?")))
     ("--")
     ["stable" (debian-changelog-setdistribution "stable") t]
     ["stable-security" (debian-changelog-setdistribution "stable-security") t]
+    ["stable-proposed-updates" (debian-changelog-setdistribution "stable-proposed-updates") t]
+    ("--")
     ["oldstable-security" (debian-changelog-setdistribution "oldstable-security") t]
+    ["oldstable-proposed-updates" (debian-changelog-setdistribution "oldstable-proposed-updates") t]
     ("--")
     ["experimental" (debian-changelog-setdistribution "experimental") t]
     ["UNRELEASED" (debian-changelog-setdistribution "UNRELEASED") t])
@@ -1567,7 +1575,7 @@ match 1 -> package name
     t))
 
 (defun debian-changelog-fontify-stable (limit)
-  (when (re-search-forward "^\\sw.* (.+).* \\(\\(old\\)?stable\\(-security\\)?\\)" limit t)
+  (when (re-search-forward "^\\sw.* (.+).* \\(\\(old\\)?stable\\(-security\\|-proposed-updates\\)?\\)" limit t)
     (store-match-data
      (list (match-beginning 1)(match-end 1)))
     t))
-- 
2.7.0

Reply via email to