unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Drew Adams <drew.adams@oracle.com>,
	Stephen Berman <stephen.berman@gmx.net>,
	30399@debbugs.gnu.org
Subject: bug#30399: 27.0.50; tooltips are broken
Date: Sat, 10 Feb 2018 10:47:46 +0100	[thread overview]
Message-ID: <5A7EBFC2.1040104@gmx.at> (raw)
In-Reply-To: <f17939d0-7eda-4f64-856a-0811f3e6338b@default>

 >> 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.

It's up to you to ignore warnings.

 > Here's a typical call:
 >
 > (x-show-tip (propertize
 >                cmd-desc
 >                'face
 >                `(:foreground "red"
 >                  :height ,showkey-tooltip-height))
 >              nil
 >              nil
 >              showkey-tooltip-timeout)

Make sure to use (selected-frame) as second argument for Emacs < 27.
nil is broken but you might not notice it.

martin





  reply	other threads:[~2018-02-10  9:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 22:26 bug#30399: 27.0.50; tooltips are broken Stephen Berman
2018-02-09  9:53 ` martin rudalics
2018-02-09 10:49   ` Stephen Berman
2018-02-10  9:47     ` martin rudalics
2018-02-09 15:41   ` Drew Adams
2018-02-10  9:47     ` martin rudalics [this message]
2018-02-10 16:39       ` Drew Adams
2018-02-11  9:36         ` martin rudalics
2018-02-11 17:23           ` Drew Adams
2018-02-12  9:26             ` martin rudalics
2018-02-12 14:43               ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A7EBFC2.1040104@gmx.at \
    --to=rudalics@gmx.at \
    --cc=30399@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).