From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Can we add a check to see if user is using old or obsolete code? Date: 21 Feb 2003 01:35:47 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xfzqi4gik.fsf@kfs2.cua.dk> References: <5xfzqibr72.fsf@kfs2.cua.dk> <84n0kq7ia3.fsf@lucy.is.informatik.uni-duisburg.de> 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: main.gmane.org 1045784516 26783 80.91.224.249 (20 Feb 2003 23:41:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2003 23:41:56 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18m0JQ-0006ua-00 for ; Fri, 21 Feb 2003 00:41:08 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18m0X9-0006D9-00 for ; Fri, 21 Feb 2003 00:55:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18m0IA-00089p-01 for emacs-devel@quimby.gnus.org; Thu, 20 Feb 2003 18:39:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18m0Gt-0007Au-00 for emacs-devel@gnu.org; Thu, 20 Feb 2003 18:38:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18m0GS-0006wR-00 for emacs-devel@gnu.org; Thu, 20 Feb 2003 18:38:05 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18m0F9-0006Mp-00 for emacs-devel@gnu.org; Thu, 20 Feb 2003 18:36:43 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 3497C7C017; Fri, 21 Feb 2003 00:36:42 +0100 (CET) Original-To: kai.grossjohann@uni-duisburg.de (=?iso-8859-1?q?Kai_Gro=DFjohann?=) In-Reply-To: <84n0kq7ia3.fsf@lucy.is.informatik.uni-duisburg.de> Original-Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11802 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11802 kai.grossjohann@uni-duisburg.de (Kai Gro=DFjohann) writes: > Actually, list-load-path-shadows is executed when you install Emacs. This requires that the conflicting files are named identically. The problem with CUA is that the old and new files have different names, and the file name has actually changed three times, so this is unfortunately not a viable option for CUA. Also, the shadowing may easily be introduced later if the user modifies the load-path in his own .emacs file. >=20 > IMHO it would be useful to make that output more prominent. >=20 > Doesn't Emacs include a versioned site-lisp directory in the > load-path by default? So the installation instructions could suggest > to use that for such cases. But it could be that the directory is in > load-path only for versions > 21.3. That only works if all existing users have installed the old cua package in those directories (provided they exist). Not something I would rely on. I now have a pretty good working solution for CUA based on eval-after-load. I'll install it shortly. --=20 Kim F. Storm http://www.cua.dk