[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 31d77e4dce 10/12: Merge pull request #649 fro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole 31d77e4dce 10/12: Merge pull request #649 from rswgnu/rsw |
Date: |
Sun, 19 Jan 2025 06:58:16 -0500 (EST) |
branch: externals/hyperbole
commit 31d77e4dceb3f70d4f11ee6a4c0dd6cd718d6322
Merge: 03d01f070d 6ad399d799
Author: Robert Weiner <rsw@gnu.org>
Commit: GitHub <noreply@github.com>
Merge pull request #649 from rswgnu/rsw
hywiki.el - Fix WikiWord:L2:C3 not highlighting properly
---
ChangeLog | 4 ++++
hywiki.el | 9 ++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3eabe69052..1e70044648 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2025-01-18 Bob Weiner <rsw@gnu.org>
+* hywiki.el (hywiki-get-referent-hasht): Fix when building
+ 'hywiki--any-wikiword-regexp-list', allow for either or both #section
+ and :Lnum:Cnum. This fixes not highlighting "WikiWord:L2".
+
* hyrolo.el (hyrolo-refresh-file-list): Add to refresh internal expanded list
of HyRolo search files.
test/hyrolo-tests.el (hyrolo-tests--get-file-list): Fix this test by using
diff --git a/hywiki.el b/hywiki.el
index 38a0ee80d4..41ed33b886 100644
--- a/hywiki.el
+++ b/hywiki.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 21-Apr-24 at 22:41:13
-;; Last-Mod: 18-Jan-25 at 22:17:01 by Bob Weiner
+;; Last-Mod: 18-Jan-25 at 23:45:34 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -458,7 +458,7 @@ non-# and non-whitespace characters.")
Group 4 is the optional 0-based column number.")
(defconst hywiki-word-with-optional-suffix-regexp
- (concat hywiki-word-regexp hywiki-word-section-regexp "?"
+ (concat hywiki-word-regexp hywiki-word-section-regexp "??"
hywiki-word-line-and-column-numbers-regexp "?")
"Regexp for a HyWiki word with an optional #section, :Lline-num, :Ccol-num.
Section may not contain whitespace or square brackets. Use '-' to
@@ -485,7 +485,7 @@ Group 6 is any optional 0-based column number to jump to
for any
file-based referents.")
(defconst hywiki-word-with-optional-suffix-exact-regexp
- (concat "\\`" hywiki-word-regexp "\\(#[^][\n\r\f]+\\)?"
+ (concat "\\`" hywiki-word-regexp "\\(#[^][\n\r\f]+\\)??"
hywiki-word-line-and-column-numbers-regexp "?\\'")
"Exact match regexp for a HyWiki word with an optional #section.
The section may contain spaces or tabs but not square brackets;
@@ -2246,8 +2246,7 @@ regexps of wikiwords, if the hash table is out-of-date."
(delq nil (nconc wikiword-sublist
(mapcar
#'hywiki-get-plural-wikiword wikiword-sublist))))
(concat (regexp-opt wikiword-sublist 'words)
- "\\("
- hywiki-word-section-regexp "?\\)"
+ "\\(" hywiki-word-section-regexp "??"
hywiki-word-line-and-column-numbers-regexp "?" "\\)"
hywiki--buttonize-character-regexp))
(hypb:split-seq-into-sublists
(hash-map #'cdr hywiki--referent-hasht) 25)))
- [elpa] externals/hyperbole updated (7e3bb0f41f -> cbbf963a9f), ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole 5c7377623c 01/12: Verify creation of pages and movement to pages, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole f426f97990 02/12: Use name hywikiword for WikiWord prefixed with hy:, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole bb5879cf3b 07/12: hyrolo.el - Add `hyrolo-refresh-file-list' and fix test with it, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole 31d77e4dce 10/12: Merge pull request #649 from rswgnu/rsw,
ELPA Syncer <=
- [elpa] externals/hyperbole 670b4f649f 03/12: Unset hywiki-mode after test, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole 70722ec55d 04/12: Add test for WikiWords with line and column specifiers, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole d3103e8e1c 05/12: hywiki.el - Fix many referent issues and dehighlighting WikiWords, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole 15c798e360 06/12: Merge pull request #647 from rswgnu/rsw, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole 6ad399d799 09/12: hywiki.el - Fix WikiWord:L2:C3 not highlighting properly, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole cbbf963a9f 12/12: Merge pull request #635 from rswgnu/verify-creation-of-and-movement-to-pages, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole 03d01f070d 08/12: Merge pull request #648 from rswgnu/rsw, ELPA Syncer, 2025/01/19
- [elpa] externals/hyperbole f656f52dbe 11/12: Merge branch 'master' into verify-creation-of-and-movement-to-pages, ELPA Syncer, 2025/01/19