From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7665: Emacs: add command line option -L to set more paths toload-path Date: Fri, 17 Dec 2010 16:46:49 -0800 Message-ID: <2667D54DEB4D4555AD37D5709F87545E@us.oracle.com> References: <8739pw2srx.fsf@picasso.cante.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292635378 30414 80.91.229.12 (18 Dec 2010 01:22:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Dec 2010 01:22:58 +0000 (UTC) Cc: 7665@debbugs.gnu.org To: "'Stefan Monnier'" , "'Jari Aalto'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 18 02:22:54 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTlVb-0004tP-JX for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Dec 2010 02:22:51 +0100 Original-Received: from localhost ([127.0.0.1]:33378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTlVa-0007s0-Rd for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 20:22:50 -0500 Original-Received: from [140.186.70.92] (port=46255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTlVU-0007rP-K4 for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 20:22:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTlVT-0000fd-IJ for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 20:22:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTlVT-0000fZ-FG for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2010 20:22:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PTkww-0003ZD-0g; Fri, 17 Dec 2010 19:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Dec 2010 00:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7665-submit@debbugs.gnu.org id=B7665.129263316713641 (code B ref 7665); Sat, 18 Dec 2010 00:47:01 +0000 Original-Received: (at 7665) by debbugs.gnu.org; 18 Dec 2010 00:46:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTkw3-0003Xy-1f for submit@debbugs.gnu.org; Fri, 17 Dec 2010 19:46:07 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTkw1-0003XU-Cq for 7665@debbugs.gnu.org; Fri, 17 Dec 2010 19:46:05 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBI0qOUI020514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 18 Dec 2010 00:52:26 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBI0qNje000527; Sat, 18 Dec 2010 00:52:24 GMT Original-Received: from abhmt001.oracle.com by acsmt354.oracle.com with ESMTP id 864651111292633210; Fri, 17 Dec 2010 16:46:50 -0800 Original-Received: from dradamslap1 (/10.159.217.191) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 17 Dec 2010 16:46:50 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcueOQhQt47UTJf9TzqLxOFmq4yDnAAE4zcg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Dec 2010 19:47:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42615 Archived-At: > > An example: > > emacs -L ~/elisp/package -L ~/.emacs.d/downloaded -l my-test.el > > I don't understand this example: why ~/elisp/package and > ~/.emacs.d/downloaded? What are these directories and how are they > related to my-test.el? I shouldn't try to speak for Jari, but since I seconded the idea... This is what I understood: -L means add its arg to `load-path' -l means load my-test.el (processing the `load-path' in the normal way). -L's action would be done before -l's. Presumably the -L's would be processed in order. The example given is only that: an example. Nothing special about the directories used in the example. Again, Jari might have had something different in mind, but that's what I imagined.