From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: why is site-lisp placed before the default load path? Date: Tue, 02 Aug 2016 10:58:22 -0400 Message-ID: References: <83bn1co33l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1470495513 28841 195.159.176.226 (6 Aug 2016 14:58:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 14:58:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 06 16:58:29 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW31P-0004Zh-U3 for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 16:56:20 +0200 Original-Received: from localhost ([::1]:49657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW31M-0000Gk-Or for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 10:56:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW31H-0000Fi-BI for emacs-devel@gnu.org; Sat, 06 Aug 2016 10:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW319-0001Ku-OX for emacs-devel@gnu.org; Sat, 06 Aug 2016 10:56:06 -0400 Original-Received: from [195.159.176.226] (port=40286 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW319-0001KU-Hf for emacs-devel@gnu.org; Sat, 06 Aug 2016 10:56:03 -0400 Original-Received: from list by blaine with local (Exim 4.84_2) (envelope-from ) id 1bUb6r-0003ha-IM for emacs-devel@gnu.org; Tue, 02 Aug 2016 16:55:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Njlunuvr3lWe2Y5oeNmBqntPaz8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206446 Archived-At: >> Rocky could add 'realgud-' to the beginning of every elisp file in the >> application, > ​That would be much better and safer and more generally useful. Ever since CEDET was merged into Emacs, we've started to improve support for the situation where files are in subdirs which aren't themselves in load-path. So you can (require 'dir/file). There are still various problems with such situations but I think it's not a practice we should discourage. Stefan PS: Obviously, this didn't reach ELPA yet ;-)