[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sweeprolog 80ca3b9755 3/3: Add sweeprolog-view-news comman
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sweeprolog 80ca3b9755 3/3: Add sweeprolog-view-news command and bump version to 0.14.0 |
Date: |
Mon, 23 Jan 2023 05:01:04 -0500 (EST) |
branch: elpa/sweeprolog
commit 80ca3b9755d3f4068471f40eb1d026b7ae8db97c
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
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.
---
NEWS.org | 22 ++++++++++++++++++++--
sweeprolog.el | 11 +++++++++--
2 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/NEWS.org b/NEWS.org
index 0f5b9a4fbc..b8ad74422e 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 a3502f8184..61c98658e4 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)