From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Updating Elisp files while Emacs is running Date: Mon, 14 Mar 2016 20:55:56 +0200 Message-ID: <834mc8dh37.fsf@gnu.org> References: <83wpp5c8er.fsf@gnu.org> <83egbdc4vr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457981808 20879 80.91.229.3 (14 Mar 2016 18:56:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 18:56:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 14 19:56:43 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1afXfV-0002uL-8G for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2016 19:56:41 +0100 Original-Received: from localhost ([::1]:43479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXfU-00012g-Pi for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2016 14:56:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXfI-00012N-EI for help-gnu-emacs@gnu.org; Mon, 14 Mar 2016 14:56:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afXfD-0006sc-PN for help-gnu-emacs@gnu.org; Mon, 14 Mar 2016 14:56:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXfD-0006sX-MU for help-gnu-emacs@gnu.org; Mon, 14 Mar 2016 14:56:23 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2810 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1afXfC-0003g0-QP for help-gnu-emacs@gnu.org; Mon, 14 Mar 2016 14:56:23 -0400 In-reply-to: (message from Philipp Stephani on Mon, 14 Mar 2016 18:44:49 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109578 Archived-At: > From: Philipp Stephani > Date: Mon, 14 Mar 2016 18:44:49 +0000 > > AFAIK, if you put files into site-lisp, they will shadow those in the > versioned lisp directory (because site-lisp is earlier on load-path). > > Or I could just overwrite the paths in configure.ac to not include a version number. What I'd suggest would be > to introduce a configure option to do just this. What for? We already have environment variables that you can use to do the same without changing the build. > Or are there any problems with changing these paths? I don't understand why you don't want to use site-lisp, which was invented for that very purpose (among other things). But that's me. > I hope the same happens with ELPA, but I don't really know. > > The problem with ELPA is different: the subdirectories of the package directories are documented to always > include the version number > (https://www.gnu.org/software/emacs/manual/html_node/emacs/Package-Files.html). From looking at the > code I don't think that's actually a hard requirement, but I'd rather not rely on undocumented behavior. Then I guess there's something missing in how ELPA packages are deployed.