Questions tagged [libraries]
The libraries tag has no usage guidance.
6
questions
34
votes
3
answers
7k
views
When should I use autoload instead of require?
From what I understand require is used to load large chunks of code (something like modules) although it can also load individual functions.
Autoload on the other side, only registers functions and ...
27
votes
1
answer
16k
views
What does (require 'package) mean for emacs and how does it differ from load-file?
I just began using emacs a few days ago and I read somewhere that (require 'package-name) is not needed when the said package is installed using package-install. But why, what does (require 'package-...
16
votes
3
answers
7k
views
Easiest way to install Emacs Windows support libraries
I installed binaries of Emacs 24.4 for Windows and want to install the support libraries described in the Emacs for Windows README. The latest precompiled libraries are available from the ezwinports ...
9
votes
1
answer
847
views
Are there any libraries for input fields in Emacs?
Quite a few Emacs modes use (something like) forms: the customization interface is one of them, the Message mode (read: its header part) is another one; there are more of them, unfortunately not ...
7
votes
2
answers
2k
views
How to use autoload?
I am trying to figure out how to add autoload features to a private library. Let's say I have developed a private Lisp library "my-lib.el". It consist of a set of functions, some can be used from any ...
2
votes
2
answers
802
views
How to use function update-file-autoloads and and variable generated-autoload-file?
Let's say I have Emacs Lisp library ~/emacs/my-lib.el with contents:
;;;###autoload
(defun my-func()
"hello"
(interactive)
(message "Hello"))
(provide 'my-lib)
I would now like to produce a ...