Skip to content

Add HyWiki glossary wikiwords and many fixes#1018

Merged
rswgnu merged 6 commits into
masterfrom
rsw
Jul 20, 2026
Merged

Add HyWiki glossary wikiwords and many fixes#1018
rswgnu merged 6 commits into
masterfrom
rsw

Conversation

@rswgnu

@rswgnu rswgnu commented Jul 20, 2026

Copy link
Copy Markdown
Owner

See the ChangeLog.

rswgnu added 6 commits July 20, 2026 01:47
hywiki-completing-read-glossary-term, hywiki-get-glossary-terms -
Add for 'completing-read' of hywiki glossary terms.

hywiki-get-definition - Add use of above completing read function.
When called interactively or with `display-flag', display the
definition in a help buffer.

hywiki-get-glossary-file, hywiki-add-glossary-entry,
hywiki-display-glossary-entry - Add.
hywiki-referent-menu - Add glossarY referent type menu item.
hui-menu-hywiki, hui:menu-hywiki - Add 'HyWiki/Yank' menu item.
man/hyperbole.texi (HyWiki Menu) - Add initial documention for glossary
HyWikiWords.

hyrolo-get-entry - Add.
hyrolo-yank - Rewrite to call `hyrolo-get-entry'.

hypb:empty-file-p - Extend to allow for an optional 'file' arg.

hkey-help - For a WikiWord with a glossary file entry,
include the definition entry in the help for the WikiWord.

hsys-consult--grep-paths - Remove requirement of whitespace after the *
or # character so works better with orderless.  Add a backslash space
if want to match to a literal space and eliminate matches to Org
property lines like "#+TODO:".

hsys-consult-entry-regexp - Add so can adjust this regexp for different
limits on entry formats.

hsys-consult-grep-headlines-with-prompt,
hsys-consult-grep-headlines-read-regexp - Add 4th optional arg, path-list,
provided to the grep-function called.  Allows these to be used in HyWiki
grep calls.

hywiki-word-is-p - Make non-nil return value be the string index at the
end of tthe word.

link-to-url - Explicitly duplicate `www-url' defact, for now.

(require 'kotl-autoloads) - Move to before (require 'hinit) to eliminate
klink macro not being defined when needed.

hyperb:init - Remove auto-enabling of 'hywiki-mode' as this also
enables 'hyperbole-mode' immediately after Hyperbole is installed.  The
user needs to choose to enable Hyperbole either interactively or
through his configuration.

hsys-org-link-at-p - Fix code at the end to remove hy: prefix from 'label'.

hywiki--extend-region - Fix so start is always <= end.

hywiki-word-at - Don't allow : or ; at the end of a #section.
hywiki-get-buttonize-characters - Allow : as a trailing
separator character (previously had been filtered out).

hbut:label-delimiters-regexp - Add and use in
'hywiki-maybe-highlight-references'.

hywiki--get-delimited-range-backward): Fix to 'hbut:syntax-table'
during backward 'scan-sexps' so open/close angle brackets match to
account for use in hbut labels.  Otherwise, when point is after a
closing angle bracket, the region returned is a single char, not the
span of the brackets.

hywiki-scan-sexps - Add and use in place of 'scan-sexps' in hywiki code.
hywiki-get-delimited-region, hywiki-maybe-highlight-balanced-pairs): Use
'hbut:syntax-table'.
hui-select-get-syntax-table - Use 'hui-select-syntax-table' in most
programming modes when within a comment to support angle brackets as
sexpression delimiters.

hywiki--get-delimited-range-at-closing-delimiter): Add to separate out
this code from a quoted sexp in 'hywiki-get-delimited-region'
and simplify debugging.

hywiki--get-delimited-range-backward - Fix wrong location of
'save-excursion' call so that point was moved one char forward before
backward 'scan-sexps' was called.  This led to HyWiki words not be
dehighlighted when deleted the last WikiWord character within a set
of delimiters where it was the last word.
hywiki-string-to-wikiword - Fix to upcase only the first char of
each word and not change other chars case.
@rswgnu
rswgnu merged commit 907ef24 into master Jul 20, 2026
5 checks passed
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