From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Can we add a check to see if user is using old or obsolete code? Date: Fri, 21 Feb 2003 17:41:57 +0100 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84heaxy4a2.fsf@lucy.is.informatik.uni-duisburg.de> References: <5xfzqibr72.fsf@kfs2.cua.dk> <84n0kq7ia3.fsf@lucy.is.informatik.uni-duisburg.de> <5xfzqi4gik.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1045847480 22255 80.91.224.249 (21 Feb 2003 17:11:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Feb 2003 17:11:20 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18mGhi-0005mj-00 for ; Fri, 21 Feb 2003 18:11:18 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18mGvo-0007Xx-00 for ; Fri, 21 Feb 2003 18:25:52 +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 18mGgt-0008B5-01 for emacs-devel@quimby.gnus.org; Fri, 21 Feb 2003 12:10:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18mGek-000706-00 for emacs-devel@gnu.org; Fri, 21 Feb 2003 12:08:14 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18mGaG-0005Ym-00 for emacs-devel@gnu.org; Fri, 21 Feb 2003 12:03:39 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18mGYl-0005H8-00 for emacs-devel@gnu.org; Fri, 21 Feb 2003 12:02:03 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18mGXe-00050t-00 for ; Fri, 21 Feb 2003 18:00:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18mGG6-0003EQ-00 for ; Fri, 21 Feb 2003 17:42:46 +0100 Original-Lines: 38 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 Cancel-Lock: sha1:8XONbqzPWAD0JBmrEZa0Bp6XRR4= 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:11821 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11821 storm@cua.dk (Kim F. Storm) writes: > kai.grossjohann@uni-duisburg.de (Kai Großjohann) 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. Ayee! I'm sorry. As you can see, I know very little about CUA. (But I like it :-) > Also, the shadowing may easily be introduced later if the user > modifies the load-path in his own .emacs file. Sure. But that's true for other packages, too. >> IMHO it would be useful to make that output more prominent. >> >> 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. Of course. I meant it as an additional suggestion. > I now have a pretty good working solution for CUA based on > eval-after-load. I'll install it shortly. Very good. Sorry for the line-noise. -- A preposition is not a good thing to end a sentence with.