From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: argument names for define-obsolete-*-alias Date: Mon, 13 Jun 2005 01:30:12 +0200 Message-ID: Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118619165 31566 80.91.229.2 (12 Jun 2005 23:32:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 23:32:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 01:32:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhbwQ-0000Fp-I7 for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 01:32:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhc16-000353-FU for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 19:37:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhbzX-00029k-FL for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:35:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhbzQ-00026i-GE for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:35:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhbzP-00023Y-Oc for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:35:39 -0400 Original-Received: from [64.233.182.205] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dhbv4-0003xg-Ol for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:31:10 -0400 Original-Received: by nproxy.gmail.com with SMTP id i2so75673nfe for ; Sun, 12 Jun 2005 16:30:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=K0C5FgjXFK50AdMoXrwqw2lNc+umdUxL5JKNVV9z15v7vHqnPSDPfZowAKcO09ijZS0+G3o3VP2WALst6jJ74vQZ+FKdgRO7Z5eEjdIt3606cxYg9YfK+reD0ZaWsAXgqPFl7DABud4dRjh2Mpq5pM32rVrtrtu6miQzUBMBJ04= Original-Received: by 10.48.250.12 with SMTP id x12mr64406nfh; Sun, 12 Jun 2005 16:30:12 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Sun, 12 Jun 2005 16:30:12 -0700 (PDT) Original-To: emacs-devel@gnu.org Content-Disposition: inline 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:38678 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38678 Is everybody happy with the names of the `make-obsolete*' and `define-obsolete-*-alias' arguments? The alias being created is called FUNCTION or VARIABLE, and the symbol (or definition) being aliased, NEW. Now, I understand the rationale: NEW because it is the new, shinier name. However, and even knowing as I know that all defining functions and macros get the defined symbol as first argument, today I tried to use `define-obsolete-variable-name' and on first reading of the docstring I just put the arguments reversed. From the Emacs history POV, NEW is indeed newer; from the use case of define-obsolete*, however, NEW is "old" because it already exists. Wouldn't be better to use OBSOLETE and CURRENT (or MODERN), or ALIAS and ORIGINAL, or some other pair that best defines the relationship between the arguments? --=20 /L/e/k/t/u