Random elisp manual
Emacs: Xah Emacs Lisp Mode
This is the home page of xah-elisp-mode, a major mode for emacs lisp.
How is this different from the builtin emacs-lisp-mode?
Syntax coloring of 99% statistically most frequently used elisp functions.
Completion for function names and function templates. (press Tab after the word, or space after full name.)
1 to 3 letters abbrevs for top 50 most used functions. e.g. “bsnp” → “buffer-substring-no-properties”
Convenient formatting command that formats entire sexp expression unit. (press Tab before line or end of line.)
Also on MELPA
〔➤ Emacs: How to Install Packages Using ELPA, MELPA, Marmalade〕
For any problems, file a report on github, or comment here.
Semantic syntax coloring. Emacs lisp words are colored by their purpose.
Keyword completion with
ido-mode interface. Press
Tab ↹ after a word to complete symbol. Smart prettify code. Press
Tab ↹ before a word to reformat the current sexp tree. Press
Space to expand a lisp symbol into its param template. Top 100 most used functions have abbrev with 1 to 3 letters. Press
Space expand into a function template.
No dependency on third-party package. Only require bare GNU emacs.
Single letter abbrevs are:
d → defun
i → insert
l → let
m → message
p → point
s → setq
list-abbrevs to see the full list.
there are still some big tasks to do.
More refined classification of elisp keyword types. (research on different classification, and implement a way to grab ALL emacs lisp symbols with automated template) 〔➤
Syntax Coloring in Editors〕 Automatic formatting. (press a button to reformat current lisp expression tree into single line, and press again to pretty formatted by lines.) Or, reformat whole buffer, file, directory. See: Programing: Lisp: Automatic Code Formatting, Lint, Auto Indentation
full-featured semantic-based extend selection beyond gnu emacs builtin lisp parser provides. 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 somewhat similiar to paredit mode in purpose, but will be fundamentally different in philosophy and use.
If you would like these features, different from traditional idea of line-based indentation, please do donate.
PayPal to 〔firstname.lastname@example.org〕. In the comment box, say “fund for elisp mode”.
Buy Xah Emacs Tutorial and add a comment “fund for elisp mode”.
blog comments powered by