Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libraries]

The tag has no usage guidance.

1
vote
0answers
55 views

f.el: f-split behaviour

Using f-split from f.el: (require 'f) (f-split "c:/a/b") returns ("/" "c:" "a" "b") What is the rationale? Shouldn't it be ("c:" "a" "b")? Also in Emacs for Windows the value of: (f-path-...
1
vote
1answer
954 views

libMagickWand-6.Q16.so.2 . . . No such file or directory

I just upgraded from Ubuntu 16.10 to 17.04, and now my Emacs (25.1.1), working fine before, is broken. Here is the error from running emacs --debug-init emacs: error while loading shared libraries: ...
0
votes
0answers
23 views

Packages with user-facing generators / generator logic?

Are there any popular Emacs packages that incorporate generators in any of their user-facing functions / API? I'm thinking of the core Emacs lisp implementation (iter-defun, iter-yield, etc.), but ...
4
votes
2answers
362 views

How to re-load a package?

The situation I have is this. First, I run (require 'prolog) ...which loads the system's default version of prolog.el, and makes the variable prolog-mode-version available. It has value "1.22". ...
0
votes
0answers
116 views

Missing features on Windows

I am trying to assemble a list of features that work out of the box on Linux but will fail on a standard installation without addinng additional executables or DLLs, or are not implemented at all for ...
0
votes
1answer
118 views

emacs interface to ubuntu package management (apt, dpkg)

Is there an emacs library for managing packages on Ubuntu, ie an emacs based alternative to synaptic and aptitude? Presumably this would be an elisp wrapper around apt, dpkg and friends and look ...
7
votes
1answer
2k 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-...
1
vote
1answer
158 views

(require 'flx-ido) fails, but “M-x flx-ido-mode” succeeds

I installed the flx-ido package from MELPA, and added the following two lines of code to my .emacs file. (require 'flx-ido) (flx-ido-mode 1) Emacs startup fails with the following error: File error:...
1
vote
1answer
122 views

Writing C++ (or other) code using lisp

I was wondering if are existing tools or package to write C++ (or other langage) code from lisp. For example, this afternoon I needed to create 4 basic classes: class D{ public: D(){ } }; ...
9
votes
1answer
449 views

Unload a whole package or library tree

Sometimes I want to call unload-feature to unload a library… and it a library depends on it… and another library depends on that library… How can I unload a library and all the libraries that depends ...
0
votes
0answers
31 views

sct-dot fails on updated simple-call-tree

sct-dot is convenient for visualizing relationships by graphviz(dot) among functions in programs. EmacsWiki: Simple Call Tree Unfortunately, since simple-call-tree has updated from 20150806.1133 to ...
5
votes
2answers
395 views

What templates are available for generating an elisp library?

At some point I remember encountering a command that generated a skeleton of a properly formatted emacs-lisp library as below: ;;; library.el --- summary ;; Copyright ... ;; Author: ;; Keywords: ;;...
0
votes
1answer
716 views

Emacs GDB does not load shared library symbols

I am trying to debug a C/MPI library that I have built. All objects are compiled using GCC and -ggdb, they are also linked using -ggdb. When I try to attach a gdb session to the process with the -p ...
4
votes
2answers
655 views

Does autoload load all functions in the file or just the one specified?

I have developed some private extensions to some major modes, and I would like to load those extensions only when the given major mode is actually used by the user. The extensions consists of a set of ...
1
vote
2answers
431 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 ...
5
votes
2answers
609 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 ...
5
votes
3answers
1k views

where are emacs lisp files?

I'm trying to add line numbers to emacs, following this guide: Linum: Separating line numbers from text. I have to edit "linum.el" to add some code, however I can't find that file. I'm using ubuntu, ...
4
votes
0answers
343 views

Are there any Emacs libraries for encoding protocol buffers?

I've found a mode for editing protocol buffer definitions but I'm looking for a library to serialise and de-serialise the wire protocol itself.
3
votes
1answer
2k views

How can I install eww or shr in Emacs 23?

I am beginner using Emacs 23.4, and I wanted to try a web browser package. From Emacs wiki, I found eww. But when Emacs starts I get from *Warnings*: File error: Cannot open load file, shr I get the ...
14
votes
3answers
5k 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 ...
10
votes
1answer
426 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 ...
30
votes
3answers
2k 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 ...