From 42d2f4d3010edbe00923e68c0fc332f737ac4dd9 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 5 Jan 2023 13:30:34 +0200 Subject: [PATCH] Announce recent changes in NEWS.org and bump version to 0.11.0 --- NEWS.org | 17 ++++++++++++++++- sweeprolog.el | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/NEWS.org b/NEWS.org index 849eccc..7bf7a2f 100644 --- a/NEWS.org +++ b/NEWS.org @@ -11,6 +11,21 @@ SWI-Prolog in Emacs. For further details, please consult the manual: . +* Version 0.11.0 on 2023-01-05 + +** New command ~sweeprolog-term-search~ + +_Experimental_ new command, bound to ~C-c C-s~ in ~sweeprolog-mode~ buffers, +prompts for a Prolog term and searches for terms subsumed by it in the +current buffer. All matching terms are temporarily highlighted and +the cursor moves to the start of the next occurrence after point. + +** Fix bug where ~sweeprolog-forward-predicate~ got confused by dynamic predicates + +In previous versions, typing ~M-n~ (~sweeprolog-forward-predicate~) would +sometimes go to the next dynamic predicate, jumping over regular +predicates that come before it. + * Version 0.10.1 on 2023-01-01 ** New user option ~sweeprolog-read-predicate-documentation-function~ @@ -41,7 +56,7 @@ cursor. ** New command ~sweeprolog-insert-term-with-holes~ -This command, bound to ~C-c C-m~ (or ~C-c RET~) is ~sweeprolog-mode~ +This command, bound to ~C-c C-m~ (or ~C-c RET~) in ~sweeprolog-mode~ buffers, inserts a Prolog term at point with a given functor and arity, using holes in place of the term's arguments. diff --git a/sweeprolog.el b/sweeprolog.el index 637cca4..d2b7a29 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.10.1 +;; Package-Version: 0.11.0 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs. -- 2.39.2