[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 4f0a651 16/51: hproperty:but-flash-time - rev
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole 4f0a651 16/51: hproperty:but-flash-time - revert value from 0.05 back to 1000 |
Date: |
Sun, 12 Jul 2020 18:10:10 -0400 (EDT) |
branch: externals/hyperbole
commit 4f0a6518e571b7eb2217910ed61ff5146b2ee925
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>
hproperty:but-flash-time - revert value from 0.05 back to 1000
---
Changes | 10 ++++++++++
hpath.el | 2 +-
hui-em-but.el | 6 +++---
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/Changes b/Changes
index 6b6c253..8d2e8a4 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,13 @@
+2020-01-29 Bob Weiner <rsw@gnu.org>
+
+* hpath.el (hpath:markup-link-anchor-regexp): Prevent matches to files like:
".#a.org"
+
+* hui-em-but.el (hproperty:but-flash, hproperty:but-flash-time): Revert this
value back to 1000
+ since users may have previously customized values that loading Hyperbole
does not override.
+ Revert logic to using this to compute number of fractional seconds to
flash a button. Prior
+ change caused a mistaken wait of 1000 seconds since user customization
value was not replaced
+ by loading Hyperbole
+
2020-01-25 Bob Weiner <rsw@gnu.org>
* hactypes.el (link-to-ibut): Handled null 'defaults' when called
interactively; needed when
diff --git a/hpath.el b/hpath.el
index 0009663..7092db3 100644
--- a/hpath.el
+++ b/hpath.el
@@ -503,7 +503,7 @@ use with `string-match'.")
"Regexp that matches to a Markdown file suffix.")
(defconst hpath:markup-link-anchor-regexp
- "\\`\\(#?[^#]+\\)?\\(#\\)\\([^\]\[#^{}<>\"`'\\\n\t\f\r]*\\)"
+ "\\`\\(#?[^#]*[^#.]\\)?\\(#\\)\\([^\]\[#^{}<>\"`'\\\n\t\f\r]*\\)"
"Regexp that matches a markup filename followed by a hash (#) and an
optional in-file anchor name.
Group 3 is the anchor name.")
diff --git a/hui-em-but.el b/hui-em-but.el
index 569b685..38e5294 100644
--- a/hui-em-but.el
+++ b/hui-em-but.el
@@ -57,9 +57,9 @@
:type 'boolean
:group 'hyperbole-buttons)
-(defcustom hproperty:but-flash-time 0.05
+(defcustom hproperty:but-flash-time 1000
"*Emacs button flash delay."
- :type 'float
+ :type '(integer :match (lambda (_widget value) (and (integerp value) (>
value 0))))
:group 'hyperbole-buttons)
(defcustom hproperty:item-highlight-color (hproperty:foreground)
@@ -353,7 +353,7 @@ highlighted."
(unwind-protect
(progn
(hproperty:set-but-face start hproperty:flash-face)
- (sit-for hproperty:but-flash-time)) ;; Force display update
+ (sit-for (/ hproperty:but-flash-time 10000.0))) ;; Force display
update
(hproperty:set-but-face start a)
(sit-for 0))) ;; Force display update
(if (and ibut (not prev)) (hproperty:but-delete start))))
- [elpa] externals/hyperbole updated (62a9db3 -> 7184b30), Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole e654a6d 02/51: Fail packaging when proper version number is missing, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 55a8009 05/51: Fail packaging when proper version number is missing, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 88e8aab 06/51: 7.0.8 test release: XML markup tag selection; global button renaming, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 62f3fd2 01/51: 7.0.7 test release: many changes, new logo; fixed def macros, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 7aa8e62 03/51: Merge pull request #20 from rswgnu/make-make-release-fail-on-wrong-version-number, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole cac90b5 10/51: Merge branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2020/07/12
- [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 <=
- [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, 2020/07/12
- [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