Releases: krvkir/org-mindmap
Releases · krvkir/org-mindmap
Release list
0.3.0
Breaking changes
- Package now requires Emacs 29.1 or later (previously 26.1).
:layoutvaluesleftandcompactare deprecated; use:layout top
with:compacted nilor:compacted tinstead. Legacy values are
still accepted and auto-migrated.
Layout and compaction
:layoutand:compactedare now independent block parameters.
:layoutacceptstoporcentered;:compactedis a boolean
that controls gap-filling behavior regardless of layout.- New commands
org-mindmap-switch-layoutand
org-mindmap-switch-compactiontoggle these settings independently.
Node text wrapping
:max-widthblock parameter controls soft word-wrap of node text.
Accepts an integer column limit,nil(no wrapping), orauto
(calculate from window width and tree depth).:wrap-leavescontrols leaf-node wrapping:nildisables,t
enables, and a float value acts as a multiplier on max-width for
leaves.org-mindmap-min-widthcustom variable prevents orphaned words by
joining short lines with the previous line.- Default max-width is
autowhen:max-widthis not specified. - Wrapping is purely visual: the logical node text stays unchanged
(newlines replace spaces when rendering, spaces replace newlines
when parsing).
Cursor position preservation
- The parser now tracks the cursor offset within node text across
parse-render cycles. After structural edits the point is restored
to the same logical position within the edited node.
Subtree coloring
- Subtrees can be painted in different colors for visual
differentiation. org-mindmap-color-palette-fncontrols the palette source: from
font-lock faces, rainbow-delimiters, or a fixed RGB triplet.org-mindmap-color-assign-fncontrols color assignment: by node
position in tree or by text hash.org-mindmap-paint-tinge-fgandorg-mindmap-paint-tinge-bg
control the blend ratio of colors with the underlying faces.:paint-depthblock parameter and
org-mindmap-default-paint-depthcontrol the tree depth at which
painting starts.
CJK support
- Chinese, Japanese, and Korean characters are now supported.
Connector customization
org-mindmap-parser-connectorsallows customizing the Unicode
box-drawing character set used for tree rendering. Multiple
connector packs can be defined; the first pack is used for
rendering, all packs are recognized during parsing.
Minor mode
org-mindmap-modeis now a proper minor mode with its own keymap.
It bindsRET,TAB,M-RET,M-<up>,M-<down>,
M-<left>, andM-<right>for structural editing within mindmap
blocks.