Skip to content

Commit 62a9db3

Browse files
committed
7.0.6 test release: many changes, new logo; ibtypes speedups
1 parent 966628e commit 62a9db3

21 files changed

+132
-76
lines changed

Changes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
2019-09-17 Bob Weiner <rsw@gnu.org>
22

3+
* hui.el (hui:action):
4+
hui-mini.el (hui:menu-item):
5+
hibtypes.el (hyp-source):
6+
hargs.el (hargs:at-p):
7+
hyrolo-logic.el (hyrolo-map-logic):
8+
hyrolo.el (hyrolo-grep-file): Undo adding second arg t to prin1-to-string
9+
call (meant to prevent string properties output) since has side effect
10+
of removing needed quote marks and changes the way buffers print which
11+
causes (hyp-source) matches to fail.
12+
313
* hpath.el (hpath:to-line): Added and used in hpath:find and hpath:find-line.
414
(hpath:find-line): Changed to save-restriction when move.
515
(hpath:shell-modes): Added and used in hpath:to-markup-anchor.

HY-ABOUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Designed and Written by Bob Weiner
44
Maintained by Mats Lidell and Bob Weiner
55
https://www.gnu.org/software/hyperbole/
6-
Version 7.0.5
6+
Version 7.0.6
77

88
Say thanks if you like Hyperbole:
99
https://saythanks.io/to/rswgnu

HY-NEWS

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
by Bob Weiner
33

44
===========================================================================
5-
* V7.0.5
5+
* V7.0.6
66
===========================================================================
77

88
BUTTONS
@@ -32,15 +32,16 @@
3232
debugger-source: Jump to the source of errors from the Python pytype package
3333
ipython-stack-frame: Jump to the source of ipython stack traces and exceptions
3434

35-
- Must Faster Implicit Buttons: Major speedup in implicit button identification
36-
and activation even with the new generalized Action Button syntax thanks to
37-
internal optimizations.
35+
- Much Faster Implicit Buttons: Major speedup in implicit button identification
36+
and activation even with the new generalized Action implicit button type
37+
syntax, due to internal optimizations.
3838

3939
- Pathname implicit buttons now flash when activated.
4040

4141
- Pathname implicit buttons may contain both link anchors and line and column
4242
numbers. Link anchors now work for shell script editing modes as well
43-
using comment lines as anchors.
43+
using comment lines as anchors. Format is:
44+
"<path>[#<link-anchor>]:<line-num>[:<col-num>]"
4445

4546
- Variables in paths no longer require a trailing directory separator.
4647
Both of these are live Hyperbole paths:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
# This ver setup won't work under any make except GNU make, so set it manually.
6565
#HYPB_VERSION = "`head -3 hversion.el | tail -1 | sed -e 's/.*|\(.*\)|.*/\1/'`"
66-
HYPB_VERSION = 7.0.5
66+
HYPB_VERSION = 7.0.6
6767

6868
# Emacs executable used to byte-compile .el files into .elc's.
6969
# Possibilities include: emacs, infodock, etc.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GNU Hyperbole 7.0.5 - The Everyday Hypertextual Information Manager
1+
# GNU Hyperbole 7.0.6 - The Everyday Hypertextual Information Manager
22

33
[Say thanks if you like Hyperbole.(https://saythanks.io/to/rswgnu)]
44

README.md.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1>
2-
<a id="user-content-gnu-hyperbole-705---the-everyday-hypertextual-information-manager" class="anchor" href="#gnu-hyperbole-705---the-everyday-hypertextual-information-manager" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>GNU Hyperbole 7.0.5 - The Everyday Hypertextual Information Manager</h1>
2+
<a id="user-content-gnu-hyperbole-706---the-everyday-hypertextual-information-manager" class="anchor" href="#gnu-hyperbole-706---the-everyday-hypertextual-information-manager" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>GNU Hyperbole 7.0.6 - The Everyday Hypertextual Information Manager</h1>
33
<p>[Say thanks if you like Hyperbole.(<a href="https://saythanks.io/to/rswgnu" rel="nofollow">https://saythanks.io/to/rswgnu</a>)]</p>
44

55
<p><strong>Table of Contents</strong></p>

hargs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Handles all of the interactive argument types that `hargs:iform-read' does."
392392
(t node)))))
393393
((eq hargs:reading-p 'mail)
394394
(and (hmail:reader-p) buffer-file-name
395-
(prin1-to-string (list (rmail:msg-id-get) buffer-file-name) t)))
395+
(prin1-to-string (list (rmail:msg-id-get) buffer-file-name))))
396396
((eq hargs:reading-p 'symbol)
397397
(let ((sym (hargs:find-tag-default)))
398398
(if (or (fboundp sym) (boundp sym)) sym)))

hbut.el

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -872,15 +872,16 @@ With optional FULL when source is a pathname, the full pathname is returned."
872872
buffer-file-name
873873
(file-name-nondirectory buffer-file-name)))
874874
;; Handle any preceding @loc hyp-source implicit button location references.
875-
;; This is used in report buffers of explicit buttons, i.e. hui:hbut-report.
875+
;; This is used in report buffers of explicit buttons, i.e. hui:hbut-report
876+
;; and the *Rolo* output buffer.
876877
((save-excursion
877878
(save-restriction
878879
(widen)
879880
(end-of-visible-line)
880-
(if (and (search-backward hbut:source-prefix nil t)
881-
(or (memq (preceding-char) '(?\n ?\r))
882-
(= (point) (point-min))))
883-
(hbut:source full)))))
881+
(when (and (search-backward hbut:source-prefix nil t)
882+
(or (memq (preceding-char) '(?\n ?\r))
883+
(= (point) (point-min))))
884+
(hbut:source full)))))
884885
(t (current-buffer)))))
885886
(hbut:key-src-set-buffer src)))
886887

hibtypes.el

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,12 +1177,13 @@ report buffer behaves the same as the corresponding button in the
11771177
original DEMO file."
11781178
(save-excursion
11791179
(beginning-of-line)
1180-
(if (looking-at hbut:source-prefix)
1181-
(let ((src (hbut:source)))
1182-
(if src
1183-
(progn (if (not (stringp src)) (setq src (prin1-to-string src t)))
1184-
(ibut:label-set src (point) (progn (end-of-line) (point)))
1185-
(hact 'hyp-source src)))))))
1180+
(when (looking-at hbut:source-prefix)
1181+
(let ((src (hbut:source)))
1182+
(when src
1183+
(unless (stringp src)
1184+
(setq src (prin1-to-string src)))
1185+
(ibut:label-set src (point) (progn (end-of-line) (point)))
1186+
(hact 'hyp-source src))))))
11861187

11871188
;;; ========================================================================
11881189
;;; Executes an angle bracket delimited Hyperbole action, Elisp

hui-mini.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ constructs. If not given, the top level Hyperbole menu is used."
309309
help-str
310310
(concat (car label-act-help-list) "\n "
311311
help-str "\n Action: "
312-
(prin1-to-string act-form t))))
312+
(prin1-to-string act-form))))
313313
act-form)))))
314314

315315
(defun hui:menu-line (menu-alist)

hui.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ See also documentation for `hui:link-possible-types'."
615615
(let* ((act) (act-str)
616616
(params (actype:params actype))
617617
(params-no-keywords (actype:param-list actype))
618-
(params-str (and params (concat " " (prin1-to-string params t))))
618+
(params-str (and params (concat " " (prin1-to-string params))))
619619
)
620620
(while (progn
621621
(while (and (setq act-str

hversion.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
;;; Public variables
2424
;;; ************************************************************************
2525

26-
(defconst hyperb:version "7.0.5" "GNU Hyperbole revision number.")
26+
(defconst hyperb:version "7.0.6" "GNU Hyperbole revision number.")
2727

2828
;;;###autoload
2929
(defvar hyperb:microsoft-os-p

hyperbole.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;; Maintainer: Bob Weiner <rsw@gnu.org>, Mats Lidell <matsl@gnu.org>
77
;; Created: 06-Oct-92 at 11:52:51
88
;; Released: 27-Aug-19
9-
;; Version: 7.0.5
9+
;; Version: 7.0.6
1010
;; Keywords: comm, convenience, files, frames, hypermedia, languages, mail, matching, mouse, multimedia, outlines, tools, wp
1111
;; Package: hyperbole
1212
;; Package-Requires: ((emacs "24.4"))
@@ -472,7 +472,7 @@ With optional ARG, override them iff ARG is positive."
472472
;; ;; nothing more need be done.
473473
;; (if (byte-code-function-p func)
474474
;; (delq nil (mapcar (lambda (item) (eq item 'apply)) (aref func 2)))
475-
;; (string-match "(apply " (prin1-to-string func t)))))
475+
;; (string-match "(apply " (prin1-to-string func)))))
476476

477477
;; (unless (hyperb:package-autoloads-subdirectories-p)
478478
;; ;; Function is not patched, so define it here, call it, and then load

hyrolo-logic.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ of applications of SEXP that matched entries."
197197
hbut:source-prefix
198198
"@loc> ")
199199
"%s")
200-
(prin1-to-string src t))))
200+
(prin1-to-string src))))
201201
(set-buffer display-buf)
202202
(goto-char (point-max))
203203
(if hdr-pos

hyrolo.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ Returns number of matching entries found."
10781078
hbut:source-prefix
10791079
"@loc> ")
10801080
"%s")
1081-
(prin1-to-string src t))))
1081+
(prin1-to-string src))))
10821082
(set-buffer hyrolo-display-buffer)
10831083
(goto-char (point-max))
10841084
(if hdr-pos

kotl/kotl-autoloads.el

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@
22
;;
33
;;; Code:
44

5+
6+
;;;### (autoloads nil "kcell" "kcell.el" (0 0 0 0))
7+
;;; Generated autoloads from kcell.el
8+
9+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kcell" '("kcell")))
10+
11+
;;;***
512

613
;;;### (autoloads nil "kexport" "kexport.el" (0 0 0 0))
714
;;; Generated autoloads from kexport.el
815

916
(autoload 'kexport:html "kexport" "\
1017
Export a koutline buffer or file in EXPORT-FROM to html format in OUTPUT-TO.
11-
By default, this retains newlines within cells as they are. With optional prefix arg, SOFT-NEWLINES-FLAG,
18+
By default, this retains newlines within cells as they are. With optional prefix arg, SOFT-NEWLINES-FLAG,
1219
hard newlines are not used. Also converts Urls and Klinks into Html hyperlinks.
1320
STILL TODO:
1421
Make delimited pathnames into file links (but not if within klinks).
@@ -20,7 +27,7 @@ STILL TODO:
2027

2128
;;;***
2229

23-
;;;### (autoloads nil "kfile" "kfile.el" (22412 20800 0 0))
30+
;;;### (autoloads nil "kfile" "kfile.el" (0 0 0 0))
2431
;;; Generated autoloads from kfile.el
2532

2633
(autoload 'kfile:find "kfile" "\
@@ -39,12 +46,14 @@ View an existing kotl version-2 file FILE-NAME in a read-only mode.
3946
4047
\(fn FILE-NAME)" t nil)
4148

49+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kfile" '("kfile:")))
50+
4251
;;;***
4352

4453
;;;### (autoloads nil "kfill" "kfill.el" (0 0 0 0))
4554
;;; Generated autoloads from kfill.el
4655

47-
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kfill" '("fill-paragraph" "kfill:" "prior-fill-prefix" "set-fill-prefix")))
56+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kfill" '("kfill:" "set-fill-prefix" "prior-fill-prefix")))
4857

4958
;;;***
5059

@@ -64,12 +73,12 @@ and a buffer/file into which to insert the imported elements and a third
6473
optional argument, CHILDREN-P, which when non-nil means insert imported cells
6574
as the initial set of children of the current cell, if any.
6675
67-
outline-mode - imported as an Emacs outline whose entries begin with
68-
asterisks;
76+
`outline-mode' - imported as an Emacs outline whose entries begin with
77+
asterisks;
6978
.kot
70-
.kotl - imported as a structured koutline
79+
.kotl - imported as a structured koutline
7180
72-
all others - imported as text.")
81+
all others - imported as text.")
7382

7483
(defvar kimport:suffix-alist '(("\\.otl$" . kimport:star-outline) ("\\.aug$" . kimport:aug-post-outline)) "\
7584
Alist of (buffer-name-suffix-regexp . importation-function) elements.
@@ -142,11 +151,18 @@ copied since there is no need to copy it to import it.
142151
143152
\(fn SOURCE)" nil nil)
144153

145-
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kimport" '(#("kimport:" 0 8 (fontified nil)))))
154+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kimport" '("kimport:")))
155+
156+
;;;***
157+
158+
;;;### (autoloads nil "klabel" "klabel.el" (0 0 0 0))
159+
;;; Generated autoloads from klabel.el
160+
161+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "klabel" '("kotl-label:" "klabel")))
146162

147163
;;;***
148164

149-
;;;### (autoloads nil "klink" "klink.el" (22481 28335 0 0))
165+
;;;### (autoloads nil "klink" "klink.el" (0 0 0 0))
150166
;;; Generated autoloads from klink.el
151167

152168
(autoload 'klink:create "klink" "\
@@ -156,13 +172,22 @@ See documentation for `kcell:ref-to-id' for valid cell-ref formats.
156172
157173
\(fn REFERENCE)" t nil)
158174

175+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "klink" '("klink" "link-to-kotl")))
176+
159177
;;;***
160178

161179
;;;### (autoloads nil "kmenu" "kmenu.el" (0 0 0 0))
162180
;;; Generated autoloads from kmenu.el
163181

164182
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kmenu" '("id-" "kotl-")))
165183

184+
;;;***
185+
186+
;;;### (autoloads nil "knode" "knode.el" (0 0 0 0))
187+
;;; Generated autoloads from knode.el
188+
189+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "knode" '("knode:")))
190+
166191
;;;***
167192

168193
;;;### (autoloads nil "kotl-mode" "kotl-mode.el" (0 0 0 0))
@@ -216,6 +241,13 @@ Signal an error if current buffer is not a Hyperbole outline, else return t.
216241

217242
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kotl-mode" '("delete-selection-pre-hook" "kotl-mode" "yank-")))
218243

244+
;;;***
245+
246+
;;;### (autoloads nil "kprop-xe" "kprop-xe.el" (0 0 0 0))
247+
;;; Generated autoloads from kprop-xe.el
248+
249+
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "kprop-xe" '("kproperty:")))
250+
219251
;;;***
220252

221253
;;;### (autoloads nil "kview" "kview.el" (0 0 0 0))
@@ -232,8 +264,7 @@ Signal an error if current buffer is not a Hyperbole outline, else return t.
232264

233265
;;;***
234266

235-
;;;### (autoloads nil nil ("kcell.el" "klabel.el" "knode.el" "kprop-em.el"
236-
;;;;;; "kprop-xe.el" "kproperty.el") (0 0 0 0))
267+
;;;### (autoloads nil nil ("kprop-em.el" "kproperty.el") (0 0 0 0))
237268

238269
;;;***
239270

0 commit comments

Comments
 (0)