Skip to content

hywiki-get-referent-hasht - Fix 'hywiki--any-wikiword-regexp-list' - #1037

Open
rswgnu wants to merge 9 commits into
masterfrom
rsw
Open

hywiki-get-referent-hasht - Fix 'hywiki--any-wikiword-regexp-list'#1037
rswgnu wants to merge 9 commits into
masterfrom
rsw

Conversation

rswgnu added 9 commits August 12, 2026 12:52
Also highlight wikiwords only when the wikiword hash table is non-empty,
to fix bug #81594.

hywiki-tests--bug-81594-file, hywiki-tests--bug-81594-buffer): Add tests
for this.
Also fix many hywiki and hywiki-test issues.

hywiki-tests--preserve-hywiki-mode - Improve for fewer test failures and use
more broadly

hywiki-file-suffix - Rename to 'hywiki-file-extension' to avoid terminology
clash with #suffix in references.

hywiki-cache-save - Change 'save-buffer' to 'hypb:save-buffer-silently'.
Replace 'save-window-excursion' with 'save-excursion' to eliminate any display
change.

hywiki-create-referent, hywiki-add-page - Fix to add 'wikiword' suffix to
returned referent.  This fixes referents in `hywiki-display-referent' to
always include the wikiword suffix.

hui:menu-help, hui:menu-choose - Add and use ? in minibuffer menus to display
a buffer with help for each current menu item.

man/hyperbole.texi (Invocation): Add doc for {?} minibuffer menu help key.

hkey-help-show - Add ? in addition to q as quit and restore window config in
the help buffer, for consistency with Hyperbole minibuffer menus.  Fix
failure to match to visible window because 'memq t' was trying to match to t
when 'string-match-p' was returning the position of the match.  Fix by
eliminating 'memq t' and using 'seq-filter' instead.

hkey-help-hide - Remove saved wconfig after it is restored.

hui:menu-last-help-string - Add and use in 'hui:menu-help' and
'(hui:menu-display-help' to determine whether to toggle display of help window
or not.

hui:menu-choose - Add menu symbol as required first arg and make 2nd arg,
'menu-alist, optional.  'menu' may be null if 'menu-alist' is given.

hui:menu-display-help, hui:menu-get-help-string - Add.
hui:menu-help - Call 'fit-window-to-buffer' for help buffer rather than trying
to enlarge or shrink relatively.

hywiki-tests--preserve-hywiki-mode - Don't run (hywiki-mode) when already
set to the newly specified mode; this prevents a cascade of wikiword
highlighting across all buffers when not necessary.  Also do this only after
temp buffers and files are killed, not before.
hywiki-tests--save-referent-info-node-use-menu - Skip until issues with
Info kbd-cmd calls are resolved.

hywiki-tests--create-referent - Fix to call 'hywiki-get-referent' and
adjust error msg match.
hywiki-tests--nonexistent-wikiword-with-section-should-create-wikiword -
Add condition-case to handle error thrown when #section is not found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant