Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,9 +1,52 @@
2026-02-09 Bob Weiner <[email protected]>

* test/hywiki-tests.el (hywiki-tests--edit): Report expected errors as messages
so CI/CD does not fail.
* hypb.el (hypb:eval): Remove running 'post-self-insert-hook' as it triggers
a CI/CD error.

2026-02-09 Mats Lidell <[email protected]>

* test/hywiki-tests.el: Use hywiki-tests--preserve-hywiki-mode where
hywiki folder is created. Create less temp-buffers, prefer reuse using
erase-buffer between tests.

2026-02-08 Bob Weiner <[email protected]>

* hywiki.el (hywiki--command-executed-flag,
hywiki-ignore-command-hooks-p): Add to prevent multiple calls
to hywiki hooks per command.
(hywiki-word-store-around-point,
hywiki-word-highlight-post-self-insert,
hywiki-word-highlight-post-command): Test with above function.
(hywiki-word-store-around-point,
hywiki-word-highlight-post-command): Add support for 'undo' commands.

* hypb.el (hypb:eval): Run 'post-self-insert-hook' when appropriate.

* hywiki.el (hywiki-word-store-around-point, hywiki-word-highlight-post-command):
When narrowing region to dehighlight a reference, allow for 2 line refs
instead of 1.
(hywiki-get-delimited-region): Fix this to look for trailing delims
first if the current cmd is deletes/kills backward. This fixes the hywiki
pre-command-hook where it would not store 'hywiki--buttonize-range' when
deleting backward if the following character was a valid opening delimiter,
e.g. deleting backward with point after the closing double quote:
"HyWikiWord"<action-button>
would return the region of <action-button> rather than "HyWikiWord".

* test/hywiki-tests.el (hywiki-tests--maybe-highlight-page-names): Fix by
erasing the buffer before each test is run.

* hywiki.el (hywiki-word-highlight-in-current-buffer): Fix to ignore minibuffer
so highlighting does not trigger when 'M-x' is typed, for example.
(hywiki-get-buffers-in-windows): Exclude minibuffer windows.
(hywiki-word-dehighlight-in-buffers): Force buffer dehighlighting to fix
issue where turning `hywiki-mode' off would not dehighlight all buffers.
(hywiki-get-buffers): Fix to not limit buffers to those displayed in windows
since may need to dehighlight buffers not presently displayed.
(hywiki-get-buffers-in-windows): Fix to limit to live frames.

2026-02-08 Mats Lidell <[email protected]>

* hywiki.el (hywiki-word-create): Eliminate redundant term.
Expand Down
6 changes: 5 additions & 1 deletion hypb.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 6-Oct-91 at 03:42:38
;; Last-Mod: 18-Oct-25 at 12:22:12 by Bob Weiner
;; Last-Mod: 9-Feb-26 at 00:21:58 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
Expand Down Expand Up @@ -517,6 +517,10 @@ the `format' function."
;; evaluation. This prevents false switching to the *ert* test
;; buffer when debugging.
(set-buffer buf)
;; Comment this out as it triggered an error in CI/CD
;; (when (memq this-command (list 'self-insert-command
;; (key-binding [remap self-insert-command])))
;; (run-hooks 'post-self-insert-hook))
(run-hooks 'post-command-hook))))

(defun hypb:eval-debug (sexp)
Expand Down
Loading