File: electric.el.html
"Electric" has been used in Emacs to refer to different things.
Among them:
- electric modes and buffers: modes that typically pop-up in a modal kind of
way a transient buffer that automatically disappears as soon as the user
is done with it.
- electric keys: self inserting keys which additionally perform some side
operation which happens to be often convenient at that time. Examples of
such side operations are: reindenting code, inserting a newline,
... auto-fill-mode and abbrev-mode can be considered as built-in forms of
electric key behavior.
Defined variables (25)
electric-indent-actions | List of actions to indent. |
electric-indent-chars | Characters that should cause automatic reindentation. |
electric-indent-functions | Special hook run to decide whether to auto-indent. |
electric-indent-functions-without-reindent | List of indent functions that can’t reindent. |
electric-indent-inhibit | If non-nil, reindentation is not appropriate for this buffer. |
electric-indent-local-mode-hook | Hook run after entering or leaving ‘electric-indent-local-mode’. |
electric-indent-mode | Non-nil if Electric-Indent mode is enabled. |
electric-indent-mode-hook | Hook run after entering or leaving ‘electric-indent-mode’. |
electric-layout-allow-duplicate-newlines | If non-nil, allow duplication of ‘before’ newlines. |
electric-layout-allow-in-comment-or-string | If non-nil, allow inserting newlines inside a comment or string. |
electric-layout-local-mode-hook | Hook run after entering or leaving ‘electric-layout-local-mode’. |
electric-layout-mode | Non-nil if Electric-Layout mode is enabled. |
electric-layout-mode-hook | Hook run after entering or leaving ‘electric-layout-mode’. |
electric-layout-rules | List of rules saying where to automatically insert newlines. |
electric-quote-chars | Curved quote characters for ‘electric-quote-mode’. |
electric-quote-comment | Non-nil means to use electric quoting in program comments. |
electric-quote-context-sensitive | Non-nil means to replace ' with an electric quote depending on context. |
electric-quote-inhibit-functions | List of functions that should inhibit electric quoting. |
electric-quote-local-mode-hook | Hook run after entering or leaving ‘electric-quote-local-mode’. |
electric-quote-mode | Non-nil if Electric-Quote mode is enabled. |
electric-quote-mode-hook | Hook run after entering or leaving ‘electric-quote-mode’. |
electric-quote-paragraph | Non-nil means to use electric quoting in text paragraphs. |
electric-quote-replace-consecutive | Non-nil means to replace a pair of single quotes with a double quote. |
electric-quote-replace-double | Non-nil means to replace " with an electric double quote. |
electric-quote-string | Non-nil means to use electric quoting in program strings. |
Defined functions (17)
Electric-command-loop | (RETURN-TAG &optional PROMPT INHIBIT-QUITTING LOOP-FUNCTION LOOP-STATE) |
Electric-pop-up-window | (BUFFER &optional MAX-HEIGHT) |
electric--after-char-pos | () |
electric--print-list-of-chars | (WIDGET) |
electric-indent--activate-indent-actions | (ENABLE) |
electric-indent--yank-advice | (FN &rest R) |
electric-indent-can-reindent-p | () |
electric-indent-just-newline | (ARG) |
electric-indent-local-mode | (&optional ARG) |
electric-indent-mode | (&optional ARG) |
electric-indent-post-self-insert-function | () |
electric-layout-local-mode | (&optional ARG) |
electric-layout-mode | (&optional ARG) |
electric-newline-and-maybe-indent | () |
electric-quote-local-mode | (&optional ARG) |
electric-quote-mode | (&optional ARG) |
electric-quote-post-self-insert-function | () |