Function: conf-colon-mode

conf-colon-mode is an autoloaded, interactive and byte-compiled function defined in conf-mode.el.gz.

Signature

(conf-colon-mode)

Documentation

Conf Mode starter for Colon files.

"Assignments" are with :.
For details see conf-mode. Example:

# Conf mode font-locks this right with M-x conf-colon-mode (conf-colon-mode) (colon)

<Multi_key> <exclam> <exclam> : "\\241" exclamdown
<Multi_key> <c> <slash> : "\\242" cent

In addition to any hooks its parent mode conf-unix-mode might have run, this mode runs the hook conf-colon-mode-hook, as the final or penultimate step during initialization.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/conf-mode.el.gz
;;;###autoload
(define-derived-mode conf-colon-mode conf-unix-mode "Conf[Colon]"
  "Conf Mode starter for Colon files.
\"Assignments\" are with `:'.
For details see `conf-mode'.  Example:

# Conf mode font-locks this right with \\[conf-colon-mode] (colon)

<Multi_key> <exclam> <exclam>		: \"\\241\"	exclamdown
<Multi_key> <c> <slash>			: \"\\242\"	cent"
  (conf-mode-initialize "#" 'conf-colon-font-lock-keywords)
  (setq-local conf-assignment-space conf-colon-assignment-space)
  (setq-local conf-assignment-column conf-colon-assignment-column)
  (setq-local conf-assignment-sign ?:)
  (setq-local conf-assignment-regexp ".+?\\([ \t]*:[ \t]*\\)")
  (setq-local imenu-generic-expression
	      `(("Parameters" "^[ \t]*\\(.+?\\)[ \t]*:" 1)
                ,@(cdr imenu-generic-expression))))