From e3a354642abfd18c08c9110a1bfbc7c9a50cf8e1 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Sun, 21 Dec 2014 12:32:07 +0800 Subject: [PATCH] Fix version numbers for registry var updates * lisp/gnus-registry.el: Emacs version number for altered variables and options should have been 25.1. Obsolete variables still need to be defined. Improve custom type of `gnus-registry-default-sort-function'. * GNUS-NEWS: Note earlier change of default registry filename --- GNUS-NEWS | 3 +++ lisp/gnus-registry.el | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/GNUS-NEWS b/GNUS-NEWS index 16808af..777bc4c 100644 --- a/GNUS-NEWS +++ b/GNUS-NEWS @@ -9,6 +9,9 @@ For older news, see Gnus info node "New Features". * New features +** Default Gnus registry filename changed from "eioio" extension to + "eieio". + ** New package `gnus-notifications.el' can send notifications when you receive new messages. diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el index 92f8f04..098248b 100644 --- a/lisp/gnus-registry.el +++ b/lisp/gnus-registry.el @@ -171,12 +171,14 @@ nnmairix groups are specifically excluded because they are ephemeral." (defvar gnus-registry-misc-menus nil) ; ugly way to keep the menus +(defvar gnus-registry-max-pruned-entries) + (make-obsolete-variable 'gnus-registry-clean-empty nil "23.4") (make-obsolete-variable 'gnus-registry-use-long-group-names nil "23.4") (make-obsolete-variable 'gnus-registry-max-track-groups nil "23.4") (make-obsolete-variable 'gnus-registry-entry-caching nil "23.4") (make-obsolete-variable 'gnus-registry-trim-articles-without-groups nil "23.4") -(make-obsolete-variable 'gnus-registry-max-pruned-entries nil "24.4") +(make-obsolete-variable 'gnus-registry-max-pruned-entries nil "25.1") (defcustom gnus-registry-track-extra '(subject sender recipient) "Whether the registry should track extra data about a message. @@ -253,7 +255,7 @@ exactly how much less. For example, given a maximum size of cut the registry back to \(- 50000 \(* 50000 0.1\)\) -> 45000 entries. The pruning process is constrained by the presence of \"precious\" entries." - :version "24.4" + :version "25.1" :group 'gnus-registry :type 'float) @@ -265,9 +267,9 @@ Entries which sort to the front of the list will be pruned first. This can slow pruning down. Set to nil to perform no sorting." - :version "24.4" + :version "25.1" :group 'gnus-registry - :type 'symbol) + :type (choice (const :tag "No sorting" nil) function)) (defun gnus-registry-sort-by-creation-time (l r) "Sort older entries to front of list." -- 2.2.1