File: cpp.el.html

Parse a text for C preprocessor conditionals, and highlight or hide the text inside the conditionals as you wish.

This package is inspired by Jim Coplien's delta editor for SCCS.

Defined variables (26)

cpp-config-fileFile name to save cpp configuration.
cpp-edit-bufferReal buffer whose cpp display information we are editing.
cpp-edit-listAlist of cpp macros and information about how they should be displayed.
cpp-edit-mode-abbrev-tableAbbrev table for ‘cpp-edit-mode’.
cpp-edit-mode-hookHook run after entering ‘cpp-edit-mode’.
cpp-edit-mode-mapKeymap for ‘cpp-edit-mode’.
cpp-edit-mode-syntax-tableSyntax table for ‘cpp-edit-mode’.
cpp-edit-symbolsSymbols defined in the edit buffer.
cpp-face-all-listAll faces used for highlighting text inside cpp conditionals.
cpp-face-dark-listAlist of names and faces to be used for dark backgrounds.
cpp-face-dark-name-listBackground colors useful with light foreground colors.
cpp-face-default-listAlist of faces you can choose from for cpp conditionals.
cpp-face-light-listAlist of names and faces to be used for light backgrounds.
cpp-face-light-name-listBackground colors useful with dark foreground colors.
cpp-face-mono-listAlist of names and faces to be used for monochrome screens.
cpp-face-none-listAlist of names and faces available even if you don’t use a window system.
cpp-face-typeIndicate what background face type you prefer.
cpp-face-type-listAlist of strings and names of the defined face collections.
cpp-known-faceFace used for known cpp symbols.
cpp-known-writableNon-nil means you are allowed to modify the known conditionals.
cpp-message-min-time-intervalMinimum time interval in seconds for ‘cpp-highlight-buffer’ progress messages.
cpp-overlay-listList of cpp overlays active in the current buffer.
cpp-parse-symbolsList of cpp macros used in the local buffer.
cpp-progress-timeLast time ‘cpp-progress-message’ issued a progress message.
cpp-unknown-faceFace used for unknown cpp symbols.
cpp-unknown-writableNon-nil means you are allowed to modify the unknown conditionals.

Defined functions (36)

cpp-choose-default-face(TYPE)
cpp-choose-face(PROMPT DEFAULT)
cpp-create-bg-face(COLOR)
cpp-edit-apply()
cpp-edit-background()
cpp-edit-false(SYMBOL FACE)
cpp-edit-home()
cpp-edit-known()
cpp-edit-list-entry-get-or-create(SYMBOL)
cpp-edit-load()
cpp-edit-mode()
cpp-edit-reset()
cpp-edit-save()
cpp-edit-toggle-known(ARG)
cpp-edit-toggle-unknown(ARG)
cpp-edit-true(SYMBOL FACE)
cpp-edit-unknown()
cpp-edit-write(SYMBOL BRANCH)
cpp-face-name(FACE)
cpp-grow-overlay(OVERLAY AFTER START END &optional LEN)
cpp-highlight-buffer(ARG)
cpp-locate-user-emacs-file(FILE)
cpp-make-button(NAME CALLBACK &optional DATA FACE PADDING)
cpp-make-known-overlay(START END)
cpp-make-overlay-hidden(OVERLAY)
cpp-make-overlay-read-only(OVERLAY)
cpp-make-overlay-sticky(OVERLAY)
cpp-make-unknown-overlay(START END)
cpp-parse-close(FROM TO)
cpp-parse-edit()
cpp-parse-error(ERROR)
cpp-parse-open(BRANCH EXPR BEGIN END)
cpp-parse-reset()
cpp-progress-message(&rest ARGS)
cpp-push-button(EVENT)
cpp-signal-read-only(OVERLAY AFTER START END &optional LEN)

Defined faces (0)