Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
2026-06-28 Bob Weiner <rsw@gnu.org>

* hywiki.el (hywiki-include-special-modes): Add HyWiki support in csv,
GNUS, mh, mu4e and rmail modes.

* hpath.el (hpath:delimited-possible-path): Fix 'char-syntax' comparison
to compare current char's syntax against the punctuation char, not
the char-syntax of the punctuation char.

* test/hui-tests.el (hui--hbut-act--links): Add for testing that ilinks,
elinks and glinks do not confuse each others referents.

Expand Down
4 changes: 2 additions & 2 deletions hpath.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 1-Nov-91 at 00:44:23
;; Last-Mod: 28-Jun-26 at 14:18:59 by Bob Weiner
;; Last-Mod: 28-Jun-26 at 16:52:07 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
Expand Down Expand Up @@ -1189,7 +1189,7 @@ end-pos) or nil."
(when (and (stringp p) (not (string-match-p "\\`{.*}\\'\\|\"\\|\\`[/\\]+\\'" p))
(delq nil (mapcar (lambda (c)
(or (memq c '(?~ ?. ?/ ?* ?? ?\\))
(/= (char-syntax ?.) (char-syntax c))))
(/= (char-syntax c) ?.)))
p)))
;; Prepend proper directory from cd, ls *, recursive ls or dir file
;; listings when needed.
Expand Down
11 changes: 9 additions & 2 deletions hywiki.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 21-Apr-24 at 22:41:13
;; Last-Mod: 27-Jun-26 at 18:45:09 by Bob Weiner
;; Last-Mod: 28-Jun-26 at 18:53:13 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
Expand Down Expand Up @@ -326,7 +326,14 @@ included in the list, `hywiki-include-special-modes'."
:group 'hyperbole-hywiki)

(defcustom hywiki-include-special-modes
'(elfeed-search-mode elfeed-show-mode eww-mode kotl-mode)
'(csv-mode
elfeed-search-mode elfeed-show-mode
eww-mode
gnus-article-edit-mode gnus-article-mode
kotl-mode
mh-letter-mode mh-show-mode
mu4e-headers-mode mu4e-main-mode
rmail-edit-mode rmail-mode)
"List of `special' major modes with HyWikiWord highlighting and recognition.
By default, all special modes, like Dired, are excluded. A major mode
included here will override its inclusion in `hywiki-exclude-major-modes'."
Expand Down