Questions tagged [package-development]
37 questions
22
votes
7 answers
How do I patch an Emacs package?
I wish to alter a package, test it and hopefully submit a pull request afterwards. How do I do it in a safe and efficient way? The question might feel too broad, I will accept the answer that covers the following issues:
I'd expect to install a…

akater
- 321
- 2
- 5
11
votes
1 answer
How to communicate package changes to repository users?
I have a package for interacting with GRASS GIS processes, available on MELPA. The rate of development and number of users are both quite low, so there's no need for a mailing list or any formal communications with my users.
However, I've just…

Tyler
- 22,234
- 1
- 54
- 94
8
votes
1 answer
Validating / linting Elisp code
Currently I use:
(checkdoc)
(byte-compile-file (buffer-file-name))
(package-buffer-info)
to validate Elisp code. This takes me some stupid errors and it is easy to resolve them.
Code intending can be checked via C-x h C-M-\ C-x C-s M-x vc-diff if…

gavenkoa
- 3,452
- 20
- 37
1
vote
0 answers
Canonical Structuring of Elisp Source Code Repository
Most language ecosystems have a canonical code repository structure for breaking a package or library into multiple files. This usually takes the form of a directory tree for splitting packages, modules or libraries into smaller pieces, as in the…

faulty_ram_sticks
- 173
- 4
1
vote
1 answer
How to run commands from other packages if they exist, without depending on them?
I have package that has no relation to evil-mode, but doesn't work well when the command is repeated.
While the repeat command can be disabled, I don't want to add a dependency on evil mode just to do this.
I also want to avoid the load-order of my…

ideasman42
- 8,786
- 1
- 32
- 114
0
votes
1 answer
How can I run a package setup only once?
I'm writing a package to interact with a web service via HTTP API. But I need to make an action once to get permission to send my data. This action must be made just one time.
How can I configure my package to run this setup function only once after…

squiter
- 229
- 1
- 9