[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Wisi version 4.2.1

From: ELPA update
Subject: [GNU ELPA] Wisi version 4.2.1
Date: Thu, 12 Jan 2023 17:05:30 -0500

Version 4.2.1 of package Wisi has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Wisi describes itself as:

  Utilities for implementing an indentation/navigation engine using a 
generalized LR parser

More at

## Summary:

  Emacs wisi package 4.2.0

  The wisi package provides utilities for using generalized
  error-correcting LR parsers (in external processes) to do indentation,
  fontification, and navigation; and integration with Emacs package.el.
  See ada-mode for an example of its use.

  It also provides wisitoken-parse_table-mode, for navigating the
  diagnostic parse tables output by wisitoken-bnf-generate.

  The generated code is in Ada; it can be built via Alire
  ( Normally this is done by a package that uses
  wisi, such as ada-mode.

## Recent NEWS:

GNU Emacs wisi NEWS -- history of user-visible changes.

Copyright (C) 2014 - 2023 Free Software Foundation, Inc.

Please send wisi bug reports to, with
'wisi' in the subject. If possible, use M-x report-emacs-bug.

* wisi 4.2.0
3 Jan 2023

** New user variables wisi-disable-completion,
   wisi-disable-diagnostics, wisi-disable-indent, wisi-disable-parser,
   wisi-disable-statement to control various features. Normally set by
   the major mode when it chooses which backends to use.

** New wisi project file statement; @code{import_env_var} - copies the
   value of an environment variable from @code{process-environment} to
   the project environment variables.

** Case exception files declared in a wisi project file are now
   searched for on the project file search path.

** No longer displays right fringe marks, that were supposed to show
   the location of erros within a file; too hard to get right and
   maintain, not very useful.

** No longer sets global value of skeleton-end-hook.

** Several small bug fixes

** parser process protocol version 7

   Add commands dump_prev_tree, save_prev_auto; useful for debugging
   incremental parse issues. Controlled by new user variable
* wisi 4.1.1
8 Oct 2022

** Ada code builds with alire.

** gnat-compiler split out into separate ELPA package.

** A bug in updating the fringe error marks is fixed.

** Support using eglot to replace some wisi functions; new user
   configuration variables wisi-disable-face, wisi-disable-completion,
   wisi-disable-indent, wisi-disable-parser.

** In wisi project files, import_env_var=<name> can be used to inherit
   an environment variable from the Emacs process.

* wisi 4.0.beta
9 Jul 2022 beta testing

** Major redesign to support incremental parse.

** New user custom variable wisi-incremental-parse-enable; when
   non-nil, wisi uses incremental parse.

** There is now a log buffer showing all interactions with the parser
   process. The buffer name is given by
   (wisi-parser-transaction-log-buffer-name parser); for Ada it is

** The buffer-local variable containing the wisi parser object is
   split and renamed from wisi--parser to wisi-parser-shared, and
   wisi-parser-local. wisi-parser-shared points to a per-language
   structure; wisi-parser-local contains parser state that is buffer
   local, such as error messages.

** The new command wisi-parse-tree-query allows querying the stored
   parse tree for various things.

** Redesign how indents add, and what some indent functions mean; see for details. In general, it is easier to arrange indent
   actions to get the desired result. This may require grammar file
   indent action changes; most likely add 'wisi-block' in block

** The algorithm for naming conflicts is now more accurate, and the
   format of the %conflict declaration has changed. The old format is
   still supported. Some conflicts have the same name, but others will
   need to be updated.

** wisitoken-parse_table-mode now provides a command
   wisitoken-parse_table-conflict-goto that will find a conflict in
   the parse table file. wisitoken-grammar-mode binds that command to

** wisitoken-parse_table-mode now provides a command
   wisitoken-parse_table-goto that will find a nonterminal or state in
   the parse table file. It is recommended to bind that command to
   "\C-c.", either in global-key-map, or in modes that typically have
   nonterminals or states.

** parser process protocol version 6
    add zombie_limit
    add error-pos in Recover
    replace debug-mode, trace-mckenzie, trace-action with verbosity string
    delete wisi-mckenzie-disable, -check-limit
    add incremental parse
    increase command length to 4 digits
    add query_tree command

* wisi 3.1.3
5 Jun 2020

** Fix packaging bug.

* wisi 3.1.2
4 Jun 2020

** New dispatching function wisi-xref-completion-delim-regex for
   setting completion delimiters; example use in gpr-query.el.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]