From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ELPA
Date: Tue, 12 Jan 2021 22:57:44 +0100 [thread overview]
Message-ID: <87lfcxlsx3.fsf@zoho.eu> (raw)
In-Reply-To: 87pn29ltxv.fsf@zoho.eu
> I think there should be a way to recursively add a directory
> to the load path, so all the subdirs would be added as well,
> but without doing anything else, after that one could
> compile, require, load, etc, without restrictions.
Like this maybe?
(require 'cl-lib)
(defun push-all (base)
(let ((dirs (cl-remove-if-not
(lambda (f) (file-accessible-directory-p f))
(directory-files-recursively base "" t))))
(setf load-path (nconc dirs load-path) )))
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
next prev parent reply other threads:[~2021-01-12 21:57 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 14:22 How-to disable persistent *EBDB-Message* buffer? Pankaj Jangid
2021-01-04 17:58 ` Eric Abrahamsen
2021-01-05 3:47 ` Pankaj Jangid
2021-01-05 5:03 ` ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?) Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-05 17:06 ` ELPA Eric Abrahamsen
2021-01-05 18:15 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-05 18:52 ` ELPA Eric Abrahamsen
2021-01-05 18:57 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-05 19:27 ` ELPA Eric Abrahamsen
2021-01-05 19:45 ` ELPA Stefan Monnier
2021-01-05 21:37 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 18:00 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 22:21 ` ELPA Stefan Monnier
2021-01-12 23:02 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-13 15:01 ` ELPA Stefan Monnier
2021-01-12 20:21 ` ELPA Stefan Monnier
2021-01-12 20:23 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 21:29 ` ELPA Stefan Monnier
2021-01-12 21:35 ` ELPA Emanuel Berg via Users list for the GNU Emacs text editor
2021-01-12 21:57 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-01-12 19:53 ` ELPA (was: Re: How-to disable persistent *EBDB-Message* buffer?) Emanuel Berg via Users list for the GNU Emacs text editor
-- strict thread matches above, loose matches on Subject: below --
2010-09-26 13:33 [PROPOSAL] Quick and easy installation instructions Dan Davison
2010-09-26 17:37 ` Achim Gratz
2010-09-26 18:22 ` Dan Davison
2010-09-26 19:27 ` Achim Gratz
2010-09-26 20:57 ` ELPA [WAS] " Dan Davison
2010-09-28 10:52 ` Scot Becker
2010-09-28 17:48 ` ELPA Eric Schulte
2010-09-28 18:35 ` ELPA Sebastian Rose
2010-09-28 18:59 ` ELPA Achim Gratz
2010-09-28 19:09 ` ELPA Richard Riley
2010-09-28 20:43 ` ELPA Scot Becker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfcxlsx3.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.