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-actionsList of actions to indent.
electric-indent-charsCharacters that should cause automatic reindentation.
electric-indent-functionsSpecial hook run to decide whether to auto-indent.
electric-indent-functions-without-reindentList of indent functions that can’t reindent.
electric-indent-inhibitIf non-nil, reindentation is not appropriate for this buffer.
electric-indent-local-mode-hookHook run after entering or leaving ‘electric-indent-local-mode’.
electric-indent-modeNon-nil if Electric-Indent mode is enabled.
electric-indent-mode-hookHook run after entering or leaving ‘electric-indent-mode’.
electric-layout-allow-duplicate-newlinesIf non-nil, allow duplication of ‘before’ newlines.
electric-layout-allow-in-comment-or-stringIf non-nil, allow inserting newlines inside a comment or string.
electric-layout-local-mode-hookHook run after entering or leaving ‘electric-layout-local-mode’.
electric-layout-modeNon-nil if Electric-Layout mode is enabled.
electric-layout-mode-hookHook run after entering or leaving ‘electric-layout-mode’.
electric-layout-rulesList of rules saying where to automatically insert newlines.
electric-quote-charsCurved quote characters for ‘electric-quote-mode’.
electric-quote-commentNon-nil means to use electric quoting in program comments.
electric-quote-context-sensitiveNon-nil means to replace ' with an electric quote depending on context.
electric-quote-inhibit-functionsList of functions that should inhibit electric quoting.
electric-quote-local-mode-hookHook run after entering or leaving ‘electric-quote-local-mode’.
electric-quote-modeNon-nil if Electric-Quote mode is enabled.
electric-quote-mode-hookHook run after entering or leaving ‘electric-quote-mode’.
electric-quote-paragraphNon-nil means to use electric quoting in text paragraphs.
electric-quote-replace-consecutiveNon-nil means to replace a pair of single quotes with a double quote.
electric-quote-replace-doubleNon-nil means to replace " with an electric double quote.
electric-quote-stringNon-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()

Defined faces (0)