From 7dfb85c88f1ba0360b66a4cb83f2812f3bb0d28c Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 19 Nov 2022 22:44:39 +0200 Subject: [PATCH] Announce recent changes in NEWS.org and bump version to 0.8.9 --- NEWS.org | 20 ++++++++++++++++++++ README.org | 4 +++- sweeprolog.el | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/NEWS.org b/NEWS.org index 277d64e..c8a854c 100644 --- a/NEWS.org +++ b/NEWS.org @@ -11,6 +11,26 @@ SWI-Prolog in Emacs. For further details, please consult the manual: . +* Version 0.8.9 on 2022-11-19 + +** Predicate completions now use holes for arguments + +When completing a predicate with ~completion-at-point~ (~C-M-i~) and +choosing a predicate that takes arguments, holes are inserted is place +of each required argument. + +** Syntax errors are now less intrusive + +Syntax errors that occur due to incomplete terms are no longer +immediately highlighted as such. + +** ~auto-insert~ now leaves point at start of module summary + +** Fixes + +- Fixed error in ~sweeprolog-export-predicate~ (~C-c C-e~) in presence of + exported predicates. Reported by Jan Wielemaker. + * Version 0.8.8 on 2022-11-16 ** Added electric layout minor mode diff --git a/README.org b/README.org index 5ba7cb7..6f7d38d 100644 --- a/README.org +++ b/README.org @@ -1012,7 +1012,9 @@ In ~sweeprolog-mode~ buffers, the following enhancements are provided: as completion candidates. - Predicate completion :: If point is at a callable position, ~completion-at-point~ suggests matching predicates as completion - candidates. + candidates. Predicate calls are inserted as complete term. If the + chosen predicate takes arguments, holes are inserted in their places + (see [[#filling-holes][Filling Holes]]). - Atom completion :: If point is at a non-callable, ~completion-at-point~ suggests matching atoms as completion candidates. diff --git a/sweeprolog.el b/sweeprolog.el index 7ea364a..89e2ecc 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.8.8 +;; Package-Version: 0.8.9 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs. -- 2.39.5