Skip to content

Commit cb7827c

Browse files
committed
Swapping buffer improvements; handle grep lines with null separators
1 parent a9ce82a commit cb7827c

17 files changed

Lines changed: 715 additions & 78 deletions

Changes

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
2020-02-16 Bob Weiner <rsw@gnu.org>
22

3+
* Published 7.0.9 test release.
4+
5+
* hibtypes.el (grep-msg): Fixed handling files names with spaces followed by a null character rather than a
6+
colon as a separator. Note that the null is set to visibly display as a colon in Emacs.
7+
hpath.el (hpath:tramp-file-name-regexp): Don't match if a control char is found, notably a null (ASCII 0).
8+
These can appear in grep expressions where filenames followed by colons may be confused as remote paths.
9+
10+
* man/hyperbole.texi (Swapping Buffers):
11+
DEMO (Swapping Buffers): Added swapping buffers between frames.
12+
13+
* hycontrol.el (hycontrol-window-swap-buffers): Fixed so current buffer remains the same but selected window
14+
changes.
15+
(hycontrol-frame-swap-buffers): Fixed so current buffer remains the same but selected frame
16+
changes. Also made this work anytime there are two or more frames regardless of how many windows in each.
17+
(hycontrol-frames-mode-map): {~} removed secondary call of hycontrol-window-swap-buffers.
18+
(hycontrol-windows-mode-map): {~} removed secondary call of hycontrol-frame-swap-buffers.
19+
320
* man/hyperbole.texi (Renaming, Global Key Bindings):
421
hyperbole.el (hkey-initialize):
522
hui-mini.el (hui:menus):
@@ -23,7 +40,9 @@
2340
handles drags from a window to a modeline, since otherwise will catch drags from a modeline that
2441
may move a frame.
2542
(hmouse-drag-p): Added to test whether absolute depress and release positions differ.
26-
(hmouse-release-left-edge, hmouse-release-right-edge): Removed XEmacs code.
43+
44+
* hui-menu.el (hyperbole-menubar-menu): Removed set-menubar-dirty-flag call.
45+
(hmouse-release-left-edge, hmouse-release-right-edge): Removed XEmacs code.
2746

2847
* hkey-help.txt:
2948
hmouse-drv.el (action-key-depress, assist-key-depress):
@@ -190,7 +209,7 @@
190209
release when first uploading it.
191210

192211
==============================================================================
193-
V7.0.9 changes ^^^^:
212+
V7.0.9 test release changes ^^^^:
194213
==============================================================================
195214

196215
2020-01-20 Bob Weiner <rsw@gnu.org>

DEMO

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,8 @@ Boom, the buffers are swapped. This works across frames as well.
13741374
If you have just two windows in an Emacs frame, you can swap their buffers
13751375
from the keyboard. Use this Hyperbole minibuffer menu key sequence to swap
13761376
the buffers and quit from the Hyperbole minibuffer menu: {C-h h s w ~ Q}.
1377+
Similarly, if you have two single window frames, you can swap buffers between
1378+
them with {C-h h s f ~ Q}.
13771379

13781380
*** Displaying Buffers
13791381

@@ -1391,10 +1393,11 @@ split before the buffer is displayed.
13911393
You can do the same thing with items in dired, buffer menu and ibuffer menu
13921394
listing buffers rather than buffers themselves. Drag with the Action Mouse Key
13931395
and the selected item will be displayed in any Emacs window in which you
1394-
release. Drag outside Emacs and it will be displayed in a new frame. To
1395-
display the last item you want, press the Action Key on it and it will display
1396-
within the listing window itself. (If you use the Treemacs file viewer package,
1397-
item dragging works there as well).
1396+
release. To display the last item you want, press the Action Key on it and it
1397+
will display within the listing window itself. (If you use the Treemacs file
1398+
viewer package, item dragging works there as well). Under the MacOS window
1399+
manager, you can also drag outside of an Emacs frame and the item will be
1400+
displayed in a newly created and selected frame.
13981401

13991402
So now you can rapidly put a bunch of buffers and files on your screen wherever
14001403
you like. Typically, a brief visual pulse is shown first at the source item and
@@ -1418,12 +1421,11 @@ buffer with that of another window, use M-o r <window-id>. To instead swap the
14181421
selected window's buffer with that of another window, use M-o m <window-id>.
14191422
Try these commands out and they will speed your work.
14201423

1421-
You can also throw the active (highlighted) region of text to another
1422-
window. Simply activate a region and then use M-o t <window-id> just
1423-
like before. If you don't use region highlighting,
1424-
i.e. transient-mark-mode, then use C-u M-o t <window-id> for the same
1425-
effect. The buffer in the target window must differ from the one in
1426-
the source window. With no region active, this command throws
1424+
You can also throw the active (highlighted) region of text to another window.
1425+
Simply activate a region and then use M-o t <window-id> just like before. If
1426+
you don't use region highlighting, i.e. transient-mark-mode, then use C-u M-o t
1427+
<window-id> for the same effect. The buffer in the target window must differ
1428+
from the one in the source window. With no region active, this command throws
14271429
the source buffer to the target window.
14281430

14291431
*** Cloning Windows

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.8
6+
Version 7.0.9
77

88
Say thanks or send a testimonial if you like Hyperbole:
99
Email: <rsw@gnu.org>

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.8
66+
HYPB_VERSION = 7.0.9
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.8 - The Everyday Hypertextual Information Manager
1+
# GNU Hyperbole 7.0.9 - The Everyday Hypertextual Information Manager
22

33
[Say thanks or send a testimonial if you like Hyperbole.(mailto:rsw@gnu.org)]
44

0 commit comments

Comments
 (0)