From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Consistent face for keys in *Help* and `substitute-command-keys' Date: Thu, 25 Feb 2021 10:45:42 -0600 Message-ID: References: <87h7m5iagw.fsf@gnus.org> <83blc9tnvz.fsf@gnu.org> <83y2fcrzkt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23993"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 25 17:49:22 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 1lFJpK-00067S-Fc for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Feb 2021 17:49:22 +0100 Original-Received: from localhost ([::1]:43084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFJpJ-00065A-Gm for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Feb 2021 11:49:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFJls-0003aA-Ki for emacs-devel@gnu.org; Thu, 25 Feb 2021 11:45:52 -0500 Original-Received: from mail-pg1-f172.google.com ([209.85.215.172]:45843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFJlq-0000DF-2E; Thu, 25 Feb 2021 11:45:48 -0500 Original-Received: by mail-pg1-f172.google.com with SMTP id p21so4137653pgl.12; Thu, 25 Feb 2021 08:45:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=NURKh+TUMjMlfBoJpBGg9jNeLZyrMLQ/pJ6WN28H5vM=; b=qeKgoeMFcFzJ0ykX29cJ/AvpOPoOAyXMWSRC3dOMzouWlQG1PsZfnQxzHDknWscyN2 1cmn7BmKYpJT1zUgfiky4hyt9vVvVmVbxQWMZeZWIWlXP8yYLWK28W+ySXORNIdVHT7A Fqs7ys8A4yv0HgIjYtJq9r7WvUAiagN3Ht8zYyOmD7JdVumYY/HY0DC+60mpjHaD9I+X L38UsQEwEb9/BIhzZUzPfVo5VF0ltPBd4hIi0pledajJ6IuOtIHeU9YfUXVCfpCBqX6j DnG/ZCfMIffOOZQVz1G2vC1XiDvssYeDzREgC14aiLbG/lgqOMdh+Tn8KSPILaD5FoDM cuaA== X-Gm-Message-State: AOAM531Z8ekpX98u4f4RFNuIRfLpd4Zi2Ng8Kh80aLB93CIV8PPfERyR e4xeMWVOk/+5fOt3xw7hRZnUH3TFouxcKo+PkyOLyu6x X-Google-Smtp-Source: ABdhPJynzO+/epctdS3xcWzNqmWlVa32WGl0DnE2uRlgY6geQLq0ylhx+Wa0wYF8qlem5NnDh7KQ97r0AvRLyaDuSGs= X-Received: by 2002:aa7:8384:0:b029:1ed:1317:fbe4 with SMTP id u4-20020aa783840000b02901ed1317fbe4mr4069975pfm.57.1614271543385; Thu, 25 Feb 2021 08:45:43 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 25 Feb 2021 10:45:42 -0600 In-Reply-To: <83y2fcrzkt.fsf@gnu.org> Received-SPF: pass client-ip=209.85.215.172; envelope-from=stefankangas@gmail.com; helo=mail-pg1-f172.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:265634 Archived-At: Eli Zaretskii writes: > 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. 0. emacs -Q 1. M-x fundamental-mode RET 2. M-: (insert (propertize "foo" 'help-echo "foo \\[forward-line]")) RET No visible effect on the tooltip --with-x-toolkit={gtk,lucid,athena,no}. (With GTK, I also tried with x-gtk-use-system-tooltips set to nil.) >> 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. Ah, right. I will add that to the docstring of the `tooltip' face.