|
| 1 | +2026-04-05 Bob Weiner <rsw@gnu.org> |
| 2 | + |
| 3 | +* hyrolo.el (hyrolo-hdr-to-first-line-p): Handle black lines and @loc> after |
| 4 | + two lines of 'hyrolo-hdr-regexp'. Move by visible lines. |
| 5 | + (hyrolo-outline-next-visible-heading): Fix moving when in a file |
| 6 | + hdr but not at the start of a line. Fix forward and backward movement |
| 7 | + when entries are hidden. |
| 8 | + (hyrolo-hdr-to-first-line-p, hyrolo-hdr-move-after-p): Return t |
| 9 | + only if point is left on a visible, non-hidden character to fix next |
| 10 | + and previous entry movement. |
| 11 | + (hyrolo-hdr-in-p): Rewrite with 'hyrolo-hdr-to-first-line-p' |
| 12 | + instead of 'hyrolo-hdr-move-after-p' since that can return nil when it |
| 13 | + leaves point at a hidden/invisible position. |
| 14 | + |
| 15 | +2026-04-04 Bob Weiner <rsw@gnu.org> |
| 16 | + |
| 17 | +* hyrolo.el (hyrolo-grep-file): Change to call 'hyrolo-set-display-buffer' |
| 18 | + to set display buffer as current. |
| 19 | + (hyrolo-set-display-buffer): Remove set and restore of major-mode; |
| 20 | + handle these separately so done only once per file processed. |
| 21 | + (hyrolo-set-display-buffer-mode): Add to separate from the above |
| 22 | + function. |
| 23 | + (hyrolo--cache-post-display-buffer): Rename to |
| 24 | + 'hyrolo--post-display-buffer' and set major mode. |
| 25 | + (hyrolo-cache-set-major-mode): Rename to |
| 26 | + 'hyrolo--pre-display-buffer' and leave out setting of major mode |
| 27 | + as that may come from the cache or from a current source buffer. |
| 28 | + (hyrolo-source-buffer): Add for quick access to the source buffer |
| 29 | + or file associated with (point) within the HyRolo display buffer. |
| 30 | + (hyrolo-grep-file): Rename 'actual-buf' to 'src-buf'. |
| 31 | + (defvar-local): Stop using since sets local values in buffers that |
| 32 | + do not use the variable. Use 'defvar' and 'setq-local' to set in a single |
| 33 | + buffer. |
| 34 | + (hyrolo-hdr-move-after-p): Fix to handle when point is not at the |
| 35 | + start of file header line but is within the header. |
| 36 | + (hyrolo-to-entry-beginning): Remove unneeded call to 'hyrolo-hdr-in-p'. |
| 37 | + (hyrolo-hdr-move-after-p): Remove duplicate (beginning-of-line) calls. |
| 38 | + (hyrolo-hdr-to-first-line-p): Return nil if point is at the start of |
| 39 | + the first line of a file header and therefore it doesn't move. Optimize and |
| 40 | + clarify cases. |
| 41 | + hui-mouse.el (smart-hyrolo): Fix to handle change in above function. |
| 42 | + |
| 43 | + |
| 44 | +2026-04-03 Bob Weiner <rsw@gnu.org> |
| 45 | + |
| 46 | +* hyrolo.el (hyrolo-cache-set-major-mode): Add setting of |
| 47 | + 'hyrolo-entry-regexp' when in 'markdown-mode'. Used in |
| 48 | + 'hyrolo-add-match'. |
| 49 | + |
| 50 | +* hproperty.el (hproperty:length): Add and use in HyRolo. |
| 51 | + |
1 | 52 | 2026-04-02 Mats Lidell <matsl@gnu.org> |
2 | 53 |
|
3 | 54 | * hsys-org.el (hsys-org-id-find-advice): Fix docstring has wrong usage |
4 | 55 | of unescaped single quotes and make first line a sentence. |
5 | 56 |
|
| 57 | +2026-03-31 Bob Weiner <rsw@gnu.org> |
| 58 | + |
| 59 | +* hyrolo.el (hyrolo-outline-next-visible-heading): Optimize performance in |
| 60 | + large files. |
| 61 | + (hyrolo-display-format-function, hyrolo-bbdb-entry-format): |
| 62 | + Change from a function of one arg, a HyRolo entry, to two args, start and |
| 63 | + end, the region to modify for display. |
| 64 | + (hyrolo-display-format): Define to avoid lambda creation on |
| 65 | + display of each HyRolo entry. |
| 66 | + (hyrolo-display-format-function): Use above function as value. |
| 67 | + (hyrolo-add-match): Rewrite to insert directly into display-buffer |
| 68 | + without generating Lisp-level strings. Also add :hyrolo-level = t property |
| 69 | + around any leading outline delimiter (excluding trailing whitespace) across |
| 70 | + all heading levels within a matching entry. For single line, non-delimited |
| 71 | + entries on the first char of the entry. Use this to speed movement between |
| 72 | + entries in the HyRolo match buffer. |
| 73 | + (hyrolo-cache-set-major-mode): Delay mode hooks since only using |
| 74 | + the mode to get 'outline-regexp' and these can be time-consuming. |
| 75 | + |
| 76 | +2026-03-30 Bob Weiner <rsw@gnu.org> |
| 77 | + |
| 78 | +* hyrolo.el (hyrolo-grep-file): Fix *word* at bol causing the search to |
| 79 | + get stuck. Always move at least one char past the end of an entry. |
| 80 | + (hyrolo-to-entry-end): Rewrite for speed by only moving past the |
| 81 | + header if at the beginning of the buffer. Remove lambda generation to |
| 82 | + eliminate function generation on every call. |
| 83 | + (hyrolo-next-match): Speed up a bit with local vars and add in-line |
| 84 | + comments to explain logic. |
| 85 | + |
6 | 86 | 2026-03-30 Mats Lidell <matsl@gnu.org> |
7 | 87 |
|
8 | 88 | * test/kotl-mode-tests.el (kotl-mode-split-cell): Use kotl-mode:kill-tree |
|
13 | 93 |
|
14 | 94 | 2026-03-29 Bob Weiner <rsw@gnu.org> |
15 | 95 |
|
| 96 | +* man/hyperbole.texi (Testing): Update from 200 to 660 automated test cases. |
| 97 | + |
16 | 98 | * hypb.el (hypb:in-string-cache): Move Private Variable definitions to precede |
17 | 99 | code so they are not referenced before they are defined. |
18 | 100 |
|
|
0 commit comments