Random emacs manual
Random elisp manual
Emacs: Xah ELISP Mode
This is the home page of xah-elisp-mode, a major mode for emacs lisp
How's it diff from GNU Emacs's default emacs-lisp-mode?
Right now, the difference is that this package colors almost all emacs lisp keywords.
Emacs lisp language words (⁖
list, …) are colored in one way.
Emacs text processing functions (⁖
replace-regexp-in-string, …) are colored in another way.
Emacs builtin variables (⁖ hooks,
nil, font-lock-defaults, fill-column, exec-path, …) are colored in another way.
The idea of simple keyword coloring is this:
If a function/variable name is colored in a particular way, you know for sure it's the language's core word and its purpose.
If a word isn't colored, then you know it's not the lang's core word, or it's your own function/variable, or you made a typo.
Different type of keywords are colored differently. ⁖ elisp language function, emacs text processing functions.
disadvantage: this also means you may get colors in text where you may not want it to be. Any word, if it's a emacs lisp keyword, it'll be colored..
that's the basic idea.
Right now the mode is usable, but considered beta. I use it daily since
2013-03-23. Coloring Comparison
Emacs Lisp Mode Syntax Coloring Problem Features TODO
EASY: Auto-completion (without requiring auto-complete package)
EASY: templates. (without needing yasnippet or other package)
EASY: More refined classification of elisp keyword types.
A major feature of auto-formatting. See: Programing: Lisp: Automatic Code Formatting, Lint, Auto Indentation
A major feature of semantic-based extend selection. See:
A Text Editor Feature: Extend Selection by Semantic Unit (without requiring expand-region package) 100% structure-aware editing. Any key you press or command you call will be lisp syntax aware, so that invalid syntax isn't possible. This would be similiar to paredit mode in purpose, but will fundamentally very different in philosophy and use.
elisp mode intro pledge
Want this mode to grow? Voice your support by putting a pledge
http://pledgie.com/campaigns/19973. As little as $5 goes a long way. Thank you.
blog comments powered by