Skip to content

1.3

Compare
Choose a tag to compare
@tgbugs tgbugs released this 26 Sep 23:17
· 94 commits to master since this release
  • Remove all orgstrap-do variables.

    The core of orgstrap is not the right place to maintain these. They
    will reappear under ow-do in the future.

  • Add orgstrap-norm-func--dprp-1.0 and make it the default norm func.

    The default normalization function for orgstrap is now invariant to
    changes in the docstring for defun, defun-local, defmacro,
    defvar, defvar-local, defconst, and defcustom. This allows
    improved documentation without requiring the user to re-audit.

    Note that orgstrap-norm-func--prp-1.1 has NOT been deprecated, but
    is no longer the default. It is still useful if for whatever reason
    you want to minimize the elvs.

  • Add support for batch execution.

    The preferred method is to use an org shebang block (see
    <./shebang.md>) It is also possible to maintain an automatically
    updating list of developer checksums. This approach was deemed to be
    silly given shebang blocks, however the functionality is retained.

  • Add orgstrap-whitelist-file to make it easier to mark known safe
    files in batch.

    See the docstring for example usage.

  • Add orgstrap-inspect-elvs to inspect the elvs for the current buffer.

    The command also calculates the elvs checksum for comparison.

    Known elv checksums for this release are below. The order is
    minimal, minimal-noweb, and portable (aka minimal-noweb-eval).

    For prp-1.1
    446d0c80d72bb89dd149181e6a24eafa011d12d6dc99fad958a03ddebd9a95ad
    b294539a74f2a1932d39790d6377a4229bd3d5e84df64d968baa8ff3f85349cc
    543e3400c80e2cc7b9bf94b1799d1460b240776c2c7415a2f6c0c7a9507978ef

    For dprp-1.0
    aa080a6469c22dfe960c43fa3bff3b92a6bc3da9383ec8fcd7d0a019192e7aa0
    72c52a3483905aff6b83c6cd2c36899a2a8d1cbc603b6e5ce8c9e98f0dd7b099
    9e33bc67b8850147962edcece4ea1193bb6cf3711264a26bde91b1f838912ffc

  • Fix org-edit-mode so that it now activates correctly.

  • Fix orgstrap-init so that it no longer misplaces the link to the
    orgstrap block if there is already content in the buffer.

  • Fix orgstrap-init so that invocation in files with existing elvs
    updates only the existing orgstrap elv and preserves other elvs.

  • Fix orgstrap-init to read and pass the current value of
    orgstrap-norm-func-name when creating local variables.

    If orgstrap-norm-func-name is missing, the default value of
    orgstrap-norm-func is used.

    This prevents klobbering while also providing an easy way to update
    the normalization function — just update the variable value and
    run orgstrap-init.

  • Fix orgstrap-norm-func by always declaring it with defvar-local.

  • Update the elvs to handle issues with symlinks and vc mode. The
    core functionality remains compatible.

  • Update the elvs so that org-confirm-babel-evaluate can be set by
    an orgstrap block without having to modify the elvs.

  • Update the elvs so that they only restore visibility set via
    property drawers.

    This makes it possible to use the orgstrap block to control initial
    visibility and narrowing to simplify the presentation of orgstrapped
    files (and avoid distracting users with the orgstrap machinery).

  • Update orgstrap-init to put the Bootstrap section at the end of
    the file and to put the elvs in an archived heading inside that.

    This pattern has been found to be quite effective for a number of
    different use cases.