[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 6e55a34 34/51: Fix ebut:get calls to send fil
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole 6e55a34 34/51: Fix ebut:get calls to send file as 3rd arg, not 2nd |
Date: |
Sun, 12 Jul 2020 18:10:15 -0400 (EDT) |
branch: externals/hyperbole
commit 6e55a34ad0fb26008b847d28e104a3b9ad342e3f
Author: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Commit: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Fix ebut:get calls to send file as 3rd arg, not 2nd
---
.hypb | Bin 3248 -> 3226 bytes
Changes | 14 ++++++++++++++
hactypes.el | 5 +++--
hui.el | 13 +++++++------
4 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/.hypb b/.hypb
index 3075990..64db9c9 100644
Binary files a/.hypb and b/.hypb differ
diff --git a/Changes b/Changes
index 1fb4150..f4c4970 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,17 @@
+2020-02-27 Bob Weiner <rsw@gnu.org>
+
+* hui.el (hui:ebut-delete-op):
+hactypes.el (link-to-ebut): Fixed ebut:get call to send file as 3rd arg, not
2nd; now link-to-ebuts work.
+
+2020-02-26 Bob Weiner <rsw@gnu.org>
+
+* hyrolo.el (hyrolo-add): Removed conditional on entry-level-len when nil that
was causing an error during
+ adding of a record.
+
+==============================================================================
+V7.1.1 test release changes ^^^^:
+==============================================================================
+
2020-02-23 Bob Weiner <rsw@gnu.org>
* Published 7.1.0 test release.
diff --git a/hactypes.el b/hactypes.el
index 23bb070..b1ef7d7 100644
--- a/hactypes.el
+++ b/hactypes.el
@@ -284,7 +284,8 @@ This type of link is for use within a single editor
session. Use
"Perform action given by an explicit button, specified by KEY and optional
KEY-FILE.
KEY-FILE defaults to the current buffer's file name."
(interactive
- (let (but-file but-lbl)
+ (let (but-lbl
+ but-file)
(while (cond ((setq but-file
(read-file-name
"File of button to link to: " nil nil t))
@@ -311,7 +312,7 @@ KEY-FILE defaults to the current buffer's file name."
(setq normalized-file (hpath:normalize key-file)))
(setq normalized-file buffer-file-name))
- (if (setq but (and key-file (ebut:get key normalized-file)))
+ (if (setq but (and key-file (ebut:get key nil normalized-file)))
(hbut:act but)
(hypb:error "(link-to-ebut): No button `%s' in `%s'"
(ebut:key-to-label key)
diff --git a/hui.el b/hui.el
index e1222d0..e199f1d 100644
--- a/hui.el
+++ b/hui.el
@@ -19,6 +19,7 @@
(require 'hargs)
(require 'set)
(require 'hmail)
+(require 'hbut)
;;; ************************************************************************
;;; Public variables
@@ -197,12 +198,12 @@ Signal an error when no such button is found in the
current buffer."
(defun hui:ebut-rename (curr-label new-label)
"Rename explicit Hyperbole button given by CURR-LABEL to NEW-LABEL.
-If called interactively when point is not within an explicit button:
- prompt for old and new button label values and performs rename.
If called interactively when point is within an explicit button:
- save button label and tell user to edit label, then call again.
- second call changes the button's name from the stored value to the
- edited value.
+ save button label and tell user to: 1. edit label and 2. invoke this
+ same command again. The second invocation changes the button's name
+ from the stored value to the new value.
+If called interactively when point is not within an explicit button:
+ prompt for old and new button label values and perform rename.
Signal an error if any problem occurs."
(interactive
(save-excursion
@@ -760,7 +761,7 @@ within."
(if (if interactive
(ebut:delete)
(cond ((or (null key-src) (and (bufferp key-src) (setq buf key-src)))
- (setq ebut (ebut:get but-key key-src)))
+ (setq ebut (ebut:get but-key nil key-src)))
((and (stringp key-src)
(setq buf (find-file-noselect key-src)))
(setq ebut (ebut:get but-key buf)))
- [elpa] externals/hyperbole 766ac22 04/51: Large commit of RSW changes, (continued)
- [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
- [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 <=
- [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
- [elpa] externals/hyperbole 7184b30 51/51: Fix ibut:delete, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole 07c0664 21/51: Org-mode local binding of M-RET activates Hyperbole implicit buttons, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole f2a5c27 22/51: Fixed errors in using hyrolo-logic operators, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole ecc8f36 24/51: Smart Key live window resizing and frame dragging; auto-autoload gen, Stefan Monnier, 2020/07/12
- [elpa] externals/hyperbole cb7827c 26/51: Swapping buffer improvements; handle grep lines with null separators, Stefan Monnier, 2020/07/12