Variable: forge-repository-list-columns

forge-repository-list-columns is a customizable variable defined in forge-repos.el.

Value

(("Owner" owner 20 t nil)
 ("Name" name 20 t nil)
 ("T" forge-format-repo-condition 1 t nil)
 ("S" forge-format-repo-selective 1 t nil)
 ("Worktree" worktree 99 t nil))

Documentation

List of columns displayed when listing repositories.

Each element has the form (HEADER SOURCE WIDTH SORT PROPS).

HEADER is the string displayed in the header. WIDTH is the width of the column. SOURCE is used to get the value, it has to be the name of a slot of forge-repository(var)/forge-repository(fun) or a function that takes such an object as argument. SORT is a boolean or a function used to sort by this column. Supported PROPS include :right-align and :pad-right.

This variable was added, or its default value changed, in forge version 0.4.0.

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-repos.el
(defcustom forge-repository-list-columns
  '(("Owner"    owner                       20   t nil)
    ("Name"     name                        20   t nil)
    ("T"        forge-format-repo-condition  1   t nil)
    ("S"        forge-format-repo-selective  1   t nil)
    ("Worktree" worktree                    99   t nil))
  "List of columns displayed when listing repositories.

Each element has the form (HEADER SOURCE WIDTH SORT PROPS).

HEADER is the string displayed in the header.  WIDTH is the width
of the column.  SOURCE is used to get the value, it has to be the
name of a slot of `forge-repository' or a function that takes
such an object as argument.  SORT is a boolean or a function used
to sort by this column.  Supported PROPS include `:right-align'
and `:pad-right'."
  :package-version '(forge . "0.4.0")
  :group 'forge
  :type forge--tablist-columns-type)