File: tab-bar.el.html

Provides tab-bar-mode(var)/tab-bar-mode(fun) to control display of the tab bar and bindings for the global tab bar.

The normal global binding for [tab-bar] (below) uses the value of tab-bar-map as the actual keymap to define the tab bar.

Defined variables (64)

tab-bar--auto-width-hashMemoization table for ‘tab-bar-auto-width’.
tab-bar-auto-widthAutomatically resize width of tabs on tab bar to fill available tab-bar space.
tab-bar-auto-width-facesResize tabs only with these faces.
tab-bar-auto-width-functionsList of functions for ‘tab-bar-auto-width’ to call with a tab ITEM.
tab-bar-auto-width-maxMaximum width for automatic resizing of width of tab-bar tabs.
tab-bar-auto-width-minMinimum width of tabs for automatic resizing under ‘tab-bar-auto-width’.
tab-bar-back-buttonButton for going back in tab history.
tab-bar-close-buttonButton for closing the clicked tab.
tab-bar-close-button-showDefines where to show the close tab button.
tab-bar-close-last-tab-choiceWhat to do when the last tab is closed.
tab-bar-close-tab-selectWhich tab to make current after closing the specified tab.
tab-bar-closed-tabsA list of closed tabs to be able to undo their closing.
tab-bar-define-keysDefine specified tab-bar key bindings.
tab-bar-formatTemplate for displaying tab bar items.
tab-bar-format-tab-help-text-functionFunction to produce help text for tabs displayed in the tab bar.
tab-bar-forward-buttonButton for going forward in tab history.
tab-bar-history-backHistory of back changes in every tab per frame.
tab-bar-history-done-commandCommand handled by ‘window-configuration-change-hook’.
tab-bar-history-forwardHistory of forward changes in every tab per frame.
tab-bar-history-limitThe number of history elements to keep.
tab-bar-history-modeNon-nil if Tab-Bar-History mode is enabled.
tab-bar-history-mode-hookHook run after entering or leaving ‘tab-bar-history-mode’.
tab-bar-history-oldWindow configuration before the current command.
tab-bar-history-omitWhen non-nil, omit window-configuration changes from the current command.
tab-bar-history-pre-commandCommand set to ‘this-command’ by ‘pre-command-hook’.
tab-bar-history-repeat-mapKeymap to repeat tab-bar-history key sequences.
tab-bar-mapKeymap for the commands used on the tab bar.
tab-bar-menu-bar-buttonButton for the menu bar.
tab-bar-minibuffer-restore-tabTab number for ‘tab-bar-minibuffer-restore-tab’.
tab-bar-mode-hookHook run after entering or leaving ‘tab-bar-mode’.
tab-bar-mode-mapTab Bar mode map.
tab-bar-move-repeat-mapKeymap to repeat tab move commands ‘tab-move’ and ‘tab-bar-move-tab-backward’.
tab-bar-new-buttonButton for creating a new tab.
tab-bar-new-button-showIf non-nil, show the "New tab" button in the tab bar.
tab-bar-new-tab-choiceDefines what to show in a new tab.
tab-bar-new-tab-groupDefines what group to assign to a new tab.
tab-bar-new-tab-toWhere to create a new tab.
tab-bar-post-undo-close-tab-functionsList of functions to call after a closed tab is restored.
tab-bar-select-restore-contextIf this is non-nil, try to restore window points from their contexts.
tab-bar-select-restore-windowsFunction called when selecting a tab to handle windows whose buffer was killed.
tab-bar-select-tab-modifiersList of modifier keys for selecting tab-bar tabs by their numbers.
tab-bar-separatorString that delimits tabs.
tab-bar-showDefines when to show the tab bar.
tab-bar-show-inactive-group-tabsShow tabs even if they are in inactive groups.
tab-bar-switch-repeat-mapKeymap to repeat tab switch commands ‘tab-next’ and ‘tab-previous’.
tab-bar-tab-face-functionFunction to define a tab face.
tab-bar-tab-group-face-functionFunction to define a tab group face.
tab-bar-tab-group-format-functionFunction to format a tab group name.
tab-bar-tab-group-functionFunction to get a tab group name.
tab-bar-tab-hintsShow absolute numbers on tabs in the tab bar before the tab name.
tab-bar-tab-name-format-functionFunction to format a tab name.
tab-bar-tab-name-format-functionsFunctions called to modify the tab name.
tab-bar-tab-name-functionFunction to get a tab name.
tab-bar-tab-name-truncated-maxMaximum length of the tab name from the current buffer.
tab-bar-tab-post-change-group-functionsList of functions to call after changing a tab group.
tab-bar-tab-post-open-functionsList of functions to call after creating a new tab.
tab-bar-tab-post-select-functionsList of functions to call after selecting a tab.
tab-bar-tab-pre-close-functionsList of functions to call before closing a tab.
tab-bar-tab-prevent-close-functionsList of functions to call to determine whether to close a tab.
tab-bar-tabs-functionFunction to get a list of tabs to display in the tab bar.
tab-switcher-mode-abbrev-tableAbbrev table for ‘tab-switcher-mode’.
tab-switcher-mode-hookHook run after entering ‘tab-switcher-mode’.
tab-switcher-mode-mapLocal keymap for ‘tab-switcher-mode’ buffers.
tab-switcher-mode-syntax-tableSyntax table for ‘tab-switcher-mode’.

Defined functions (136)

display-buffer-in-new-tab(BUFFER ALIST)
display-buffer-in-tab(BUFFER ALIST)
find-file-other-tab(FILENAME &optional WILDCARDS)
find-file-read-only-other-tab(FILENAME &optional WILDCARDS)
frameset-filter-tabs(CURRENT FILTERED PARAMETERS SAVING)
frameset-session-filter-tabs(CURRENT FILTERED PARAMETERS SAVING)
merge-tabs(&optional TAB1 TAB2 VERTICAL)
other-tab-prefix()
switch-to-buffer-other-tab(BUFFER-OR-NAME)
tab-bar--current-tab(&optional TAB FRAME)
tab-bar--current-tab-find(&optional TABS FRAME)
tab-bar--current-tab-index(&optional TABS FRAME)
tab-bar--current-tab-make(&optional TAB)
tab-bar--define-keys()
tab-bar--event-to-item(POSN)
tab-bar--format-tab(TAB I)
tab-bar--format-tab-group(TAB I &optional CURRENT-P)
tab-bar--key-to-number(KEY)
tab-bar--load-buttons()
tab-bar--reusable-frames(ALL-FRAMES)
tab-bar--tab(&optional FRAME)
tab-bar--tab-bar-lines-for-frame(FRAME)
tab-bar--tab-index(TAB &optional TABS FRAME)
tab-bar--tab-index-by-name(NAME &optional TABS FRAME)
tab-bar--tab-index-recent(NTH &optional TABS FRAME)
tab-bar--tabs-recent(&optional TABS FRAME)
tab-bar--undefine-keys()
tab-bar--update-tab-bar-lines(&optional FRAMES)
tab-bar-auto-width(ITEMS)
tab-bar-auto-width-1(WVALUE)
tab-bar-auto-width-predicate-default(ITEM)
tab-bar-change-tab-group(GROUP-NAME &optional TAB-NUMBER)
tab-bar-close-group-tabs(GROUP-NAME)
tab-bar-close-other-tabs(&optional TAB-NUMBER)
tab-bar-close-tab(&optional TAB-NUMBER TO-NUMBER)
tab-bar-close-tab-by-name(NAME)
tab-bar-detach-tab(&optional FROM-NUMBER)
tab-bar-duplicate-tab(&optional ARG FROM-NUMBER)
tab-bar-format-add-tab()
tab-bar-format-align-right(&optional REST)
tab-bar-format-global()
tab-bar-format-history()
tab-bar-format-list(FORMAT-LIST)
tab-bar-format-menu-bar()
tab-bar-format-tab-help-text-default(TAB I)
tab-bar-format-tabs()
tab-bar-format-tabs-groups()
tab-bar-get-buffer-tab(BUFFER-OR-NAME &optional ALL-FRAMES IGNORE-CURRENT-TAB ALL-TABS)
tab-bar-handle-timeout()
tab-bar-history-back()
tab-bar-history-forward()
tab-bar-history-mode(&optional ARG)
tab-bar-make-keymap(&optional IGNORE)
tab-bar-make-keymap-1()
tab-bar-menu-bar(EVENT)
tab-bar-merge-tabs(&optional TAB1 TAB2 VERTICAL)
tab-bar-minibuffer-restore-tab()
tab-bar-mode(&optional ARG)
tab-bar-mouse-1(EVENT)
tab-bar-mouse-close-tab(EVENT)
tab-bar-mouse-context-menu(EVENT &optional POSN)
tab-bar-mouse-down-1(EVENT)
tab-bar-mouse-move-tab(EVENT)
tab-bar-move-tab(&optional ARG)
tab-bar-move-tab-backward(&optional ARG)
tab-bar-move-tab-to(TO-NUMBER &optional FROM-NUMBER)
tab-bar-move-tab-to-frame(ARG &optional FROM-FRAME FROM-NUMBER TO-FRAME TO-NUMBER)
tab-bar-move-tab-to-group(&optional TAB)
tab-bar-move-window-to-tab()
tab-bar-new-tab(&optional ARG FROM-NUMBER)
tab-bar-new-tab-to(&optional TAB-NUMBER)
tab-bar-rename-tab(NAME &optional TAB-NUMBER)
tab-bar-rename-tab-by-name(TAB-NAME NEW-NAME)
tab-bar-select-restore-windows(FRAME WINDOWS TYPE)
tab-bar-select-tab(&optional TAB-NUMBER)
tab-bar-select-tab-by-name(NAME)
tab-bar-separator()
tab-bar-switch-to-last-tab(&optional ARG)
tab-bar-switch-to-next-tab(&optional ARG)
tab-bar-switch-to-prev-tab(&optional ARG)
tab-bar-switch-to-recent-tab(&optional ARG)
tab-bar-switch-to-tab(NAME)
tab-bar-tab-face-default(TAB)
tab-bar-tab-group-default(TAB)
tab-bar-tab-group-face-default(TAB)
tab-bar-tab-group-format-default(TAB I &optional CURRENT-P)
tab-bar-tab-name-all()
tab-bar-tab-name-current()
tab-bar-tab-name-current-with-count()
tab-bar-tab-name-format-close-button(NAME TAB I)
tab-bar-tab-name-format-default(TAB I)
tab-bar-tab-name-format-face(NAME TAB I)
tab-bar-tab-name-format-hints(NAME TAB I)
tab-bar-tab-name-format-mouse-face(NAME TAB I)
tab-bar-tab-name-format-truncated(NAME TAB I)
tab-bar-tab-name-truncated()
tab-bar-tabs(&optional FRAME)
tab-bar-tabs-set(TABS &optional FRAME)
tab-bar-touchscreen-begin(EVENT)
tab-bar-undo-close-tab()
tab-close(&optional TAB-NUMBER TO-NUMBER)
tab-close-group(GROUP-NAME)
tab-close-other(&optional TAB-NUMBER)
tab-detach(&optional FROM-NUMBER)
tab-duplicate(&optional ARG FROM-NUMBER)
tab-group(GROUP-NAME &optional TAB-NUMBER)
tab-last(&optional ARG)
tab-list()
tab-move(&optional ARG)
tab-move-to(TO-NUMBER &optional FROM-NUMBER)
tab-new(&optional ARG FROM-NUMBER)
tab-new-to(&optional TAB-NUMBER)
tab-next(&optional ARG)
tab-previous(&optional ARG)
tab-recent(&optional ARG)
tab-rename(NAME &optional TAB-NUMBER)
tab-select(&optional TAB-NUMBER)
tab-switch(NAME)
tab-switcher()
tab-switcher-backup-unmark()
tab-switcher-current-tab(ERROR-IF-NON-EXISTENT-P)
tab-switcher-delete(&optional ARG)
tab-switcher-delete-backwards(&optional ARG)
tab-switcher-delete-from-list(TAB)
tab-switcher-execute()
tab-switcher-mode()
tab-switcher-mouse-select(EVENT)
tab-switcher-next-line(&optional ARG)
tab-switcher-noselect()
tab-switcher-prev-line(&optional ARG)
tab-switcher-select()
tab-switcher-unmark(&optional BACKUP)
tab-undo()
tab-window-detach()
toggle-frame-tab-bar(&optional FRAME)
toggle-tab-bar-mode-from-frame(&optional ARG)

Defined faces (6)

tab-bar-tabTab bar face for selected tab.
tab-bar-tab-group-currentTab bar face for current group tab.
tab-bar-tab-group-inactiveTab bar face for inactive group tab.
tab-bar-tab-highlightTab bar face for highlighting.
tab-bar-tab-inactiveTab bar face for non-selected tab.
tab-bar-tab-ungroupedTab bar face for ungrouped tab when tab groups are used.