From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Stop fiddling with my preferences Date: Sun, 23 Nov 2014 17:25:54 +0000 (UTC) Message-ID: References: <831totswav.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1416763601 21342 80.91.229.3 (23 Nov 2014 17:26:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2014 17:26:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 23 18:26:36 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xsavj-0004rq-SY for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2014 18:26:36 +0100 Original-Received: from localhost ([::1]:49457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsavj-0007bj-Eh for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2014 12:26:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsavM-0007au-Ri for emacs-devel@gnu.org; Sun, 23 Nov 2014 12:26:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsavG-0006dh-F3 for emacs-devel@gnu.org; Sun, 23 Nov 2014 12:26:12 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsavG-0006dd-7Y for emacs-devel@gnu.org; Sun, 23 Nov 2014 12:26:06 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XsavE-0004Wk-8q for emacs-devel@gnu.org; Sun, 23 Nov 2014 18:26:04 +0100 Original-Received: from 128.90.14.58 ([128.90.14.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Nov 2014 18:26:04 +0100 Original-Received: from fabrice.popineau by 128.90.14.58 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Nov 2014 18:26:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 75 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 128.90.14.58 (Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178097 Archived-At: Eli Zaretskii gnu.org> writes: > > > Date: Sun, 23 Nov 2014 16:35:37 +0100 (CET) > > From: Roland Lutz hedmen.org> > > > > For the past few months, however, each time I upgraded to a new version of > > Emacs, something in the behavior changed. > > The time between Emacs releases is not measured in months, > unfortunately, but in years. > > > I had to figure out each time what it was that caused the change and > > how to compensate for it. This usually took me an hour or more > > since it isn't easily documented and most solutions suggested on the > > web have unwanted side-effects. > > Changes in user-visible behavior are documented in etc/NEWS, together > with the description of how to get back old behavior. If you find > some change that isn't documented like that, please report that as a > bug. > > > This sort of behavior changes is common among browsers and proprietary > > operating systems, but does this make it appropriate for Emacs? One of > > the reasons I'm using mature software is exactly that I *don't* have to be > > worried with each new version that ESC won't stop playing animated GIFs > > any more, etc. > > We change user-visible behavior in response to user demand, not > because Emacs is immature. User demands and expectations change with > time, and Emacs cannot stay with old defaults forever. > > > How about a command like (use-defaults VERSION)? > > From the menu bar, click Options->Customize Emacs->New Options, and > you will be able to see all the options that were added or changed > since some Emacs version. Nice command, but fails for me right now with Wrong type argument: stringp, (flycheck . "0.16") (emacs-repository-get-version) "f97a7d9a833044a828e0ce96ae3df600d613b359" in lisp/cus-edit.el : (let (found) (mapatoms (lambda (symbol) (let* ((package-version (get symbol 'custom-package-version)) (version (or (and package-version (customize-package-emacs-version symbol package-version)) (get symbol 'custom-version)))) (if version (when (customize-version-lessp since-version version) (if (or (get symbol 'custom-group) (get symbol 'group-documentation)) (push (list symbol 'custom-group) found)) (if (custom-variable-p symbol) (push (list symbol 'custom-variable) found)) (if (custom-facep symbol) (push (list symbol 'custom-face) found))))))) (get symbol 'custom-version) is not a fail safe value to pass to #'customize- version-lessp since it returns a cons where you need a string. The #'customize-version-lessp function tries to compare the former which is the package version (say for me, it fails with '(flycheck . "0.16") ) whith the latter which is "24.1" (the emacs since-version). This has to be fixed albeit I have no idea about the best way to do it. Fabrice