From 86b629b99bdbe288372033132da58992aa70d517 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 1 Feb 2023 20:21:54 +0200 Subject: [PATCH] Announce recent changes in NEWS.org and bump version to 0.15.0 --- NEWS.org | 18 ++++++++++++++++++ sweeprolog.el | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index a18fcc9..c3a5652 100644 --- a/NEWS.org +++ b/NEWS.org @@ -11,6 +11,24 @@ SWI-Prolog in Emacs. For further details, please consult the manual: [[https://eshelyaron.com/sweep.html][https://eshelyaron.com/sweep.html]]. +* Version 0.15.0 on 2023-02-01 + +** New command ~sweeprolog-rename-variable~ + +This command, bound to ~C-c C-r~ in ~sweeprolog-mode~ buffers, +interactively renames a variable in the current clause. You can now +also rename variables by right-clicking on them and selecting ~Rename +Variable~ with Context Menu mode enabled. + +** Jumping to predicate references now goes to the exact call position + +The cross reference information that Sweep provides is enhanced to +include exact buffer positions for predicate references. In prior +versions, jumping to predicate references with ~M-?~ +(~xref-find-references~) would go to the beginning of the clause which +invokes the given predicate, now it goes to the exact location of the +invocation. + * Version 0.14.1 on 2023-01-28 ** New command ~sweeprolog-count-holes~ diff --git a/sweeprolog.el b/sweeprolog.el index 5387997..d594898 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -6,7 +6,7 @@ ;; Maintainer: Eshel Yaron <~eshel/dev@lists.sr.ht> ;; Keywords: prolog languages extensions ;; URL: https://git.sr.ht/~eshel/sweep -;; Package-Version: 0.14.1 +;; Package-Version: 0.15.0 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs. -- 2.39.2