From 2be17c1f3191dd64cf7792c2ebdc8c3d58c0743b Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 28 Jan 2023 20:07:03 +0200 Subject: [PATCH] Announce recent changes in NEWS.org and bump version to 0.14.1 --- NEWS.org | 23 +++++++++++++++++++++++ sweeprolog.el | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index b8ad744..a18fcc9 100644 --- a/NEWS.org +++ b/NEWS.org @@ -11,6 +11,29 @@ SWI-Prolog in Emacs. For further details, please consult the manual: [[https://eshelyaron.com/sweep.html][https://eshelyaron.com/sweep.html]]. +* Version 0.14.1 on 2023-01-28 + +** New command ~sweeprolog-count-holes~ + +This command displays the number of holes in the current +~sweeprolog-mode~ buffer. + +** New numeric argument to ~sweeprolog-forward-hole~ + +You can now call ~sweeprolog-forward-hole~ with a numeric prefix +argument (e.g. ~C-3 C-c TAB~) to move forward over that many holes. As a +special case, if you call it with a zero numeric argument (e.g. by +typing ~C-0 C-c TAB~), it invokes ~sweeprolog-count-holes~ instead. + +This change applies to ~sweeprolog-backward-predicate~ as well. + +** Predicate completion now consults the manual for argument names + +Completing predicate calls to built-in predicates with ~C-M-i~ +(~completion-at-point~) now uses the argument names from the +documentation of the predicate in the SWI-Prolog manual to name the +holes it inserts as placeholder arguments. + * Version 0.14.0 on 2023-01-23 ** New command ~sweeprolog-async-goal~ diff --git a/sweeprolog.el b/sweeprolog.el index 0cec3c6..cddbb4f 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.0 +;; Package-Version: 0.14.1 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs. -- 2.39.2