From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Fix some tooltip related problems Date: Wed, 10 Jan 2018 19:17:55 +0000 Message-ID: <20180110191755.GA79229@breton.holly.idiocy.org> References: <5A533FA4.4030507@gmx.at> <9384bae5-cbb9-4b4d-ac5c-1d01f01c8117@default> <5A53B633.5020706@gmx.at> <41d40db5-15d8-4b2c-a058-fb6dabc8bfd3@default> <5A548E7E.2040601@gmx.at> <5A55E8ED.1010602@gmx.at> <475d480b-3885-4779-ae46-09cf7fbbcee7@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1515611773 31450 195.159.176.226 (10 Jan 2018 19:16:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 19:16:13 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: martin rudalics , emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 10 20:16:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZLr2-0007cT-2C for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 20:16:04 +0100 Original-Received: from localhost ([::1]:33633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZLt1-0007Pl-Dj for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 14:18:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZLsq-0007Oa-UK for emacs-devel@gnu.org; Wed, 10 Jan 2018 14:17:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZLsp-0007le-RE for emacs-devel@gnu.org; Wed, 10 Jan 2018 14:17:56 -0500 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:43521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZLsp-0007l8-AS for emacs-devel@gnu.org; Wed, 10 Jan 2018 14:17:55 -0500 Original-Received: by mail-wm0-x22c.google.com with SMTP id g1so1021423wmg.2 for ; Wed, 10 Jan 2018 11:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=YsYei4ZZiDGMDt+UH1r7Tw7rAEIyt+rsuPfg3zah1O4=; b=N1RnRz0Cu7JvfCaAyHCsvpH6GCsG2t6gHVjYucOubIh6OnaAqJtGo+0OzE/nUfrMVY ssPhxNLiAn+sD0N7r4uBfunThOLAMbNc8RjxR8Y//lFazH7GurwxWw1CZiD/k6o3FuAd YUTSQKxH2UepgZFaTC0JpT3HF6HN0u20hZNE/cvsM9D5hLfLhJGgU0s3DZ1M0ZgqsaPY 2WY4QN0g4Z/vORpuYTKx+MicsuTGtGwcVnKWhCIObhENDbnOHLmiQto0K5TKdhnUrvdL QnsWHSUF91318nXsnLamDcivjqWyEwzKxHUZnZ/gQFmHuPpxiyQSQzpkfHwPz94UkZOG dy4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=YsYei4ZZiDGMDt+UH1r7Tw7rAEIyt+rsuPfg3zah1O4=; b=kBlfMT+yxljYIgVz6KCAiTAPTCdxTP30JGhloKWDDN7feMxj3/bG+525ZoShj/JSlC KpFc+DMGdL9JfQz3a9KzK4/3+kkRJ9MOsLjD/KP0r7lLKjPEatCW97OxlyfgnK6Kd57l PY1GITiiJ/BnDL/WwK584AP/KhuGSOptzwC1ME2COqlgr0OXGKVM6Qq6pPAJNzomrbAX E4H+oFvCtc9tN4Yx4cDEu+pDUR9MGScU0okGgeQ46aL1bZJWNz3D31wNLSvhfxh4a9s/ qUuBC3TnQ931+Qxel94mnHsuKt5kmxqJ7Ove/MbJS+sbxhLI6CaUT3IjiKw80PvJS00/ IBEw== X-Gm-Message-State: AKGB3mI75lJj7L70pttSTsRM6XNHK5jrDqwileR6TUvm5PUiG7GriPv/ PCknHlMJBIv9dj2wj931Ktg= X-Google-Smtp-Source: ACJfBoul+9OGhYIVABvpTfBbaxIof9u1iqluB3RQbuIp8c7HiUb1LGT0vIxdMi1y103hyCTvIuzLVA== X-Received: by 10.28.91.10 with SMTP id p10mr16490021wmb.112.1515611874257; Wed, 10 Jan 2018 11:17:54 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-0c9f-d078-0073-e913.holly.idiocy.org. [2001:8b0:3f8:8129:c9f:d078:73:e913]) by smtp.gmail.com with ESMTPSA id r68sm20646742wmd.47.2018.01.10.11.17.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 11:17:53 -0800 (PST) Content-Disposition: inline In-Reply-To: <475d480b-3885-4779-ae46-09cf7fbbcee7@default> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221804 Archived-At: On Wed, Jan 10, 2018 at 07:55:41AM -0800, Drew Adams wrote: > (x-show-tip (propertize "abc" 'face '(:foreground "gray"))) > > What's different here from what you are talking about? > > OK, I'm using MS Windows. But does this not work also > on GNU/Linux and Mac? This doesn’t work on the NS port. Tooltips on that platform are neither system tooltips nor fully‐fledged frames. I think it also doesn’t work with certain X toolkits (GTK?) where they use system tooltips. > And if that doesn't work on such platforms, can't we use > a ("normal") Emacs frame where such things do work? Just > what is it that makes it impossible for Emacs to dim the > text in a tooltip? Sorry, but this is not clear to me. It’s beyond me why you’d want to dim a tooltip. Dimming of menu items is standard behaviour on many platforms whereas dimming a tooltip is, afaik, a completely novel behaviour and as a result would just be confusing. -- Alan Third