From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: why is site-lisp placed before the default load path? Date: Tue, 2 Aug 2016 16:47:58 -0400 Message-ID: References: <83bn1co33l.fsf@gnu.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113c882ac42a9a05391cd6a2 X-Trace: blaine.gmane.org 1470170936 1519 195.159.176.226 (2 Aug 2016 20:48:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2016 20:48:56 +0000 (UTC) Cc: Eli Zaretskii , Alex Dunn , emacs-devel To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 22:48:51 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 1bUgcI-0008Hj-6p for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2016 22:48:46 +0200 Original-Received: from localhost ([::1]:58976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUgcE-0003Jz-PY for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2016 16:48:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUgc9-0003J2-1M for emacs-devel@gnu.org; Tue, 02 Aug 2016 16:48:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUgc3-0003VQ-EL for emacs-devel@gnu.org; Tue, 02 Aug 2016 16:48:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUgc3-0003Ug-BD for emacs-devel@gnu.org; Tue, 02 Aug 2016 16:48:31 -0400 Original-Received: from mail-oi0-f53.google.com ([209.85.218.53]:34660) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bUgc1-0007ff-EU; Tue, 02 Aug 2016 16:48:29 -0400 Original-Received: by mail-oi0-f53.google.com with SMTP id l65so253720571oib.1; Tue, 02 Aug 2016 13:48:29 -0700 (PDT) X-Gm-Message-State: AEkoouu585W//fD+sz9UArP0ai4ci1ZRNrfxCXWsGnTpWR7QkRlJV2/qR7XUKo6ft5i5+dqz9Nx5s4AlmMBhiw== X-Received: by 10.157.10.22 with SMTP id 22mr9847307otg.131.1470170908598; Tue, 02 Aug 2016 13:48:28 -0700 (PDT) Original-Received: by 10.202.199.143 with HTTP; Tue, 2 Aug 2016 13:47:58 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: 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: 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:206370 Archived-At: --001a113c882ac42a9a05391cd6a2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Aug 2, 2016 at 4:07 PM, James Cloos wrote: > >>>>> "RW" =3D=3D Robert Weiner writes: > > RW> =E2=80=8BIf a package unintentionally shadows/overrides a standard/co= re Emacs > RW> library, then it is the package that is broken and needs to be fixed. > If > RW> instead the behavior is intentional then that is what the current > load-path > RW> order is designed to allow. > > The point is that if sub directories are nto automatically included, it i= s > easier to manage things. Especially when using one's dist's packaging. > =E2=80=8BI can see where you might have test subdirectories or others that = you would not want included in load-path. If you want to justify a change though, you should give one or more clear examples of where the default behavior is the major cause of a problem. =E2=80=8B > > I had to make substantial changes to my .emacs when the auto sub dirs > was added to fix all of the damage that caused. =E2=80=8BBe explicit. Don't just say damage. Give precise examples of wha= t happened and what was required to fix it so everyone can understand what you are talking=E2=80=8B =E2=80=8Babout. Bob =E2=80=8B --001a113c882ac42a9a05391cd6a2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Aug 2, 20= 16 at 4:07 PM, James Cloos <= cloos@jhcloos.com> wrote:
>>>>> "RW" =3D= =3D Robert Weiner <rsw@gnu.org> wr= ites:

RW> =E2=80=8BIf a package unintentionally shadows/overrides a standard/c= ore Emacs
RW> library, then it is the package that is broken and needs to be fixed= .=C2=A0 If
RW> instead the behavior is intentional then that is what the current lo= ad-path
RW> order is designed to allow.

The point is that if sub directories are nto automatically included, it is<= br> easier to=C2=A0 manage things.=C2=A0 Especially when using one's dist&#= 39;s packaging.

=E2=80=8BI c= an see where you might have test subdirectories or others that you would no= t want included in load-path.=C2=A0 If you want to justify a change though,= you should give one or more clear examples of where the default behavior i= s the major cause of a problem.
=E2=80=8B
= =C2=A0

I had to make substantial changes to my .emacs when the auto sub dirs
was added to fix all of the damage that caused.

=
=E2=80=8BBe explicit.=C2=A0 Don't just say damage.=C2= =A0 Give precise examples of what happened and what was required to fix it = so everyone can understand what you are talking=E2=80=8B
=C2=A0
=E2=80=8Babout.

Bob
=E2=80=8B
--001a113c882ac42a9a05391cd6a2--