[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tooltip-mode = nil only displays first line of multi-line text-propertie
From: |
M Jared Finder |
Subject: |
tooltip-mode = nil only displays first line of multi-line text-properties or overlays |
Date: |
Sat, 18 Mar 2006 17:49:58 -0800 |
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"))
This is *not* a problem if tooltip-mode is on and tooltip-use-echo-area=t.
In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+
Version 2.8.13) of 2006-03-15 on pacem, modified by Debian X server
distributor `The X.Org
Foundation', version 11.0.60900000 configured using `configure '--build'
'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man'
'--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN -g -O2 -Wno-pointer-sign'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu'' Important settings:
value of $LC_ALL:
nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of
$LC_MESSAGES: nil value of
$LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value
of $LANG: nil
locale-coding-system: nil default-enable-multibyte-characters: t Major mode:
Lisp Interaction
Minor modes in effect: eldoc-mode: t global-balanced-mode: t
balanced-mode: t hrule-mode: t
cua-mode: t global-reveal-mode: t reveal-mode: t global-hi-lock-mode: t
hi-lock-mode: t
show-paren-mode: t auto-compression-mode: t mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t
column-number-mode: t
line-number-mode: t transient-mark-mode: t Recent input: i n ) SPC ( p o i n
t - m a x ) SPC ' h e
l p - e c h o SPC " M o r e SPC m u l t i <C-left> <C-backspace> E v e n
<return> m o r e <return>
<C-right> <return> l i n e SPC <backspace> <return> h e l p " ) C-j
<help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <down> <down>
<down> <down> <down>
<down> <down> <down> <backspace> <C-S-home> C-c <timeout> <help-echo>
<help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <re port-emacs-bug> Recent messages: list:
Symbol's function
definition is void: read-buffer ad-Orig-describe-function: Symbol's function
definition is void:
iswitchb-read-buffer Type C-x 4 b RET to restore the other window. Quit Note:
file is write
protected Type C-x 1 to remove help window. Making completion list... Quit
Making completion
list...done Undo!
- tooltip-mode = nil only displays first line of multi-line text-properties or overlays,
M Jared Finder <=
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Richard Stallman, 2006/03/19
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, M Jared Finder, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Eli Zaretskii, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Miles Bader, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Nick Roberts, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Eli Zaretskii, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Richard Stallman, 2006/03/21
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Stefan Monnier, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Eli Zaretskii, 2006/03/20
- Re: tooltip-mode = nil only displays first line of multi-line text-properties or overlays, Richard Stallman, 2006/03/21