From: Eshel Yaron Date: Mon, 23 Jan 2023 09:07:22 +0000 (+0200) Subject: Add sweeprolog-view-news command and bump version to 0.14.0 X-Git-Tag: V9.1.3-sweep-0.14.0 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80ca3b9755d3f4068471f40eb1d026b7ae8db97c;p=dict.git Add sweeprolog-view-news command and bump version to 0.14.0 * sweeprolog.el (sweeprolog-view-news): new command for viewing the Sweep News file. --- diff --git a/NEWS.org b/NEWS.org index 0f5b9a4..b8ad744 100644 --- a/NEWS.org +++ b/NEWS.org @@ -3,14 +3,32 @@ #+email: me@eshelyaron.com #+language: en #+options: ':t toc:nil num:nil ^:{} -#+startup: content indent +#+startup: showall -This file contains the release notes for =sweep=, an embedding of +This file contains the release notes for Sweep, an embedding of SWI-Prolog in Emacs. For further details, please consult the manual: [[https://eshelyaron.com/sweep.html][https://eshelyaron.com/sweep.html]]. +* Version 0.14.0 on 2023-01-23 + +** New command ~sweeprolog-async-goal~ + +Sweep can now run goals in separate threads while redirecting their +output to Emacs buffers. To run goals and display their output +asynchronously, use the new command ~M-x sweeprolog-async-goal~ (bound +to ~C-c C-&~ in ~sweeprolog-mode~). Sweep uses a dedicated mode called +~sweeprolog-async-goal-output-mode~ which derives from ~compilation-mode~ +for the goal's output. + +** The command ~sweeprolog-xref-project-source-files~ now reports its progress + +** Fixed issue where signaling new Top-levels could fail + +This version fixes an issue where signaling newly created Prolog +Top-level threads with ~C-c C-c~ could fail due to a race condition. + * Version 0.13.0 on 2023-01-20 ** Right-click context menu support diff --git a/sweeprolog.el b/sweeprolog.el index a3502f8..61c9865 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.13.0 +;; Package-Version: 0.14.0 ;; Package-Requires: ((emacs "28.1")) ;; This file is NOT part of GNU Emacs. @@ -531,7 +531,8 @@ token via its `help-echo' text property." "--" [ "Reset Sweep" sweeprolog-restart t ] [ "View Messages" sweeprolog-view-messages t ] - [ "Read the Sweep Manual" sweeprolog-info-manual t])) + [ "Read the Sweep Manual" sweeprolog-info-manual t] + [ "Sweep News" sweeprolog-view-news t])) ;;;; Local variables @@ -4619,6 +4620,12 @@ accordingly." (interactive) (info "sweep")) +;;;###autoload +(defun sweeprolog-view-news () + "View the Sweep News file, which lists recent changes to Sweep." + (interactive) + (view-file (expand-file-name "NEWS.org" sweeprolog--directory))) + (defun sweeprolog--buttonize (string callback data) (if (fboundp 'buttonize) (buttonize string callback data)