Skip to content

Releases: oantolin/embark

1.1

13 May 15:18
Compare
Choose a tag to compare

The embark-consult package contains a new exporter for consult-location targets (produced by several consult commands such as consult-line), which exports to a grep mode buffer. Users wishing to use the new grep mode exporter can use the following configuration:

  (setf (alist-get 'consult-location embark-exporters-alist)
        #'embark-consult-export-location-grep)

The main reason for adding the new exporter is that users of the wgrep package will be able to make use of a feature that wgrep has and the built-in occur-edit-mode lacks: when editing search results you can add new lines to a result location. There are also some disadvantages of grep mode compared to occur mode (which is why the previously existing occur mode exporter continues to be the default): (1) wgrep is a third party package while occur-edit-mode is built-in; (2) occur mode buffers can list lines in any kind of buffer, but grep mode and wgrep are meant for lines of files exclusively.

1.0

08 Dec 07:19
Compare
Choose a tag to compare
1.0

Finally a 1.0! 🎉

Main changes since 0.23:

  • You can now use around action hooks with multitarget actions (that
    you couldn't previously was an oversight).
  • Users of the embark-consult package can now use consult async search
    commands such as consult-grep as multitarget actions (through
    embark-act-all) to search a list of files. For example, you can use
    consult-find to search among file /names/ and once you have the
    relevant files in the minibuffer, you can use embark-act-all to
    search for some text in those files. When acting on buffers consult
    async search commands will search the associated file if there is
    one, or else the default-directory of the buffer.
  • embark-bindings and similar commands now show definition of keyboard
    macros.
  • embark-org now recognizes Org links in non-org buffers.
  • Now pressing RET in an embark-collect on a selection made by
    using embark-select in a normal buffer will take you to the location
    each target was collected from.
  • Some functions renamed for greater consistency (these functions are
    unlikely to be referred to in user's configuration):
    • embark-target-completion-at-pointembark-target-completion-list-candidate
    • embark-target-top-minibuffer-completionembark-target-top-minibuffer-candidate
    • embark-completions-buffer-candidatesembark-completion-list-candidates

0.23

19 Sep 19:15
Compare
Choose a tag to compare
  • embark-org now supports targets which are references to headings in other buffers, such as agenda items, or minibuffer completion candidates from commands such as consult-org-heading from the consult package or org-ql-find from the org-ql package.
  • If any item in an embark-collect buffer contains a new line, then the items will be separated by horizontal lines. This is great for browsing the kill-ring.
  • There is a nice new indicator contributed by @minad showing how many items are in the embark selection. Also, embark-select can now be used as a command outside of embark-act and will select the first of the targets at point.

See CHANGELOG for a more detailed list of changes.

0.21

30 Jan 14:58
Compare
Choose a tag to compare

The macro embark-define-keymap is now obsolete. User have always been able to define keymaps using whatever mechanism they prefer, but the embark source code used embark-define-keymap. Now it uses defvar-keymap which will be added at some point to Emacs and is made available to previous versions through the Compat library.

0.19

03 Jan 19:27
Compare
Choose a tag to compare

Many small improvements, particularly to embark-org.

0.17

21 May 17:48
Compare
Choose a tag to compare

There have been considerable improvements to the collect and export functionality:

  • Renamed embark-collect-completions to just embark-collect, and embark-collect-live to embark-live. Their implementations were also significantly simplified. Also, embark-collect-completions, which was hardly used, has been removed.
  • Collect and export buffer have descriptive names now.
  • Collect buffers have a dired-like marking functionality now, making it easy to use embark-act-all on arbitrary subsets of candidates.
  • Collect buffers support group-function with a collapseable outline.
  • Added flexible "half-revert" functionality for collect and export buffers: pressing g will rerun the command the candidates were obtained from and re-enter the input you had, so you can tweak the input and re-collect or re-export if you like.

Besides changes to collect and export, there have been several other miscellaneous improvements, maybe chief among them making the insert and "save to kill-ring" actions support multiple targets.

0.16

09 Mar 15:33
Compare
Choose a tag to compare

Update for new "cheap markers" in Consult, plus some miscellaneous small improvements.

0.15

15 Jan 17:09
Compare
Choose a tag to compare

Some new actions in the default configuration, like repunctuate-senteces and VC file operations. Revamped handling of actions that allow editing of the target before submitting.

0.12

20 Oct 01:04
Compare
Choose a tag to compare

Many new features: cycling between multiple targets at point, target highlighting, pop up reminder of available actions.

0.10

16 Jan 15:43
Compare
Choose a tag to compare

Embark occur has been renamed Embark collect, and more precisely:

  • the old embark-occur is now embark-collect-snapshot and no longer forces you to exit the minibuffer (it can be called as the action bound to S from embark-act if you do wish to exit),
  • the old embark-live-occur is now embark-collect-completions,
  • there is a new type: embark-collect-live produces a live updating embark collect buffer that is not killed upon minibuffer exit.