I've got a couple dozen org files that I'd like to have loaded at once. They're in a directory structure something like this:
org/dev
org/dev/python.org
org/dev/emacs.org
...
org/dev/ios
org/dev/ios/swift.org
...
org/dev/android
org/dev/android/android.org
org/ergo
org/ergo/programming_by_voice.org
...
What's the best way to load all these files at once so that I can have the buffers in memory when I'm working on my notes? It's nice to be able to type C-x b and have my buffers listed for autocomplete with ido, rather than navigating the directory tree.
org-agenda-files
or do you have files that are not a part of that list, or do you have only some of those files and wish to exclude others in the list? Essentially, I'm asking whether it is necessary to select the region of text in your buffer to extract a list of files, or whether that list already exists somewhere else -- e.g.,org-agenda-files
.org-agenda-files
(if you want everything that is a part of that list, the elements of which are determined based upon your user configuration):(defun open-all-org-agenda-files () (interactive) (let ((files (org-agenda-files))) (mapcar (lambda (x) (find-file x)) files)))