bug-recutils
[Top][All Lists]
Advanced

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

rec-mode 1.9.0 released -- xref support


From: Antoine Kalmbach
Subject: rec-mode 1.9.0 released -- xref support
Date: Mon, 20 Jun 2022 11:01:59 +0300

Hello everyone,

rec-mode 1.9.0 is out! This release brings alongside bugfixes an
interesting and much awaited (well, by me) feature of using xref for
jumping between records!

For those that don't know, xref is the standard Emacs framework for
doing "jump to definition" and "find references", among other
things. For example, when editing Emacs Lisp, it's possible to navigate
to the definition of a function/variable/whatever using
M-. (xref-goto-definition). Similarly, doing M-? on that variable lists
_who calls that function/variable/whatever_.

The beauty of this framework is that you can implement custom
backends -- so I did just that for rec-mode. This means, when you have a
foreign key to another record, you can now jump to that record using
M-., and when you are on the referred record, you can list who refer to
that record using M-?.

This new feature is documented in the rec-mode manual, which oh by the
way, has just been updated!

https://www.gnu.org/software/recutils/rec-mode-manual/

GNU ELPA will automatically update to version 1.9.0 by tomorrow earliest.

Besides xref, the code has been refactored to drop EIEIO and some
docstrings have been fixed. Caveat emptor, there might be some bugs in
this new release, so I'm not surprised if we see 1.9.1 soon...

The future for rec-mode:

  * fix bugs and docstrings (I don't think checkdoc is 100% happy with
    us)
  * completion support for foreign keys and enums (why not?!)

Have fun everyone!

-- 
Antoine Kalmbach



reply via email to

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