Skip to content

Update and add hywiki tests#856

Merged
matsl merged 5 commits intomasterfrom
add_hywiki_tests
Feb 8, 2026
Merged

Update and add hywiki tests#856
matsl merged 5 commits intomasterfrom
add_hywiki_tests

Conversation

@matsl
Copy link
Collaborator

@matsl matsl commented Feb 8, 2026

What

Update and add hywiki tests

Fix problems in functions under test:

  • hywiki-word-create: Eliminate redundant term.
  • hywiki-create-page: Let page-file be the name of the file. User-error
    when page-file is not created.

Why

More tests.

matsl added 2 commits February 8, 2026 12:07
Fix problems in functions under test:
 - hywiki-word-create: Eliminate redundant term.
 - hywiki-create-page: Let page-file be the name of the file. User-error
   when page-file is not created.
@matsl matsl requested a review from rswgnu February 8, 2026 13:12
(hattr:set 'hbut:current 'referent-value referent-value))
(cond ((fboundp display-function)
(funcall display-function wikiword referent-value))
((symbolp referent-type)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can't be reached since symbol-name on line 880 will raise an error.

(user-error "(hywiki-create-page): Invalid HyWikiWord: '%s'; must be capitalized, all alpha" wikiword))
(if page-file
(message "HyWikiWord '%s' page: \"%s\"" wikiword page-file)
(user-error "(hywiki-create-page): Invalid HyWikiWord: '%s'; must be capitalized, all alpha" wikiword)))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting looks strange in the diff here. I think it is due to space and tabs. Maybe we should look over our code style to ensure we use the same whitespace conventions to make the diffs easier to read.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree; it is annoying. I allow for tabs right now and use default wmacs tab soacing, I believe.

@rswgnu
Copy link
Owner

rswgnu commented Feb 8, 2026

Let's go through this together today and we'll get merged with a few updates.

@matsl matsl merged commit e55d2a7 into master Feb 8, 2026
4 checks passed
@matsl matsl deleted the add_hywiki_tests branch February 8, 2026 16:26
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.

2 participants