Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Load-library alternative for Emacs using ido-completing-read
Emacs Lisp
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ert-tests
.gitignore
.travis.yml
Makefile
README.markdown
ido-load-library.el

README.markdown

Build Status

Overview

Load-library alternative for Emacs using ido-completing-read.

Quickstart

(require 'ido-load-library)

;; execute M-x ido-load-library RET

command ido-load-library

Ido-load-library is an alternative to load-library which uses ido-completing-read for completion against all available libraries in your load-path.

The interactive command ido-load-library is provided, though not bound to any key. It can be executed via

M-x ido-load-library

or bound via something like

(define-key global-map (kbd "C-c l") 'ido-load-library)

or safely aliased to load-library

(defalias 'load-library 'ido-load-library)

command ido-load-library-find

The interactive command ido-load-library-find is also provided. Like ido-load-library, it searches your load-path, but instead of loading the selected library, it visits the file in a buffer.

Bugs

When invalidating the disk cache, ido-load-library only checks whether load-path has changed, not whether new files were added to existing paths. Workarounds:

  1. Install libraries using ELPA/package.el, in which case this assumption always works.
  2. Wait for the cache to expire (7 days).
  3. Give universal prefix argument to ido-load-library to force invalidation of the cache.

Compatibility and Requirements

GNU Emacs version 24.4-devel     : yes, at the time of writing
GNU Emacs version 24.3           : yes
GNU Emacs version 23.3           : yes
GNU Emacs version 22.3 and lower : no

Uses if present: persistent-soft.el (Recommended)

Something went wrong with that request. Please try again.