[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 68e68cd893 09/14: hyrolo.el (hyrolo-grep-file
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole 68e68cd893 09/14: hyrolo.el (hyrolo-grep-file) - Fix bug (gh#rswgnu/hyperbole/599) |
Date: |
Mon, 11 Nov 2024 03:58:24 -0500 (EST) |
branch: externals/hyperbole
commit 68e68cd893829f3c741c5a4df161022093a32d8e
Author: bw <rsw@gnu.org>
Commit: bw <rsw@gnu.org>
hyrolo.el (hyrolo-grep-file) - Fix bug (gh#rswgnu/hyperbole/599)
Don't set grepped file to read-only since this can later make
org-capture fail.
---
hyrolo.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hyrolo.el b/hyrolo.el
index 608875dd94..729d0570da 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 7-Jun-89 at 22:08:29
-;; Last-Mod: 13-Oct-24 at 15:37:40 by Bob Weiner
+;; Last-Mod: 3-Nov-24 at 09:37:58 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -1996,8 +1996,12 @@ Return number of matching entries found."
(setq incl-hdr nil
max-matches (- max-matches)))))
(set-buffer actual-buf)
- (when new-buf-flag
- (setq buffer-read-only t))
+
+ ;; Comment out next two lines that could set source buffer
+ ;; to read-only since this can break org-capture into the
+ ;; buffer. -- rsw, 2024-11-03
+ ;; (when new-buf-flag
+ ;; (setq buffer-read-only t))
(when (and headline-only
(not (string-match (concat "\\`\\(" (regexp-quote "^")
"\\|" (regexp-quote "\\`") "\\)") pattern)))
- [elpa] externals/hyperbole 4571614bc5 11/14: Merge branch 'master' into make-comment-work-as-an-info-ibut, (continued)
- [elpa] externals/hyperbole 4571614bc5 11/14: Merge branch 'master' into make-comment-work-as-an-info-ibut, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 742ccea3ff 13/14: Merge branch 'master' into rsw, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 2ec382cdaf 03/14: Add test case for verifying property is updated on edit, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole aecb4ec856 06/14: Revert "Use plain star wildcard and add a test", ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 1dd924149f 05/14: Handle hooks to mimic redisplay behavior, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 74e7c4eb4e 07/14: make comment text into an ibut, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 9f2eff61f2 10/14: Merge pull request #600 from rswgnu/add-more-hywiki-tests, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 498f28757c 12/14: Merge pull request #601 from rswgnu/make-comment-work-as-an-info-ibut, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 8a5b3e2327 01/14: Add hywiki-word-is-p test, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 9ebfcfe2e3 14/14: Merge pull request #602 from rswgnu/rsw, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 68e68cd893 09/14: hyrolo.el (hyrolo-grep-file) - Fix bug (gh#rswgnu/hyperbole/599),
ELPA Syncer <=
- [elpa] externals/hyperbole a535696bb4 08/14: Support latest Treemacs and HyWiki page navigation with it, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole 12d84d101f 04/14: Call hook function explicitly to simulate interactive use, ELPA Syncer, 2024/11/11
- [elpa] externals/hyperbole c98bdbf501 02/14: Use plain star wildcard and add a test, ELPA Syncer, 2024/11/11