branch: externals/taxy commit 15eb9b7880e05b81aeb2456fbcd1e080d629ba4e Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@alphapapa.net>
Docs: Tidy --- README.org | 4 +++- taxy.info | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 3aadc4a..4624c6f 100644 --- a/README.org +++ b/README.org @@ -310,7 +310,9 @@ The taxy's ~:take~ function is set to the ~taxy-take-keyed~ function, partially *** Multi-level dynamic taxys -Of course, the point of taxonomies is that they aren't restricted to a single level of depth, so you may also use the function ~taxy-take-keyed*~ (notice the ~*~) to dynamically make multi-level taxys. Expanding on the previous example, we use ~cl-labels~ to define functions which are used in the taxy's definition, which are used in the ~:take~ function, which calls ~taxy-take-keyed*~ (rather than using ~apply-partially~ like in the previous example, we use a lambda function, which perf [...] +Of course, the point of taxonomies is that they aren't restricted to a single level of depth, so you may also use the function ~taxy-take-keyed*~ (notice the ~*~) to dynamically make multi-level taxys. + +Expanding on the previous example, we use ~cl-labels~ to define functions which are used in the taxy's definition, which are used in the ~:take~ function, which calls ~taxy-take-keyed*~ (rather than using ~apply-partially~ like in the previous example, we use a lambda function, which performs better than partially applied functions). Then when the taxy is filled, a multi-level hierarchy is created dynamically, organizing buffers first by their directory, and then by mode in each directory. # MAYBE: A macro to define :take functions more concisely. diff --git a/taxy.info b/taxy.info index 23a84a8..43ef1bc 100644 --- a/taxy.info +++ b/taxy.info @@ -333,7 +333,9 @@ File: README.info, Node: Multi-level dynamic taxys, Up: Dynamic taxys Of course, the point of taxonomies is that they aren’t restricted to a single level of depth, so you may also use the function ‘taxy-take-keyed*’ (notice the ‘*’) to dynamically make multi-level -taxys. Expanding on the previous example, we use ‘cl-labels’ to define +taxys. + + Expanding on the previous example, we use ‘cl-labels’ to define functions which are used in the taxy’s definition, which are used in the ‘:take’ function, which calls ‘taxy-take-keyed*’ (rather than using ‘apply-partially’ like in the previous example, we use a lambda @@ -554,13 +556,13 @@ Node: Examples1101 Node: Usage9001 Node: Dynamic taxys11087 Node: Multi-level dynamic taxys13505 -Node: Reusable taxys15665 -Node: Threading macros19834 -Node: Magit section20364 -Node: Changelog20959 -Node: 01-pre21097 -Node: Development21191 -Node: License21362 +Node: Reusable taxys15668 +Node: Threading macros19837 +Node: Magit section20367 +Node: Changelog20962 +Node: 01-pre21100 +Node: Development21194 +Node: License21365 End Tag Table