From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: for loading own lisp functions, if some in separated files, automatically Date: Wed, 15 Jul 2009 02:10:12 +0200 Message-ID: References: <1247499249.814312@news.aic.at> <1247593396.497447@news.aic.at> <4a5d0f26$0$48241$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247616658 30479 80.91.229.12 (15 Jul 2009 00:10:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jul 2009 00:10:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Colin S. Miller Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 15 02:10:52 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQs5C-0002Zw-Oi for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 02:10:51 +0200 Original-Received: from localhost ([127.0.0.1]:58900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQs5C-0004Dk-4a for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 20:10:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQs4k-00048y-9D for help-gnu-emacs@gnu.org; Tue, 14 Jul 2009 20:10:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQs4f-00046j-FG for help-gnu-emacs@gnu.org; Tue, 14 Jul 2009 20:10:21 -0400 Original-Received: from [199.232.76.173] (port=57135 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQs4f-00046f-AQ for help-gnu-emacs@gnu.org; Tue, 14 Jul 2009 20:10:17 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:36140) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQs4e-0006uI-Sj for help-gnu-emacs@gnu.org; Tue, 14 Jul 2009 20:10:17 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 113E9105B6DAE; Wed, 15 Jul 2009 02:10:15 +0200 (CEST) Original-Received: from [91.35.242.75] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #277) id 1MQs4c-0000Wz-00; Wed, 15 Jul 2009 02:10:14 +0200 In-Reply-To: <4a5d0f26$0$48241$14726298@news.sunsite.dk> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/hHVfJMWJjd8VTinoRZLPcOuMszVez9WqbS9s3 peJCkjX/WSONbD1ctuP+sa/sfON0GIWChUAbZtvMUtTHXN5ffn wjKHur5F1mSCYf8T+YdA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66084 Archived-At: Am 15.07.2009 um 01:05 schrieb Colin S. Miller: > You mean something like this? > (loop for lib in (directory-files "~/my-emacs-packages/" 't "elc?$" =20= > 't) do (load-library lib)) No (and also no to the updated version). Add "~/my-emacs-packages" (or ~/.emacs.d etc., see documentation) to =20 GNU Emacs' load-path. If your Elisp files have a provide statement =20 you can require them (i.e., they get loaded when something they =20 provide gets used). Otherwise load-library has to be used. And of course I thought you would put a series of load statements =20 into your init file to be able to comment or uncomment statements, =20 i.e., to have control of what "gets used." Anyway, if the ELC files =20 are tested and final versions, you can "load" them in a loop=85 -- Greetings Pete Perl=97the only language that looks the same before and after RSA =20 encryption. - Keith Bostic