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 remove unused function #454

Closed
wants to merge 105 commits into from
Closed

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Jan 20, 2024

What

Remove unused function

Why

Extracted into a separate commit and PR for observability and easier traceability.

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.
Add example of ERT test action buttons to DEMO, FAST-DEMO and the
manual.

Add ERT test action button support for ert-deftext-async definitions
from the "ert-async.el" package.

Fix smart-lisp tag finding to exclude outside <> chars when are part
of action buttons.

Fix text-toc actype to only match to given text at the start of a
heading.
rswgnu and others added 27 commits January 13, 2024 16:31
Fix to repair mixed version Org installation so Hyperbole works
by calling new function `hsys-org-fix-version' from `hyperb:init'.
Add tests for non file ebut creation and deletion
…nd-backwards-using-multi-file-and-depth-structure

Add tests with more file types and outline structure depth
smart-hyrolo - extend to edit source files from anywhere in header
Fix byte-compiler warnings
Conditionally define `string-replace' for Emacs27 compatibility
…interactive

Remove skip guard on test that works in batch mode
This reverts commit 89b2477.

This change did not work out in CI/CD nor running locally in
docker. Reverting to keep rsw branch healthy.
Only require package-lint in the package-lint target.

The compat library that was dragged in due to package-lint resolved
backwards compatibility for string-replace for older Emacs
versions. Solved here by using older replace-regexp-in-string.
…pendencies

Remove package-lint dependency and string-replace compatibility code
* Add test for hargs:sexpression-p

* Fix hargs:sexpression-p when eval triggers an error

Add test hargs-tests--sexpression-p
* Cleanup of flycheck/flymake info and warning messages

* Fix remaining doc strings to eliminate flycheck warnings
@matsl matsl closed this Jan 20, 2024
@matsl matsl deleted the matsl-rsw-remove-unused-function branch January 20, 2024 20:14
@matsl matsl restored the matsl-rsw-remove-unused-function branch January 20, 2024 20:14
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