File: treemacs-scope.el.html

Module that handles uniquely associating treemacs buffers with a certain scope, like the selected frame, or (to be implemented later) the active eyebrowse or persp desktop.

This is implemented using a (somewhat) OOP style with eieio and static functions, where each scope type is expected to know how to query the current scope (e.g. the selected frame) and how to set up and tear down itself (e.g. deleting a frames associated buffer when the frame is deleted)

Defined variables (3)

treemacs--current-scope-typeThe general type of objects/items treemacs is currently scoped to.
treemacs--scope-storageAlist of all active scopes mapped to their buffers & workspaces.
treemacs-scope-typesList of all known scope types.

Defined functions (46)

copy-treemacs-scope-shelf(ARG)
treemacs--change-buffer-on-scope-change(&rest _)
treemacs--create-buffer-for-scope(SCOPE)
treemacs--do-set-scope-type(NEW-SCOPE-TYPE)
treemacs--on-buffer-kill()
treemacs--on-scope-kill(SCOPE)
treemacs--scope-store()
treemacs--scope-store--inliner(INLINE--FORM)
treemacs--select-visible-window()
treemacs-current-scope()
treemacs-current-scope--inliner(INLINE--FORM)
treemacs-current-scope-shelf(&optional SCOPE)
treemacs-current-scope-shelf--inliner(INLINE--FORM &optional SCOPE)
treemacs-current-scope-type()
treemacs-current-scope-type--inliner(INLINE--FORM)
treemacs-current-visibility()
treemacs-current-visibility--inliner(INLINE--FORM)
treemacs-default-buffer-name(SCOPE)
treemacs-frame-scope(&rest _)
treemacs-frame-scope--eieio-childp(OBJ)
treemacs-frame-scope-child-p(OBJ)
treemacs-frame-scope-list-p(ARG1)
treemacs-frame-scope-p(OBJ)
treemacs-get-local-buffer()
treemacs-get-local-buffer-create()
treemacs-get-local-window()
treemacs-scope(&rest _)
treemacs-scope--eieio-childp(OBJ)
treemacs-scope->cleanup(ARG &rest ARGS)
treemacs-scope->current-scope(ARG &rest ARGS)
treemacs-scope->current-scope-name(ARG &rest ARGS)
treemacs-scope->setup(ARG &rest ARGS)
treemacs-scope-child-p(OBJ)
treemacs-scope-list-p(ARG1)
treemacs-scope-p(OBJ)
treemacs-scope-shelf->buffer(CL-X)
treemacs-scope-shelf->buffer--cmacro(CL-WHOLE-ARG CL-X)
treemacs-scope-shelf->create!
treemacs-scope-shelf->create!--cmacro
treemacs-scope-shelf->kill-buffer(SELF)
treemacs-scope-shelf->kill-buffer--inliner(INLINE--FORM SELF)
treemacs-scope-shelf->workspace(CL-X)
treemacs-scope-shelf->workspace--cmacro(CL-WHOLE-ARG CL-X)
treemacs-scope-shelf-p(CL-X)
treemacs-scope-shelf-p--cmacro(CL-WHOLE-ARG CL-X)
treemacs-set-scope-type(NEW-SCOPE-TYPE)

Defined faces (0)