From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Recognizing obsolete external package versions Date: Mon, 13 Aug 2007 20:28:24 -0400 Message-ID: References: <87y7gfwye2.fsf@kfs-lx.testafd.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1187051180 10689 80.91.229.12 (14 Aug 2007 00:26:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2007 00:26:20 +0000 (UTC) Cc: rgm@gnu.org, emacs-devel@gnu.org To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 14 02:26:17 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IKkEh-00084E-Hh for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2007 02:26:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKkEg-0008JS-Si for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 20:26:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKkDU-0007iE-KK for emacs-devel@gnu.org; Mon, 13 Aug 2007 20:25:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKkDT-0007gi-87 for emacs-devel@gnu.org; Mon, 13 Aug 2007 20:25:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKkDS-0007gW-OW for emacs-devel@gnu.org; Mon, 13 Aug 2007 20:24:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IKkDS-00050m-H7 for emacs-devel@gnu.org; Mon, 13 Aug 2007 20:24:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IKkGm-00035i-FJ; Mon, 13 Aug 2007 20:28:24 -0400 In-reply-to: <87y7gfwye2.fsf@kfs-lx.testafd.dk> (storm@cua.dk) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:76484 Archived-At: > That code seems basically right > except that I would rather it avoid calling eval. > It should give the name of a variable, and the values that are bad. > IIRC, we discurage inclusion of version strings in packages. We discurage inclusion of version variables in packages that are part of Emacs. However, the use of this feature is for packages that are not part of Emacs. They normally do have version numbers. For the CUA-mode check, there is no such version variable ... instead, it is simply the presence of the `CUA-mode' feature which triggers the warning. That is a valid point. What method would you use to trigger the checking _before_ the load (even before reading the file)? It would need new code at the C level in Fload, I think.