File: align.el.html

This mode allows you to align regions in a context-sensitive fashion.

The classic use is to align assignments:

   int a = 1;
   short foo = 2;
   double blah = 4;

becomes

   int a = 1;
   short foo = 2;
   double blah = 4;

Defined variables (26)

align-c++-modesA list of modes whose syntax resembles C/C++.
align-default-spacingAn integer that represents the default amount of padding to use.
align-dq-string-modesA list of modes where double quoted strings should be excluded.
align-exclude-rules-listA list describing text that should be excluded from alignment.
align-exclude-rules-list-typeThe ‘type’ form for any ‘align-exclude-rules-list’ variable.
align-highlight-change-faceThe face to highlight with if changes are necessary.
align-highlight-nochange-faceThe face to highlight with if no changes are necessary.
align-highlight-overlaysThe current overlays highlighting the text matched by a rule.
align-indent-before-aligningIf non-nil, indent the marked region before aligning it.
align-large-regionIf an integer, defines what constitutes a "large" region.
align-lisp-modesA list of modes whose syntax resembles Lisp.
align-load-hookHook that gets run after the aligner has been loaded.
align-mode-exclude-rules-listAlignment exclusion rules specific to the current major mode.
align-mode-rules-listAlignment rules specific to the current major mode.
align-open-comment-modesA list of modes with a single-line comment syntax.
align-perl-modesA list of modes where Perl syntax is to be seen.
align-regexp-historyInput history for the full user-entered regex in ‘align-regexp’.
align-region-heuristicIf non-nil, used as a heuristic by ‘align-current’.
align-region-separateSelect the method by which alignment sections will be separated.
align-rules-listA list describing all of the available alignment rules.
align-rules-list-typeThe ‘type’ form for any ‘align-rules-list’ variable.
align-sq-string-modesA list of modes where single quoted strings should be excluded.
align-tex-modesA list of modes whose syntax resembles TeX (and family).
align-text-modesA list of modes whose content is plain text.
align-to-tab-stopIf non-nil, alignments will always fall on a tab boundary.
align-vhdl-rules-listAlignment rules for ‘vhdl-mode’. See ‘align-rules-list’ for more info.

Defined functions (16)

align(BEG END &optional SEPARATE RULES EXCLUDE-RULES)
align--set-marker(MARKER-VAR POS &optional TYPE)
align-adjust-col-for-rule(COLUMN RULE SPACING TAB-STOP)
align-areas(AREAS PROPS RULE FUNC)
align-column(POS)
align-current(&optional RULES EXCLUDE-RULES)
align-entire(BEG END &optional RULES EXCLUDE-RULES)
align-highlight-rule(BEG END TITLE &optional RULES EXCLUDE-RULES)
align-match-tex-pattern(REGEXP END &optional REVERSE)
align-new-section-p(BEG END SEPARATOR)
align-newline-and-indent()
align-regexp(BEG END REGEXP &optional GROUP SPACING REPEAT)
align-region(BEG END SEPARATE RULES EXCLUDE-RULES &optional FUNC)
align-regions(REGIONS PROPS RULE FUNC)
align-set-vhdl-rules()
align-unhighlight-rule()

Defined faces (0)