> If you have tooltip-mode disabled, multi-line help-echo text-properties and
 > overlays only display their first line.  Here's some code that reproduces
 > the behavior:
 > 
 > (let* ((min (point-min))
 >        (max (point-max))
 >        (half (/ (+ min max) 2)))
 >   (let ((overlay (make-overlay min half)))
 >     (overlay-put overlay 'help-echo "Multi\nLine\nhelp"))
 >   (put-text-property half max 'help-echo "Even\nmore\nmulti\nline\nhelp"))
 > 

If you keep tooltip-mode enabled and set tooltip-use-echo-area to t all lines
are displayed in the echo area (if that's what you want).

As an aside, in this case these lines also go to the *messages* buffer while
those displayed when tooltip-mode is disabled don't.


-- 
Nick                                           http://www.inet.net.nz/~nickrob


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to