From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: trailing whitespace in calendar Date: Wed, 1 Feb 2017 08:40:11 -0800 (PST) Message-ID: References: <87r33ibthr.fsf@gmail.com> <87y3xqclj7.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1485967257 24830 195.159.176.226 (1 Feb 2017 16:40:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2017 16:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 17:40:53 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYxxk-0006Gl-1L for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2017 17:40:52 +0100 Original-Received: from localhost ([::1]:51922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYxxp-0007i4-4T for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2017 11:40:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYxxF-0007ho-CN for help-gnu-emacs@gnu.org; Wed, 01 Feb 2017 11:40:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYxxB-0006eD-Cb for help-gnu-emacs@gnu.org; Wed, 01 Feb 2017 11:40:21 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:44241) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYxxB-0006ds-3W for help-gnu-emacs@gnu.org; Wed, 01 Feb 2017 11:40:17 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v11GeExw024489 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 1 Feb 2017 16:40:14 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v11GeDOt017720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 1 Feb 2017 16:40:13 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v11GeCUR019248 for ; Wed, 1 Feb 2017 16:40:13 GMT In-Reply-To: <87y3xqclj7.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112231 Archived-At: > > (add-hook 'today-visible-calendar-hook ... >=20 > That hook got renamed to calendar-today-visible-hook Actually, it's not the problem that it was renamed. The problem is that the old name is no longer recognized. The option was renamed in Emacs 23, but Emacs remained smart enough and careful enough, through release 24.5, to continue to respect the old name as well. This respect (support) was removed in Emacs 25. Prior to Emacs 25, Emacs did the following just before the defcustom for the new name, `calendar-today-visible-hook': (define-obsolete-variable-alias 'today-visible-calendar-hook 'calendar-today-visible-hook "23.1") As `C-h f define-obsolete-variable-alias' says: If CURRENT-NAME is a defcustom ... then the define-obsolete-variable-alias statement should be evaluated before the defcustom, if user customizations are to be respected. IOW, `define-obsolete-variable-alias' is an easy way to warn users about a name change but also continue to support the old name. It was decided in Emacs 25 that this user customization (and others that were also deprecated in Emacs 23) is no longer to be respected. It is _good_ for users to use the new names. Whether it is good for them to be forced (silently) to use them is a different question. At any rate, that's the case now. It might be better perhaps if the warning, which tells you what the new name is, continued to be issued, even after support was discontinued. For example, after desupport the warning message could perhaps be changed to an error (raised when the old name is used), to let you know what the problem is. Then users like Luis would not need to wonder "Do you know why this is not working now?" Instead, Emacs just fails to recognize the old name now.