From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: project.el semantics Date: Wed, 11 Nov 2015 03:55:11 -0600 Message-ID: <86vb98508w.fsf@stephe-leake.org> References: <86pp1j4ejm.fsf@stephe-leake.org> <86pp1ixem2.fsf@stephe-leake.org> <55FAFC36.5010506@yandex.ru> <86twqrww0u.fsf_-_@stephe-leake.org> <563EA9B9.5080404@yandex.ru> <86vb9dufs0.fsf@stephe-leake.org> <563F4915.1080008@yandex.ru> <867flrbksb.fsf@stephe-leake.org> <56409F2D.9060300@yandex.ru> <5641412B.8080106@yandex.ru> <564145FC.5020905@yandex.ru> <5641634C.9000409@yandex.ru> <5641CCCB.6050206@yandex.ru> <86h9kt777c.fsf@stephe-leake.org> <5642924D.80304@yandex.ru> <56429A5A.6050600@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447235807 16000 80.91.229.3 (11 Nov 2015 09:56:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2015 09:56:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 11 10:56:36 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZwS8A-0004d4-NL for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 10:55:54 +0100 Original-Received: from localhost ([::1]:38952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwS8A-00007U-04 for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 04:55:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwS7m-00007E-F7 for emacs-devel@gnu.org; Wed, 11 Nov 2015 04:55:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwS7j-0000xt-3W for emacs-devel@gnu.org; Wed, 11 Nov 2015 04:55:30 -0500 Original-Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:57225) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZwS7i-0000xe-TI for emacs-devel@gnu.org; Wed, 11 Nov 2015 04:55:27 -0500 Original-Received: (qmail 29976 invoked by uid 0); 11 Nov 2015 09:55:20 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy5.mail.unifiedlayer.com with SMTP; 11 Nov 2015 09:55:20 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id g9vH1r0042UdiVW019vLA3; Wed, 11 Nov 2015 02:55:20 -0700 X-Authority-Analysis: v=2.1 cv=IekUBwaa c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=qtqOOiqGOCEA:10 a=vaJtXVxTAAAA:8 a=hWSSJyO4txJFRixRTsIA:9 Original-Received: from [76.218.37.33] (port=57421 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZwS7Y-00012G-UU; Wed, 11 Nov 2015 02:55:17 -0700 In-Reply-To: <56429A5A.6050600@yandex.ru> (Dmitry Gutov's message of "Wed, 11 Nov 2015 03:31:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 67.222.38.55 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194044 Archived-At: Dmitry Gutov writes: > project vs libraries. Or, "files we own and edit" vs "files we > sometimes want to look at" (and maybe edit during debugging). Those are conflicting criteria, so you are proving my point. As an example, you define project-library-roots for elisp to include _all_ of load-path (see the recently added function `elisp-library-roots'). On a user machine (not a developer machine), a lot of load-path is treated as read-only. But some is not. So why is it in project-library-roots? The obvious answer is "because there is no way to tell which subset of load-path is treated as user-editable". Note that "owned by the user" is not enough; ELPA packages are not editable, but they are in ~/.emacs.d/elpa, owned by the user. And a user may have installed Emacs in their own directory tree. Which is precisely my point; there is no good way to decide whether a directory belongs in project-roots or project-library-roots. -- -- Stephe