GNU bug report logs - #28724
25.3; height of echo area when displaying tooltip

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Fri, 6 Oct 2017 18:04:02 UTC

Severity: normal

Found in version 25.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alex Branham <alex.branham <at> gmail.com>
Subject: bug#28724: closed (Re: bug#28724: 25.3; height of echo area when
 displaying tooltip)
Date: Sat, 07 Oct 2017 12:09:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#28724: 25.3; height of echo area when displaying tooltip

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 28724 <at> debbugs.gnu.org.

-- 
28724: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28724
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: alex.branham <at> gmail.com, 28724-done <at> debbugs.gnu.org
Subject: Re: bug#28724: 25.3; height of echo area when displaying tooltip
Date: Sat, 07 Oct 2017 15:08:13 +0300
> Date: Sat, 07 Oct 2017 11:45:07 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: alex.branham <at> gmail.com, 28724 <at> debbugs.gnu.org
> 
>  > I see this in tooltip-show-help-non-mode:
>  >
>  >        (let ((message-truncate-lines t) <<<<<<<<<<<<<<<<<<<
>  >              (message-log-max nil))
>  >          (message "%s" help)))
>  >
>  > If I remove that binding, the echo area gets resized as expected to
>  > show the full tooltip.  Should we remove that binding on the emacs-26
>  > branch?
> 
> Likely it's there on purpose and somebody will get annoyed if we do
> that.  We could make it customizable.

I'm not sure it was on purpose: the log message which introduced the
above says "to closer match the behavior of C code".  But I guess you
are right that someone could become annoyed, so I added a new
defcustom and pushed the change to the master branch.

Note that this option is only effective on GUI frames.

With that, I'm closing the bug report.

Thanks.

[Message part 3 (message/rfc822, inline)]
From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.3; height of echo area when displaying tooltip
Date: Fri, 06 Oct 2017 13:03:43 -0500
Hello,

If I have disabled tooltip-mode, is there a way to tell Emacs that it should expand the height of the echo area (where tooltips are displayed) if the tooltip is longer than the screen is wide? Currently the words just run off and I can't see them.

Additionally, I believe the info manual and docstring for `x-gtk-use-system-tooltips' may need updating. In section 21.18 Tooltips, it says "If Emacs is built with GTK+ support..." and goes on to state that users can change `x-gtk-use-system-tooltips' to nil. However, I was under the impression that the recommended way to do this was to call (tooltips-mode -1).

Thanks,
Alex


In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19)
 of 2017-09-16 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
 -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix




This bug report was last modified 7 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.