helpful
emacs-lisp-style-guide
Our great sponsors
helpful | emacs-lisp-style-guide | |
---|---|---|
34 | 7 | |
1,057 | 1,047 | |
- | - | |
5.9 | 0.0 | |
2 months ago | over 4 years ago | |
Emacs Lisp | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
helpful
-
Is doom emacs still actively maintained?
It tweaks Emacs GC. You can run M-x describe-variable while your cursor is at gc-cons-threshold to learn about it. If you opted-in for using "Vim bindings" (Evil mode), you can press K while in normal mode. Note that K doesn't run the describe- command in Doom, but it runs helpful-command from (https://github.com/Wilfred/helpful), which provides more context that describe- commands usually do.
-
Quickly learning some LISP basics for using emacs?
The packages helpful and elisp-demos are super useful because they enhance Emacs' built-in documentation.
-
Is the official GNU Emacs up to date?
You can try to actually use helpful for a while. There was also a package with examples, I don't remember the name, perhaps someone else knows which I mean, that shows usage of a function where available. I remember using it and found it very useful for a while when I was learning elisp more actively. I still use helpful sometimes.
-
Best emacs configs for Javascript and/or users who don't like to memorize keybindings?
Once you got the hang of keybindings, which-key is a helpful extension (aka package) to Emacs. At this stage, there are other helpful packages and keybindings.
-
Doom -> vanilla emacs 29
helpful for better help buffers
-
Emacs terminology
Since you seem interested, have a look at elisp-demos , too. It works in tandem with helpful.
-
Good short documentation for CL functions (etc.) available?
Elisp Docs are fantastic they have documented everything while with CL most documentation is missing or only on the Web. With Emacs, one need to learn about C-h f (describe-function), C-h k (describe-key), helpful.el and elisp-demos and a new world opens. Terminology is always different, simple example: Microsoft terminology sounds like bullshit, to a Unix person.
-
At long last it is now time to ask - how do you get Emacs to open a file in the current window?
To find out what a key does, you can use the describe-key command, then press, for example, C-c C-o. I would highly recommend installing the helpful package, to get the even more useful helpful-key command. Then decide how you would like to modify or rebind the command that's bound there, because keybindings are generally not bound globally. In your case, I might rebind C-c C-o to one of the ffap commands. Further, emacs generally decides how a buffer is displayed based on it's filename or major mode. You can customize this through the display-buffer-alist: https://www.gnu.org/software/emacs/manual/html_node/elisp/The-Zen-of-Buffer-Display.html
-
What packages do I need to for the best elisp editing environment?
Paredit, Speed-of-thought lisp, Helm, perhaps Lispy but I am not using it myself. I found expand-region to work really well when writing and modifying elisp. lisp-extra-font-lock if you want some more blink (and font-lock-studio). Helpful is very good to have instead of built-in help, it displays the source code by default as well as symbol properties. It is a very informative learning experience to see how built-in stuff is implemented. I am quite lazy to press extra in built-in help to see the source code, but with Helpful, you get it auto in the same window, whicih is great for learning. Seeing symbol properties is sometimes a time saver so you don't have to M-: and type an Elisp function to see the symbol properties when debugging. Learn Edebug, it is very useful built-in application for Emacs Lisp development.
-
Breaking through the intermediate wall in elisp / lisps in general
Edebug is your good friend :). When you are curious about a function and don't really understand it, you can step through it with the debugger, eval variables, look up docs for the functions called, C-h f and C-h v for variables. Those are available immediately in your Emacs, and just a keystroke away. I recommend installing helpful and use it at least for a while instead of standard help or in combination. I used it a lot in the beginning. It will show you the source code for a function/macro and it will also show you property list for symbols by default, so when you are learning and discovering it is really good to have those. I think I have learned more about Emacs lisp from helpful than anything else, by just seeing the code and what things do directly.
emacs-lisp-style-guide
-
[ANN] elisp-autofmt full file re-formatting (on save), available on Melpa
Support for typical lisp formatting has been added. By default it follows emacs-lisp-style-guide.
- [ido-numbered-mode] I made my first emacs package! It lets you switch buffers fast.
-
An implementation of simple, intuitive tabs in Emacs.
So if you want your code to be more usable for others, I'd advice you to read https://github.com/bbatsov/emacs-lisp-style-guide. And another simple thing, to help you write better code, https://github.com/purcell/flycheck-package.
-
Emacs for You - A 72 line ~/.emacs to quickly set up vanilla Emacs for general purpose editing and programming
According to Bozhidar Batsov's Emacs Lisp Style Guide, it is recommended to use a dolist instead of calling the same s-exps over different variables. Thus you could replace:
- One Month in Init File Code Review
What are some alternatives?
emacs-which-key - Emacs package that displays available keybindings in popup
elisp-demos - Demonstrate Emacs Lisp APIs
marginalia - :scroll: marginalia.el - Marginalia in the minibuffer
GNU Emacs - Mirror of GNU Emacs
remacs - Rust :heart: Emacs
solarized-emacs - The Solarized colour theme, ported to Emacs.
use-package - A use-package declaration for simplifying your .emacs
json-ordered-tidy - A fancy JSON tidier that can arbitrarily order object keys
emfy - A dark and sleek Emacs setup for general purpose editing and programming
current-window-only - Open things only in the current window. No other windows, no splits.
rare - Realtime regex-extraction and aggregation into common CLI formats such as histograms, bar graphs, numerical summaries, tables, and more!
delta - A syntax-highlighting pager for git, diff, and grep output