Skip to content

Commit

Permalink
emacs: bring Goals and Logs buffers before displaying logs and goals
Browse files Browse the repository at this point in the history
Plus, add CHANGES.md file
  • Loading branch information
Alidra committed Dec 31, 2024
1 parent f0e68a3 commit 30410b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions editors/emacs/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/),
and this project adheres to [Semantic Versioning](https://semver.org/).

## Unreleased

### Added
- Auto scroll to the first goal in the `Goals` buffer in case of many hypothesis
- Check that the Goals and Logs buffers are displayed before displaying logs and goals

### Fixed
- Show the error at the end of file if any. That was not working because navigation stoped at the location of last command and not further (see issue #1111)


### Changed
1 change: 1 addition & 0 deletions editors/emacs/lambdapi-proofs.el
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ This works for both graphical and text displays."
(let ((response (jsonrpc-request server :proof/goals params)))
(if response
(progn
(lambdapi-refresh-window-layout)
(lp-display-goals (plist-get response :goals))
(lp-display-logs (plist-get response :logs)))
(let ((goalsbuf (get-buffer-create "*Goals*"))
Expand Down

0 comments on commit 30410b9

Please sign in to comment.