[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/boxy 064d4c506c 43/44: Updated documentation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/boxy 064d4c506c 43/44: Updated documentation |
Date: |
Sun, 5 May 2024 22:50:37 -0400 (EDT) |
branch: externals/boxy
commit 064d4c506ceda63b070cbaf4bb985f446c6da827
Author: Amy Grinn <grinn.amy@gmail.com>
Commit: Amy Grinn <grinn.amy@gmail.com>
Updated documentation
---
boxy.el | 164 ++++++++++++++++++++++++++++++++--------------------------------
1 file changed, 81 insertions(+), 83 deletions(-)
diff --git a/boxy.el b/boxy.el
index fe6b4a96f8..1c9cfc1e69 100644
--- a/boxy.el
+++ b/boxy.el
@@ -24,89 +24,87 @@
;;; Commentary:
-;; Boxy provides an interface to create a 3D representation of
-;; boxes. Each box has a relationship with one other box. Multiple
-;; boxes can be related to one box. The relationship can be any of
-;; the following:
-;;
-;; - in
-;; - on
-;; - behind
-;; - on top of
-;; - in front of
-;; - above
-;; - below
-;; - to the right of
-;; - to the left of
-;;
-;; The relationship determines the ordering and structure of the
-;; resulting boxy diagram.
-;;
-;; Only boxes which have their :name slot set will be drawn to the
-;; buffer. Boxes without names still take up space and can have
-;; children, so can be used for grouping. All diagrams have one top
-;; level unnamed box called a `world'.
-;;
-;; Each box should have either a list of markers or an action
-;; function. When viewing a box that has a list of markers, the
-;; following keybindings are available:
-;;
-;; RET/mouse-1 - Jump to the first marker
-;; o - Open next marker in other window.
-;; Pressed multiple times, cycle through markers.
-;; M-RET - Open all markers as separate buffers.
-;; This will split the current window as needed.
-;;
-;; When viewing a box with an action function, RET and <mouse-1>
-;; will be bound to that function.
-;;
-;; Additionally, all boxes have the following keybindings defined:
-;;
-;; r - Jump to the box directly related to the current box.
-;; Repeated presses will eventually take you to the
-;; top level box.
-;; TAB - Cycle visibility of box's children
-;;
-;; See the class definition for `boxy-box' for all other available
-;; properties.
-;;
-;; To start, create an empty box named `world'.
-;;
-;; (let ((world (boxy-box)))
-;;
-;; Use the method `boxy-add-next' to add top-level boxes to the
-;; world, without relationships:
-;;
-;; (let ((cyprus (boxy-box :name "Cyprus"))
-;; (greece (boxy-box :name "Greece")))
-;; (boxy-add-next cyprus world)
-;; (boxy-add-next greece world)
-;;
-;; To ease the boxy renderer, use the :expand-siblings and
-;; :expand-children slots. These should be list of functions which
-;; take the current box as an argument and call `boxy-add-next' to
-;; add sibling boxes and children boxes respectively. Children
-;; boxes are defined as any box with a relationship of in, on,
-;; behind, in front of, or on top of. Sibling boxes are defined as
-;; any box with a relationship of above, below, to the left of, or
-;; to the right of.
-;;
-;; (object-add-to-list cyprus :expand-siblings
-;; '(lambda (box)
-;; (boxy-add-next
-;; (boxy-box :name "Lebanon" :rel "below")
-;; box)))
-;;
-;; The expansion slots will be called when the user toggles the
-;; box's visibility.
-;;
-;; To display a box in a popup buffer, use the function `boxy-pp'.
-;;
-;; The methods `boxy-merge' and `boxy-merge-into' should be
-;; used to merge boxes together. `boxy-merge' takes a list of
-;; boxes and merges them into one box. `boxy-merge-into' takes
-;; two boxes and merges the first into the second.
-;;
+;; Boxy provides an interface to create a 3D representation of boxes.
+;; Each box has a relationship with one other box. Multiple boxes can
+;; be related to one box. The relationship can be any of the
+;; following:
+;;
+;; - in
+;; - on
+;; - behind
+;; - on top of
+;; - in front of
+;; - above
+;; - below
+;; - to the right of
+;; - to the left of
+;;
+;; The relationship determines the ordering and structure of the
+;; resulting boxy diagram.
+;;
+;; Only boxes which have their :name slot set will be drawn to the
+;; buffer. Boxes without names still take up space and can have
+;; children, so can be used for grouping. All diagrams have one top
+;; level unnamed box called a `world'.
+;;
+;; Each box should have either a list of markers or an action
+;; function. When viewing a box that has a list of markers, the
+;; following keybindings are available:
+;;
+;; RET/mouse-1 - Jump to the first marker
+;; o - Open next marker in other window.
+;; Pressed multiple times, cycle through markers.
+;; M-RET - Open all markers as separate buffers.
+;; This will split the current window as needed.
+;;
+;; When viewing a box with an action function, RET and <mouse-1> will
+;; be bound to that function.
+;;
+;; Additionally, all boxes have the following keybindings defined:
+;;
+;; r - Jump to the box directly related to the current box.
+;; Repeated presses will eventually take you to the
+;; top level box.
+;; TAB - Cycle visibility of box's children
+;;
+;; See the class definition for `boxy-box' for all other available
+;; properties.
+;;
+;; To start, create an empty box named `world'.
+;;
+;; (let ((world (boxy-box)))
+;;
+;; Use the method `boxy-add-next' to add top-level boxes to the world,
+;; without relationships:
+;;
+;; (let ((cyprus (boxy-box :name "Cyprus"))
+;; (greece (boxy-box :name "Greece")))
+;; (boxy-add-next cyprus world)
+;; (boxy-add-next greece world)
+;;
+;; To ease the boxy renderer, use the :expand-siblings and
+;; :expand-children slots. These should be list of functions which
+;; take the current box as an argument and call `boxy-add-next' to add
+;; sibling boxes and children boxes respectively. Children boxes are
+;; defined as any box with a relationship of in, on, behind, in front
+;; of, or on top of. Sibling boxes are defined as any box with a
+;; relationship of above, below, to the left of, or to the right of.
+;;
+;; (object-add-to-list cyprus :expand-siblings
+;; '(lambda (box)
+;; (boxy-add-next
+;; (boxy-box :name "Lebanon" :rel "below")
+;; box)))
+;;
+;; The expansion slots will be called when the user toggles the box's
+;; visibility.
+;;
+;; To display a box in a popup buffer, use the function `boxy-pp'.
+;;
+;; The methods `boxy-merge' and `boxy-merge-into' should be used to
+;; merge boxes together. `boxy-merge' takes a list of boxes and
+;; merges them into one box. `boxy-merge-into' takes two boxes and
+;; merges the first into the second.
;;; Code:
- [elpa] externals/boxy 791d0f0cde 13/44: Using string-width instead of length, (continued)
- [elpa] externals/boxy 791d0f0cde 13/44: Using string-width instead of length, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy f6aa91e014 07/44: Merge branch 'next' into 'main', ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 52927fd5b6 08/44: Use relative paths in elpa ignore, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy bd8097e1b7 09/44: Merge branch 'next' into 'main', ELPA Syncer, 2024/05/05
- [elpa] externals/boxy c8c22248db 15/44: Updated docstring, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 1b5ed6c758 17/44: Merge branch 'next' into 'main', ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 6f4b8bf597 20/44: Go to first marker first, then cycle, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 0509c51105 29/44: Collapse grandchildren when grandparent collapsed., ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 10dfc2569d 31/44: Merge branch 'DamienCassou-main-patch-54220' into 'main', ELPA Syncer, 2024/05/05
- [elpa] externals/boxy a59a30e0ed 40/44: Update version, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 064d4c506c 43/44: Updated documentation,
ELPA Syncer <=
- [elpa] externals/boxy e615bd21df 11/44: Reimplement (toggle-truncate-lines) to avoid message, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 65c66f9a73 24/44: Added more tooltip test cases, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy c00c3ff64f 39/44: Fixes 'Warning: Unknown type: boxy-relationship', ELPA Syncer, 2024/05/05
- [elpa] externals/boxy e5c930dfd2 34/44: Added post-jump-hook slot, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 67c766d1d4 22/44: Removed boxy--boxes, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy b11a4e0146 23/44: Refactoring, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 3208a71661 25/44: Make world dirty after showing tooltip, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy f69d74cf21 30/44: Updated eldev location, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy 3661612a8f 32/44: Using org reveal after navigating to a box, ELPA Syncer, 2024/05/05
- [elpa] externals/boxy ef765dd8ea 35/44: Typo, ELPA Syncer, 2024/05/05