Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matsl rsw fix failing tests #425

Closed
wants to merge 31 commits into from
Closed

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Dec 28, 2023

What

Matsl rsw fix failing tests

Why

Checking if the CI/CD build agrees with me that this works ;-)

rswgnu and others added 30 commits December 3, 2023 09:40
Some tests are failing; Mats, see if you can fix them.
Make hyrolo cache variables buffer-local to allow multiple commands
to have their own hyrolo display buffers.

Fix hyrolo-logic.el to handle multiple file formats (not yet tested).

test/hyrolo-tests.el (hyrolo-demo-move-to-beginning-and-end-of-file):
  Move to {,} and {.} tests to sep test.
kotl-mode - Fix check of 'kotl-previous-mode' to not set local
vars if prior mode was the same, i.e. kotl-mode.
Fix HyRolo file wildcard handling in hpath:expand-list.
(hyrolo-to-entry-end): Remove unused arg '_curr-entry-level-len'.
(hyrolo-grep-file): Remove unneeded passing of 'curr-entry-level-len' arg to
(hyrolo-outline-previous-visible-heading, hyrolo-next-visible-heading): Fix
   doc strings to mention stops at match buffer headers.
hibtypes.el (Info-node): Tighten match to limit valid chars after closing paren.
            (hyrolo-stuck-msg): Add to jump to the position where a HyRolo match
  became stuck, if ever happens, when point is on the error.

hyrolo.el (hyrolo-grep-file): Update 'Stuck looping in buffer' msg so can be
  used in new 'hyrolo-stuck-msg' ibtype.

man/hyperbole.texi (Implicit Button Types): Add doc for 'hib-python-traceback'
  and 'hyrolo-stuck-msg'.

hyperbole.el: The 'describe-package' function fails under Emacs 28 when multiple
  maintainers are listed under the 'Maintainer' header but later Emacs versions
  support a 'Maintainers' header, so include both.  Change to using 'Authors'
Will also install the markdown-mode package as necessary when a Markdown file
is specified in 'hyrolo-file-list'.  This fixes failures with Markdown files
improperly put into fundamental-mode which means their headings are not
recognized properly.

hload-path.el (auto-mode-alist): Setup to invoke 'outline-mode' on ".otl"
suffixed files.

man/hyperbole.texi (HyRolo Concepts):
hyrolo.el (hyrolo-file-list): Update doc to specify allowable file suffixes
  and types.
Fix 'hpath--expand-auto-variable-alist' and
'hpath--resolve-auto-variable-alist' tests.
In same keymap, fix , and . movement keys.
For all supported HyRolo major modes, include file headers in both
hyrolo-hdr-regexp and outline-regexp.
Disable reveal-mode until can get it to work properly with
outline-minor-mode.

Fix hyrolo-tests.el tests that prompt to re-read-in files.
Note discrepancies from expected behavior are added as comments.
This avoids the query for the local vars when the tests are run
interactively.
Set enable-local-variables to nil for tests with DEMO and FAST-DEMO
hmouse-alist-add-window-handlers - Default to implicit button
creation; create explicit button with C-u prefix.
Using with-simulated-input again for consistency with other test cases
since problem was with whether test was run interactive or
noninteractive.
@matsl matsl closed this Dec 28, 2023
@rswgnu
Copy link
Owner

rswgnu commented Dec 28, 2023 via email

@matsl matsl deleted the matsl-rsw-fix-failing-tests branch December 28, 2023 17:36
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