From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master d20acfe: Fix Gnus registry pruning and sorting, and rename file
Date: Thu, 25 Dec 2014 12:27:40 +0800 [thread overview]
Message-ID: <87a92cz743.fsf@ericabrahamsen.net> (raw)
In-Reply-To: m2h9wl9i75.fsf@lifelogs.com
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Wed, 24 Dec 2014 22:35:16 +0800 Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>
> EA> Okay, just to continue being deliberately dumb about this: the change is
> EA> already in lisp/ChangeLog, but not in the top-level ChangeLog, and the
> EA> patch I sent in already adds a brief mention in GNUS_NEWS. So do I also
> EA> want to put it in top-level ChangeLog?
>
> Think of the ChangeLog as a restatement of the commit. So in this case,
> add a new entry to the ChangeLog even though you're not adding new
> features. Just say what you did ("Add version" etc.) and I can adjust if
> needed, but it should be part of the patch to make life easier for
> committers.
>
> I think you also want to update the GNUS-NEWS ChangeLog, likewise.
Okay, this should be it. Sorry for all the questions!
Eric
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-version-numbers-for-registry-var-updates.patch --]
[-- Type: text/x-diff, Size: 3306 bytes --]
From c52b8af5e0c577e73a90911ab0a5622a9f3a669a Mon Sep 17 00:00:00 2001
From: Eric Abrahamsen <eric@ericabrahamsen.net>
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. There's no need to keep
`make-obsolete-variable' statements around for nonexistent
variables. Improve custom type of
`gnus-registry-default-sort-function'.
* GNUS-NEWS: Note earlier change of default registry filename
* ChangeLog: Note change of default registry filename, and squashing
of pruning bug in af0fe49.
---
ChangeLog | 6 ++++++
GNUS-NEWS | 3 +++
lisp/gnus-registry.el | 13 +++----------
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5f41b90..76bc47e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-12-25 Eric Abrahamsen <eric@ericabrahamsen.net>
+
+ * lisp/gnus-registry.el: Change default extension of registry data file
+ from "eioio" to "eieio". Fix bug leading to potential deletion of
+ "precious" registry entries.
+
2014-06-11 Katsumi Yamaoka <yamaoka@jpl.org>
* configure.in: Add --without-compress-install option; check for gzip.
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".
\f
* 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..5038781 100644
--- a/lisp/gnus-registry.el
+++ b/lisp/gnus-registry.el
@@ -171,13 +171,6 @@ nnmairix groups are specifically excluded because they are ephemeral."
(defvar gnus-registry-misc-menus nil) ; ugly way to keep the menus
-(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")
-
(defcustom gnus-registry-track-extra '(subject sender recipient)
"Whether the registry should track extra data about a message.
The subject, recipients (To: and Cc:), and Sender (From:) headers
@@ -253,7 +246,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 +258,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
prev parent reply other threads:[~2014-12-25 4:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20141218112235.14020.81034@vcs.savannah.gnu.org>
[not found] ` <E1Y1ZAB-0003ek-Vw@vcs.savannah.gnu.org>
2014-12-18 14:33 ` master d20acfe: Fix Gnus registry pruning and sorting, and rename file Dmitry Gutov
2014-12-18 15:26 ` Eric Abrahamsen
2014-12-18 15:35 ` Andreas Schwab
2014-12-18 21:03 ` Paul Eggert
2014-12-19 1:41 ` Ted Zlatanov
2014-12-19 1:55 ` Eric Abrahamsen
2014-12-18 23:11 ` Katsumi Yamaoka
2014-12-19 7:39 ` [Emacs-diffs] " Glenn Morris
2014-12-19 12:18 ` Eric Abrahamsen
2014-12-20 11:19 ` Ted Zlatanov
2014-12-21 4:39 ` Eric Abrahamsen
2014-12-21 14:30 ` Stefan Monnier
2014-12-24 12:44 ` Ted Zlatanov
2014-12-24 12:46 ` Ted Zlatanov
2014-12-24 14:35 ` Eric Abrahamsen
2014-12-24 15:32 ` Ted Zlatanov
2014-12-25 4:27 ` Eric Abrahamsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a92cz743.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.