From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Consistent face for keys in *Help* and `substitute-command-keys' Date: Thu, 25 Feb 2021 16:28:50 +0200 Message-ID: <83y2fcrzkt.fsf@gnu.org> References: <87h7m5iagw.fsf@gnus.org> <83blc9tnvz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 25 15:29:58 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFHeQ-00047l-S8 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Feb 2021 15:29:58 +0100 Original-Received: from localhost ([::1]:34452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFHeP-0002yu-Tq for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Feb 2021 09:29:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFHdZ-0002BZ-R0 for emacs-devel@gnu.org; Thu, 25 Feb 2021 09:29:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56467) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFHdZ-0003Ww-BM; Thu, 25 Feb 2021 09:29:05 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4328 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lFHdY-0001oJ-9k; Thu, 25 Feb 2021 09:29:04 -0500 In-Reply-To: (message from Stefan Kangas on Wed, 24 Feb 2021 20:26:46 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265614 Archived-At: > From: Stefan Kangas > Date: Wed, 24 Feb 2021 20:26:46 -0600 > Cc: larsi@gnus.org, emacs-devel@gnu.org > > Eli Zaretskii writes: > > > What about tooltips? we run their text through > > substitute-command-keys, AFAIR, but the tooltip's faces need to use > > smaller fonts. So at the very least this face should be documented to > > affect only some of the face attributes, not all of them (which is > > generally not such a good idea, as it confuses users). > > This doesn't have any effect on the appearance of the tooltip, neither > in GTK or Lucid. In GTK, I'm not surprised, but I thought with Lucid Emacs itself pops up tooltips. What exactly did you try? The easiest test is to put a help-echo property on some text in Fundamental mode, then hover the mouse pointer over that text. > Perhaps because it is all overwritten with the > `tooltip' face in `tooltip'-show? No, that uses 'propertize', which _adds_ text properties. > BTW, it doesn't seem to have any effect to customize the `tooltip' face > here. Is it supposed to change the look of the tooltip in GTK? Not in GTK, I think, not unless you set x-gtk-use-system-tooltips to a nil value.