[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/hyperbole-merge-7.0.2b b7beb76 02/23: Fixed hkey-throw te
From: |
Stefan Monnier |
Subject: |
[elpa] scratch/hyperbole-merge-7.0.2b b7beb76 02/23: Fixed hkey-throw temporary display of a buffer in a new frame |
Date: |
Tue, 5 Feb 2019 16:11:18 -0500 (EST) |
branch: scratch/hyperbole-merge-7.0.2b
commit b7beb76e7acce94e7f0514d97a976c63a1549bb8
Author: Bob Weiner <address@hidden>
Commit: Bob Weiner <address@hidden>
Fixed hkey-throw temporary display of a buffer in a new frame
---
Changes | 25 +++++++++++++++++--------
hmouse-drv.el | 11 ++++++-----
2 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/Changes b/Changes
index 34d2859..5e947a2 100644
--- a/Changes
+++ b/Changes
@@ -1,15 +1,24 @@
+2017-12-15 Bob Weiner <address@hidden>
+
+* hmouse-drv.el (hkey-throw): Fully resolved temporary display of newly
created frames
+ with a (redisplay t) to force display of any window updates during the
temporary
+ display.
+
2017-12-13 Bob Weiner <address@hidden>
-* hmouse-drv.el (hkey-throw): Partially solved temporary display of newly
created frames (when not given focus
- initially with a '(no-focus-on-map . t) property), so hkey-throw to a new
target frame now temporarily displays
- the target frame and then makes the start frame the uppermost frame. When
on an item though, the item is
- not visible during the temporary display yet.
+* hmouse-drv.el (hkey-throw): Partially solved temporary display of newly
created frames
+ (when not given focus initially with a '(no-focus-on-map . t) property),
so hkey-throw
+ to a new target frame now temporarily displays the target frame and then
makes the start
+ frame the uppermost frame. When on an item though, the item is not
visible during the
+ temporary display yet.
-* Makefile (texinfo): Added texinfo dependency target and added additional
image dependencies in man/im.
+* Makefile (texinfo): Added texinfo dependency target and added additional
image dependencies
+ in man/im.
-* hyperbole.el (require 'hmouse-drv): Changed from hmouse-key to prevent a
require cycle during macro expansion.
- hmouse-key.el: Changed requires to just be during compile since
hyperbole.el now includes these requires and
- will load hmouse-key.
+* hyperbole.el (require 'hmouse-drv): Changed from hmouse-key to prevent a
require cycle
+ during macro expansion.
+ hmouse-key.el: Changed requires to just be during compile since hyperbole.el
now includes
+ these requires and will load hmouse-key.
2017-12-12 Bob Weiner <address@hidden>
diff --git a/hmouse-drv.el b/hmouse-drv.el
index 8cf1e90..43239e8 100644
--- a/hmouse-drv.el
+++ b/hmouse-drv.el
@@ -456,32 +456,33 @@ Leave TO-WINDOW as the selected window."
;;;###autoload
(defun hkey-throw (release-window)
- "Throw either a displayable item at point or the current buffer to
RELEASE-WINDOW.
+ "Throw either a displayable item at point or the current buffer for display
in RELEASE-WINDOW.
The selected window does not change."
(interactive
(list (let ((mode-line-text (concat " Ace - " (nth 2 (assq ?t
aw-dispatch-alist)))))
(aw-select mode-line-text))))
(let ((depress-frame (selected-frame)))
(if (cadr (assq major-mode hmouse-drag-item-mode-forms))
- ;; On an item to throw
+ ;; Throw the item at point
(let ((action-key-depress-window (selected-window))
(action-key-release-window release-window)
(action-key-depress-args))
(hypb:save-selected-window-and-input-focus
(hmouse-item-to-window)
- (sit-for 0) ;; Force display of release-window
(unless (eq depress-frame (window-frame release-window))
+ ;; Force redisplay or item buffer won't be displayed here.
+ (redisplay t)
;; Show the frame thrown to before it is covered when
;; input-focus is returned to the depress-frame.
(raise-frame (window-frame release-window))
- (switch-to-buffer (current-buffer) t t)
;; Don't use sit-for here because it can be interrupted early.
(sleep-for 0.5)
)))
;; Throw the current buffer
(set-window-buffer release-window (current-buffer))
- (sit-for 0) ;; Force display of release-window
(unless (eq depress-frame (window-frame release-window))
+ ;; Force redisplay or item buffer won't be displayed here.
+ (redisplay t)
;; Show the frame thrown to before it is covered when
;; input-focus is returned to the depress-frame.
(raise-frame (window-frame release-window))
- [elpa] branch scratch/hyperbole-merge-7.0.2b created (now c75213b), Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b e803881 01/23: Fixed a cyclic Lisp library require; improved multi-frame hkey-throw, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b b7beb76 02/23: Fixed hkey-throw temporary display of a buffer in a new frame,
Stefan Monnier <=
- [elpa] scratch/hyperbole-merge-7.0.2b 7efe2f2 03/23: Removed Koutliner use of filladapt mode; it can cause filling errors, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 30600eb 04/23: Added extensive gitlab-reference ibtype; improved github-reference, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 1568adb 07/23: Merge Mats TEXINFO_SRC Makefile changes, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b ad584fd 11/23: Use implicit button org-mode also for org derived modes, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b f446ee0 22/23: Fixed README.md typo that referred to HY-ABOUT instead of HY-NEWS., Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 45a0841 12/23: Add default search term for web searches, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b d4653c5 10/23: Require 2.0 of treemacs and use bury-buffer, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b c0bd503 05/23: Rebuild doc when doc sources have changed, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 5892083 09/23: Use new treemacs 1.18 function treemacs-toggle-node, Stefan Monnier, 2019/02/05
- [elpa] scratch/hyperbole-merge-7.0.2b 450489e 13/23: Adjust tramp-file-name-regexp to work with looking-at, Stefan Monnier, 2019/02/05