Variable: majutsu-annotate-styles

majutsu-annotate-styles is a customizable variable defined in majutsu-annotate.el.

Value

((headings (heading-format . "%-20a %C %s\n"))
 (highlight (highlight-face . majutsu-annotate-highlight))
 (lines (show-lines . t) (show-message . t)))

Documentation

List of styles used to visualize annotation information.

The style used in the current buffer can be cycled using \c. Annotation commands use the first style as the initial style.

Each entry has the form (IDENT (KEY . VALUE)...). IDENT has to be a symbol uniquely identifying the style. The following KEYs are recognized:

 show-lines
    Whether to prefix each chunk of lines with a thin line.
    This has no effect if heading-format is non-nil.
 show-message
    Whether to display a commit's summary line in the echo area
    when crossing chunks.
 highlight-face
    Face used to highlight the first line of each chunk.
    If this is nil, then those lines are not highlighted.
 heading-format
    String specifying the information to be shown above each
    chunk of lines. It must end with a newline character.

The following %-specs can be used in heading-format:

  %H change-id (full) using face majutsu-annotate-hash
  %h change-id (short) using face majutsu-annotate-hash
  %s summary using face majutsu-annotate-summary
  %a author using face majutsu-annotate-name
  %C committer time using face majutsu-annotate-date

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-annotate.el
(defcustom majutsu-annotate-styles
  '((headings
     (heading-format . "%-20a %C %s\n"))
    (highlight
     (highlight-face . majutsu-annotate-highlight))
    (lines
     (show-lines . t)
     (show-message . t)))
  "List of styles used to visualize annotation information.

The style used in the current buffer can be cycled using \\`c'.
Annotation commands use the first style as the initial style.

Each entry has the form (IDENT (KEY . VALUE)...).  IDENT has
to be a symbol uniquely identifying the style.  The following
KEYs are recognized:

 `show-lines'
    Whether to prefix each chunk of lines with a thin line.
    This has no effect if `heading-format' is non-nil.
 `show-message'
    Whether to display a commit's summary line in the echo area
    when crossing chunks.
 `highlight-face'
    Face used to highlight the first line of each chunk.
    If this is nil, then those lines are not highlighted.
 `heading-format'
    String specifying the information to be shown above each
    chunk of lines.  It must end with a newline character.

The following %-specs can be used in `heading-format':

  %H    change-id (full)     using face `majutsu-annotate-hash'
  %h    change-id (short)    using face `majutsu-annotate-hash'
  %s    summary              using face `majutsu-annotate-summary'
  %a    author               using face `majutsu-annotate-name'
  %C    committer time       using face `majutsu-annotate-date'"
  :type '(alist :key-type symbol
          :value-type (alist :key-type symbol :value-type sexp))
  :group 'majutsu-annotate)