[Bug: 21.4.19] balloon help niggles on Windows

Vin Shelton acs at alumni.princeton.edu
Thu Dec 21 17:16:51 EST 2006


Ugggh!  This whole thing is pretty ugly!  Here are some observations:

1. This patch:

diff --git a/balloon-help.el b/balloon-help.el
index 1fa53b4..09504c7 100755
--- a/balloon-help.el
+++ b/balloon-help.el
@@ -466,7 +466,7 @@ (defun balloon-help-resize-help-frame ()
        (and (not done) (setq lines (1+ lines))))
       (setq width (/ longest font-width)
            width (if (> longest (* width font-width)) (1+ width) width))
-      (set-frame-size balloon-help-frame (+ 0 width) lines))))
+      (set-frame-size balloon-help-frame (+ 1 width) lines))))

 (defun balloon-help-compute-help-frame-y-location ()
   (let* ((device-bottom (device-pixel-height

only works for me on the 2nd balloon-help; the first balloon-help is
still 2 lines high.  As you observed, Robert, there's some difference
in behavior between the first and subsequent invocations.

2. That extra frame is really hideous.  It appears in both 21.4 and
21.5.  I have a sneaking suspicion this has something to do with the
detached minibuffer code I wrote many years ago.

3. The patch to remove the caption works and I'm leaning towards
applying it for 21.4.  Are there other windows that would be affected?

  - Vin

-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506



More information about the XEmacs-Beta mailing list