Skip to content

Releases: justinbarclay/parinfer-rust-mode

v0.8.0: Add support for Windows

26 Jul 23:23
49324ea
Compare
Choose a tag to compare
  • Add support for Windows
  • Improved adherence to style guides, with help from Andrey Yorst.
  • Use undo-amalgamate to have a better undo experience. Thanks to Andrey Yorst for the help.
  • Defer check for library until parinfer-rust-mode is enabled. Thanks to Chris Rayner for the suggestion.
  • Add option to run parinfer in immediate or deferred mode. This will check for indentation errors in the buffer and try to correct them. This will happen either as soon as the buffer opens or as soon as the first change occurs to the buffer.
  • Updated docs
  • Improved tests
  • Bug fixes
  • Improved byte-compiler warnings. Thanks to Chris Rayner for the suggestions.
  • Added check to download parinfer-rust library if it does not exist during byte compilation

v0.7.3

04 Jul 21:24
59e9c1b
Compare
Choose a tag to compare

Fixes some issue around byte compiling

v0.7.2

04 Jul 01:23
d713ae6
Compare
Choose a tag to compare
  • Adds improved undo tracking by being more explicit with each change parinfer-rust makes to the buffer. This helps prevent the buffer doesn't lose it's structure when a user undoes multiple commands in a row. This helps address #10

  • Thanks to @andreyorst there is now an option to dim inferred parens, parens that are likely to be changed or manipulated by parinfer. This option is on by default but can be turned off by (setq parinfer-rust-dim-parens nil).

Additional:

This release also has a lot of internal changes as I prepare to submit a recipe to MELPA. Most of these changes focused on following conventions outlined in the checkdoc and package-lint package. I would again like to thank @andreyorst for his contributions with helping parinfer-rust-mode better follow Emacs' conventions and by improving the docs. These contributions really made my life easier and helped ensure I can submit this to MELPA quicker :)

I've also created a small system here for mocking out user submitted bugs. Now when bugs are fixed I create a new test that mimics the bug causing behavior to help prove to myself that they are fixed and don't occur again in the future.

v0.7.1

27 Jun 07:09
0db427c
Compare
Choose a tag to compare
Fix bug with Emacs' internal tracking of parinfer-rust-mode

v0.7.0

27 Jun 06:42
4de7e19
Compare
Choose a tag to compare

Add a new change tracking system:

  • This system is meant to help consolidate sequential changes in the
    same location. The system was inspired to help cover cases created
    during delete-indentation. Hopefully, this system is robust enough
    and can be expanded as needed to cover new edge-cases covered by
    Emacs' commands.

Add option to prompt before buffer change on first load.

  • Sometimes, when parinfer-rust-mode is first started in a buffer it
    needs to modify the indentation to be able to run. This can have
    unintended consequences when you're editing in a collaborative
    environment and change someone else's specifically chosen
    indentation. parinfer-rust-mode now prompts you before it changes the
    buffer without your knowing. This option can be customized by setting
    the variable parinfer-rust-check-before-enable to 't or nil. By
    default it's set to 't, so as to not surprise the user with changes to
    their files.

Change name of parinfer-rust--auto-download-p to parinfer-rust-auto-download-p

v0.6.1

24 Jun 19:18
1d7723e
Compare
Choose a tag to compare
fix bug: Compare against this-command and not last-command

v0.6.0

24 Jun 03:42
2cc21b3
Compare
Choose a tag to compare
  • Adds parinfer-rust-treat-command-as system to work around difficulties in tracking changes in Emacs.
  • Changes code so that parinfer-rust-mode always looks at the entire buffer, in a widen manor.

v0.5.4

11 Jun 02:38
7a375be
Compare
Choose a tag to compare
  • Fix a bug where undo would break parinfer-rust-mode
  • Update to a new, beta, version of parinfer-rust library. This uses one is self-hosted while I wait for a pull request to be accepted by the maintainer
  • Update README: fix-typo and approve attribution of prior art.