[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 335441d 15/25: Fix that Action Key did not ex
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole 335441d 15/25: Fix that Action Key did not expand collapsed Koutline trees |
Date: |
Tue, 22 Sep 2020 10:29:28 -0400 (EDT) |
branch: externals/hyperbole
commit 335441dfce09c0f0c928a488e5cf5f2df00bc952
Author: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Commit: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Fix that Action Key did not expand collapsed Koutline trees
---
Changes | 11 +++++++++--
hyperbole.el | 10 ++++++----
kotl/kotl-mode.el | 6 ++++--
3 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/Changes b/Changes
index d0461ed..4570f3e 100644
--- a/Changes
+++ b/Changes
@@ -1,10 +1,17 @@
+2020-07-28 Bob Weiner <rsw@gnu.org>
+
+* kotl/kotl-mode.el (kotl-mode): Set outline-regexp so outline-on-heading-p and
+ smart-outline-subtree-hidden-p use it and the Action Key expands cells
properly.
+
+* hyperbole.el (outline-invisible-in-p): Fixed to detect if tree is collapsed
anywhere.
+
2020-07-27 Mats Lidell <matsl@gnu.org>
-* hui-dired-sidebar.el: Support for dired-sidebar added.
+* hui-dired-sidebar.el: Added support for dired-sidebar.
2020-07-26 Bob Weiner <rsw@gnu.org>
-* hibtypes.el (hsys-org): Move org links/refs to near top of priority list so
things
+* hibtypes.el (hsys-org): Moved org links/refs to near top of priority list so
things
like URLs embeded within Org links are handled by Org, not Hyperbole.
(markdown-follow-inline-link-p): Fixed to defer in-file links
with
point on the link title to the `pathname' ibtype since
diff --git a/hyperbole.el b/hyperbole.el
index bfbe6a1..8498706 100644
--- a/hyperbole.el
+++ b/hyperbole.el
@@ -594,10 +594,12 @@ If FLAG is nil then text is shown, while if FLAG is t the
text is hidden."
(defun outline-invisible-in-p (beg end)
"Return t if there is an invisible character between BEG and END, else
nil."
(catch 'result
- (delq nil (mapcar (lambda (o)
- (if (eq 'outline (overlay-get o 'invisible))
- (throw 'result t)))
- (overlays-in beg end))))))
+ (let ((p beg))
+ (while (< p end)
+ (when (eq (get-char-property p 'invisible) 'outline)
+ (throw 'result t))
+ (setq p (1+ p))))
+ nil)))
;;; ************************************************************************
;;; Message System Support Configuration
diff --git a/kotl/kotl-mode.el b/kotl/kotl-mode.el
index 3cf210b..36874b4 100644
--- a/kotl/kotl-mode.el
+++ b/kotl/kotl-mode.el
@@ -16,7 +16,7 @@
;;; Other required Lisp Libraries
;;; ************************************************************************
-(eval-and-compile (mapc #'require '(delsel hsettings hmail kfile kvspec
kcell)))
+(eval-and-compile (mapc #'require '(delsel hsettings hmail kfile kvspec kcell
outline)))
;;; ************************************************************************
;;; Public variables
@@ -86,6 +86,7 @@ It provides the following keys:
(mapc #'make-local-variable
'(kotl-previous-mode indent-line-function indent-region-function
outline-isearch-open-invisible-function
+ outline-regexp
line-move-ignore-invisible minor-mode-alist
selective-display-ellipses
paragraph-separate paragraph-start))
@@ -102,7 +103,8 @@ It provides the following keys:
minor-mode-alist)
;; Remove indication that buffer is narrowed.
mode-line-format (copy-sequence mode-line-format)
- mode-line-format (set:remove "%n" mode-line-format)))
+ mode-line-format (set:remove "%n" mode-line-format)
+ outline-regexp (concat " *[0-9][0-9a-z.]*"
kview:default-label-separator)))
;;
(if (fboundp 'add-to-invisibility-spec)
(add-to-invisibility-spec '(outline . t)))
- [elpa] externals/hyperbole 1cf5f3d 16/25: Allow Action Key to expand a tree when point is on the ellipsis, (continued)
- [elpa] externals/hyperbole 1cf5f3d 16/25: Allow Action Key to expand a tree when point is on the ellipsis, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 9e13b43 02/25: hui-select.el and hyperbole.el reformatting; no logic changes, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 42487cb 09/25: Temporarily disable helm-mode when executing a key series, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole f633365 17/25: Normalize committer email addresses, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 8ef773d 18/25: Add Action/Assist key support for magit modes, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 520ecae 19/25: Fix improper registering of a drag outside of Emacs when none, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 008182b 22/25: Fixes, Helm and Magit Smart Key support doc in prep. for 7.1.3, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 6f36320 08/25: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 97a4d80 10/25: Raise org-mode ibtype priority to near top; fix markdown # link activation, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 734c6a8 11/25: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 335441d 15/25: Fix that Action Key did not expand collapsed Koutline trees,
Stefan Monnier <=
- [elpa] externals/hyperbole 845119a 24/25: hib-social.el - Rename to hibtypes-git-use-magit-flag; make first ebut in file work without saving, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole d65920b 25/25: V7.1.3 - Improve key series, mouse handling and, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 3c0df00 12/25: Add support for dired-sidebar (#33), Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 21b2b1c 20/25: Use magit if available for git social button (#32), Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole b8fd1e8 23/25: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2020/09/22
- [elpa] externals/hyperbole 55a73f9 21/25: Add TALK subdirectory for upcoming talk on Hyperbole, Stefan Monnier, 2020/09/22