[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole c565349 33/51: Fix entry addition which was f
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole c565349 33/51: Fix entry addition which was failing due to level handling change |
Date: |
Sun, 12 Jul 2020 18:10:15 -0400 (EDT) |
branch: externals/hyperbole
commit c565349f943e11c7776eb2a97f4a24a25eb52218
Author: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Commit: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Fix entry addition which was failing due to level handling change
---
hyrolo.el | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/hyrolo.el b/hyrolo.el
index 934d33d..b765c75 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -94,6 +94,7 @@ executable must be found as well (for Oauth security)."
(message "HyRolo Search List: %S" list))
list))
+(define-obsolete-variable-alias 'rolo-file-list 'hyrolo-file-list "06.00")
(defvar hyrolo-file-list (hyrolo-initialize-file-list)
"*List of files containing rolo entries.
The first file should be a user-specific rolo file, typically in the home
@@ -104,7 +105,6 @@ A hyrolo-file consists of:
hyrolo-hdr-regexp;
(2) one or more rolo entries which each begin with
hyrolo-entry-regexp and may be nested.")
-(define-obsolete-variable-alias 'rolo-file-list 'hyrolo-file-list "06.00")
(defcustom hyrolo-highlight-face nil
"*Face used to highlight rolo search matches."
@@ -243,16 +243,15 @@ entry which begins with the parent string."
(hyrolo-to-entry-end t entry-level-len)
(setq entry (buffer-substring-no-properties (point) (+ (point) len))
entry-spc (match-string-no-properties
hyrolo-entry-trailing-space-group-number))
- (cond ((string< entry name)
+ (cond ((string-lessp entry name)
(hyrolo-to-entry-end t entry-level-len))
- ((string< name entry)
+ ((string-lessp name entry)
(setq again nil) (beginning-of-line))
(t ;; found existing entry matching name
(setq again nil match t)))))
(setq buffer-read-only nil)
(unless match
- (insert (unless entry-level-len
- (concat level "*"))
+ (insert (concat level "*")
(if (string-equal entry-spc "") " " entry-spc)
name "\n")
(backward-char 1))
@@ -1447,8 +1446,7 @@ Calls the functions given by `hyrolo-mode-hook'.
;;
(set-syntax-table hyrolo-mode-syntax-table)
;;
- (if (not (fboundp 'outline-minor-mode))
- nil
+ (when (fboundp 'outline-minor-mode)
(outline-minor-mode 1))
(run-hooks 'hyrolo-mode-hook))
@@ -1456,9 +1454,9 @@ Calls the functions given by `hyrolo-mode-hook'.
;;; Private variables
;;; ************************************************************************
+(define-obsolete-variable-alias 'rolo-display-buffer 'hyrolo-display-buffer
"06.00")
(defvar hyrolo-display-buffer "*Hyperbole Rolo*"
"Buffer used to display set of last matching rolo entries.")
-(define-obsolete-variable-alias 'rolo-display-buffer 'hyrolo-display-buffer
"06.00")
(defvar hyrolo-entry-group-number 1
"Group number within `hyrolo-entry-regexp' whose length represents the level
of any entry matched.")
@@ -1466,13 +1464,13 @@ Calls the functions given by `hyrolo-mode-hook'.
(defvar hyrolo-entry-trailing-space-group-number 2
"Group number within `hyrolo-entry-regexp; containing trailing space.")
+(define-obsolete-variable-alias 'rolo-entry-regexp 'hyrolo-entry-regexp
"06.00")
(defvar hyrolo-entry-regexp "^\\(\\*+\\)\\([ \t]+\\)"
"Regular expression to match the beginning of a rolo entry.
This pattern must match the beginning of a line.
`hyrolo-entry-group-number' must capture the entry's level in the
hierarchy. `hyrolo-entry-trailing-space-group-number' must capture
the whitespace following the entry hierarchy level.")
-(define-obsolete-variable-alias 'rolo-entry-regexp 'hyrolo-entry-regexp
"06.00")
(defconst hyrolo-hdr-format
(concat
- [elpa] externals/hyperbole 0f8c29e 07/51: Merge branch 'master' of github.com:rswgnu/hyperbole, (continued)
- [elpa] externals/hyperbole 0f8c29e 07/51: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole d087a82 11/51: Fixes for 7.0.8 test release, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole fc7c511 15/51: Merge branch 'master' of hyperbole, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 4f0a651 16/51: hproperty:but-flash-time - revert value from 0.05 back to 1000, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole c30a718 18/51: Fix out-of-date imenu index after buffer changes, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 766ac22 04/51: Large commit of RSW changes, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 9e2b4ba 08/51: hui-select.el - remove require of kotl-mode; caused cyclical loads, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 8e6ea41 12/51: Fix ibut handling in programming modes; add button links to glossary, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole ad4dc9f 09/51: Makefile - add missing gzipped tar file dependency to 'ftp' target, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 0e1203c 32/51: Publish 7.1.0 test release, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole c565349 33/51: Fix entry addition which was failing due to level handling change,
Stefan Monnier <=
- [elpa] externals/hyperbole db4dd6c 13/51: Use float for delay instead of looping (#21), Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 5119a4c 17/51: hui-em-but.el: Properly highlight explicit buttons when loading, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 9a94a8f 19/51: Fix hproperty:item-highlight-color init error; add regional 'throw', Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 45fff9a 23/51: Many bug fixes and improvements, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 6e55a34 34/51: Fix ebut:get calls to send file as 3rd arg, not 2nd, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole b430d10 36/51: hpath:find: Was called with point in the source, not referent buffer, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 3d26ccb 40/51: Fix require of 'help-mode' instead of 'help' to remedy 'make bin', Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 56e88ca 47/51: Merge branch 'master' of hyperbole, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 2f52190 44/51: Koutliner: Add support for Emacs visual-line commands, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 2253ac2 50/51: V7.1.2 release, Stefan Monnier, 2020/07/12