From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Incompatible change without "warning" Date: Tue, 03 May 2005 09:17:47 +0200 Message-ID: <85zmvckcbo.fsf@lola.goethe.zz> References: <16997.28602.876638.54728@farnswood.snap.net.nz> <16998.58339.710430.454702@farnswood.snap.net.nz> <17000.13278.865098.49756@farnswood.snap.net.nz> <17006.1736.406738.121947@farnswood.snap.net.nz> <20050430231856.CE9369F511@mirror.positive-internet.com> <17012.21023.433350.503716@farnswood.snap.net.nz> <17012.57973.677404.342871@farnswood.snap.net.nz> <17013.23443.440554.608805@farnswood.snap.net.nz> <858y2yulfp.fsf@lola.goethe.zz> <17014.45052.964670.675332@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115171427 11142 80.91.229.2 (4 May 2005 01:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 May 2005 01:50:27 +0000 (UTC) Cc: rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 04 03:50:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DT91S-00088K-8r for ged-emacs-devel@m.gmane.org; Wed, 04 May 2005 03:49:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DT98f-0002pF-Nb for ged-emacs-devel@m.gmane.org; Tue, 03 May 2005 21:57:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSrmK-00037l-NK for emacs-devel@gnu.org; Tue, 03 May 2005 03:25:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSrm6-00032O-AV for emacs-devel@gnu.org; Tue, 03 May 2005 03:24:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSrkg-00023r-KF for emacs-devel@gnu.org; Tue, 03 May 2005 03:23:30 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DSrkg-000872-JT for emacs-devel@gnu.org; Tue, 03 May 2005 03:23:30 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DSrfm-0007Nz-9x; Tue, 03 May 2005 03:18:27 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id CC1681C46517; Tue, 3 May 2005 09:17:47 +0200 (CEST) Original-To: Nick Roberts In-Reply-To: <17014.45052.964670.675332@farnswood.snap.net.nz> (Nick Roberts's message of "Tue, 3 May 2005 10:55:56 +1200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36630 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36630 Nick Roberts writes: > > > > Quite a lot with no timestamp. > > > > > > > > They might be obsolete since long long ago. What are they? > > > > > > desktop.el: desktop-enable > > > desktop-buffer-modes-to-save > > > desktop-buffer-misc-functions > > > desktop-buffer-handlers > > > desktop-load-default > > > > They are still the standard and only interface in Emacs 21.4. > > Some of these don't seem to be obsoleted correctly, in any case e.g the only > reference I can find to desktop-buffer-misc-functions is > > (make-obsolete-variable 'desktop-buffer-misc-functions > 'desktop-save-buffer) > > i.e desktop-buffer-misc-functions is no longer a variable in Emacs 22.0.50 > > Shall I replace these with, e.g.: > > (define-obsolete-variable-alias 'desktop-buffer-misc-functions > 'desktop-save-buffer "22.0") If I remember correctly, this is not going to cut it: I think I had to change preview-latex to use the new interface since the old interface was not supported at all any more. It was not just a matter of renaming variables: I also had to change other stuff. There is probably no sense in declaring a variable an obsolete alias if it does not even work! I think we should add a compatibility layer with the old interface (can't be much more than three lines or so) that we'll remove with 23.1 or so. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum