GNU bug report logs - #30399
27.0.50; tooltips are broken

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Thu, 8 Feb 2018 22:27:01 UTC

Severity: normal

Found in version 27.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: martin rudalics <rudalics <at> gmx.at>, Stephen Berman <stephen.berman <at> gmx.net>, 30399 <at> debbugs.gnu.org
Subject: bug#30399: 27.0.50; tooltips are broken
Date: Fri, 9 Feb 2018 07:41:55 -0800 (PST)
> This is due to a rather silly omission which should have already
> defeated a feature in Emacs 26 when calling 'x-show-tip' (you've
> been warned - Lisp code should call 'tooltip-show').

That warning sounds very bad to me.  It's vague, however,
so forgive me if I'm overreacting.

I have 4 libraries that will presumably break completely
if `x-show-tip' is defeated or is no longer available.
`tooltip-show' does NOT do the same thing and will not
work (AFAICT) for what I use `x-show-tip' for.

The libraries are `pp+.el', `apu.el', `modeline-char.el',
and `showkey.el'.  They are all available on Emacs Wiki,
Elisp Area.

https://www.emacswiki.org/emacs?action=elisp-area;context=0

`tooltip-show' constrains its call of `x-show-tip' to
only one particular behavior/appearance, etc.  Replacing
the latter function with just the former would be like
replacing the general function `goto-char' a limited one
such as `beginning-of-line'.  `x-show-tip' is much more
general than `tooltip-show'.

Here's a typical call:

(x-show-tip (propertize
              cmd-desc
              'face
              `(:foreground "red"
                :height ,showkey-tooltip-height))
            nil
            nil
            showkey-tooltip-timeout)




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

Previous Next


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