Skip to content

Commit

Permalink
Swapping buffer improvements; handle grep lines with null separators
Browse files Browse the repository at this point in the history
  • Loading branch information
rswgnu committed Feb 16, 2020
1 parent a9ce82a commit cb7827c
Show file tree
Hide file tree
Showing 17 changed files with 715 additions and 78 deletions.
23 changes: 21 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
2020-02-16 Bob Weiner <[email protected]>

* Published 7.0.9 test release.

* hibtypes.el (grep-msg): Fixed handling files names with spaces followed by a null character rather than a
colon as a separator. Note that the null is set to visibly display as a colon in Emacs.
hpath.el (hpath:tramp-file-name-regexp): Don't match if a control char is found, notably a null (ASCII 0).
These can appear in grep expressions where filenames followed by colons may be confused as remote paths.

* man/hyperbole.texi (Swapping Buffers):
DEMO (Swapping Buffers): Added swapping buffers between frames.

* hycontrol.el (hycontrol-window-swap-buffers): Fixed so current buffer remains the same but selected window
changes.
(hycontrol-frame-swap-buffers): Fixed so current buffer remains the same but selected frame
changes. Also made this work anytime there are two or more frames regardless of how many windows in each.
(hycontrol-frames-mode-map): {~} removed secondary call of hycontrol-window-swap-buffers.
(hycontrol-windows-mode-map): {~} removed secondary call of hycontrol-frame-swap-buffers.

* man/hyperbole.texi (Renaming, Global Key Bindings):
hyperbole.el (hkey-initialize):
hui-mini.el (hui:menus):
Expand All @@ -23,7 +40,9 @@
handles drags from a window to a modeline, since otherwise will catch drags from a modeline that
may move a frame.
(hmouse-drag-p): Added to test whether absolute depress and release positions differ.
(hmouse-release-left-edge, hmouse-release-right-edge): Removed XEmacs code.

* hui-menu.el (hyperbole-menubar-menu): Removed set-menubar-dirty-flag call.
(hmouse-release-left-edge, hmouse-release-right-edge): Removed XEmacs code.

* hkey-help.txt:
hmouse-drv.el (action-key-depress, assist-key-depress):
Expand Down Expand Up @@ -190,7 +209,7 @@
release when first uploading it.

==============================================================================
V7.0.9 changes ^^^^:
V7.0.9 test release changes ^^^^:
==============================================================================

2020-01-20 Bob Weiner <[email protected]>
Expand Down
22 changes: 12 additions & 10 deletions DEMO
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,8 @@ Boom, the buffers are swapped. This works across frames as well.
If you have just two windows in an Emacs frame, you can swap their buffers
from the keyboard. Use this Hyperbole minibuffer menu key sequence to swap
the buffers and quit from the Hyperbole minibuffer menu: {C-h h s w ~ Q}.
Similarly, if you have two single window frames, you can swap buffers between
them with {C-h h s f ~ Q}.

*** Displaying Buffers

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

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

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

*** Cloning Windows
Expand Down
2 changes: 1 addition & 1 deletion HY-ABOUT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Designed and Written by Bob Weiner
Maintained by Mats Lidell and Bob Weiner
https://www.gnu.org/software/hyperbole/
Version 7.0.8
Version 7.0.9

Say thanks or send a testimonial if you like Hyperbole:
Email: <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

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

# Emacs executable used to byte-compile .el files into .elc's.
# Possibilities include: emacs, infodock, etc.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GNU Hyperbole 7.0.8 - The Everyday Hypertextual Information Manager
# GNU Hyperbole 7.0.9 - The Everyday Hypertextual Information Manager

[Say thanks or send a testimonial if you like Hyperbole.(mailto:[email protected])]

Expand Down
Loading

0 comments on commit cb7827c

Please sign in to comment.