Variable: align-vhdl-rules-list

align-vhdl-rules-list is a customizable variable defined in align.el.gz.

This variable is obsolete since 27.1; no longer used.

Value

((vhdl-declaration
  (regexp . "\\(signal\\|variable\\|constant\\)\\(\\s-+\\)\\S-")
  (group . 2))
 (vhdl-case
  (regexp . "\\(others\\|[^     \n=<]\\)\\(\\s-*\\)=>\\(\\s-*\\)\\S-")
  (group 2 3)
  (valid .
	 #[0 "\300\301!\227\302\230?\207"
	     [match-string 1 "others"]
	     2]))
 (vhdl-colon
  (regexp . "[^         \n:]\\(\\s-*\\):\\(\\s-*\\)[^=\n]")
  (group 1 2))
 (direction
  (regexp . ":\\s-*\\(in\\|out\\|inout\\|buffer\\)\\(\\s-*\\)")
  (group . 2))
 (sig-assign
  (regexp . "[^         \n=<]\\(\\s-*\\)<=\\(\\s-*\\)\\S-")
  (group 1 2))
 (var-assign
  (regexp . "[^         \n:]\\(\\s-*\\):="))
 (use-entity
  (regexp . "\\(\\s-+\\)use\\s-+entity")))

Documentation

Alignment rules for vhdl-mode. See align-rules-list for more info.

Source Code

;; Defined in /usr/src/emacs/lisp/align.el.gz
;; Sample extension rule set for vhdl-mode.  This is now obsolete.
(defcustom align-vhdl-rules-list
  `((vhdl-declaration
     (regexp   . "\\(signal\\|variable\\|constant\\)\\(\\s-+\\)\\S-")
     (group    . 2))

    (vhdl-case
     (regexp   . "\\(others\\|[^ \t\n=<]\\)\\(\\s-*\\)=>\\(\\s-*\\)\\S-")
     (group    . (2 3))
     (valid
      . ,(lambda ()
           (not (string= (downcase (match-string 1))
                         "others")))))

    (vhdl-colon
     (regexp   . "[^ \t\n:]\\(\\s-*\\):\\(\\s-*\\)[^=\n]")
     (group    . (1 2)))

    (direction
     (regexp   . ":\\s-*\\(in\\|out\\|inout\\|buffer\\)\\(\\s-*\\)")
     (group    . 2))

    (sig-assign
     (regexp   . "[^ \t\n=<]\\(\\s-*\\)<=\\(\\s-*\\)\\S-")
     (group    . (1 2)))

    (var-assign
     (regexp   . "[^ \t\n:]\\(\\s-*\\):="))

    (use-entity
     (regexp   . "\\(\\s-+\\)use\\s-+entity")))
  "Alignment rules for `vhdl-mode'.  See `align-rules-list' for more info."
  :type align-rules-list-type
  :group 'align)