From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: tooltip feature Date: Sun, 27 Sep 2020 12:29:44 +0200 Message-ID: References: <20200926163008.GS1349@protected.rcdrun.com> <83r1qno7pi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28282"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: bugs@rcdrun.com, rms@gnu.org, jamtlu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 27 12:30:53 2020 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 1kMTxE-0007GA-Ey for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Sep 2020 12:30:52 +0200 Original-Received: from localhost ([::1]:43988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMTxD-0002od-73 for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Sep 2020 06:30:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMTwG-0002Hh-3p for emacs-devel@gnu.org; Sun, 27 Sep 2020 06:29:52 -0400 Original-Received: from mail-db8eur05olkn2053.outbound.protection.outlook.com ([40.92.89.53]:57888 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMTwD-0003DV-Hd; Sun, 27 Sep 2020 06:29:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fPkoqf1jRGtlmU4KAK0UC8wvIxTjpqxfBDfI7ASrumdxPRco0dQmMz2EuVF9KVNkSMIN3DajNe/vTU/ySauhawnXx5AzDNqwtPYOw4yDLboGPhTu2G7dcOqCyh8uM8cNM4D2sS9DnNW6flFbj/T8vNQr5emFwAIsOpJTSQd1kdaHudq0DNglblciLQE2nLDolpVkBqb6gQD3k3IzrjODkrAfmDAffb8/ia3ZeQc0a0BfqMHkv/ikQVBrU+jK0o/R8PY0FERqEFc0CaYmpSnJFkKdd5poOf4sRKOFQEQV2Gg2HOAVRupTKyH/FXTjelZJkFu4u+jx278UI+Rl5i9ttg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=67mB7NO/saMKxjQhMspaPOrmkQXJmfmiiEKH6ewefS4=; b=Kx9tNQOiNtxC9XDQD5nXGRSIIhutA5aVM4cn+5RS5jsjwM9a2+Gd72k7kWi4Yg+6uKFpkuWzRRY2UU86RPv733os5ty2/PZNyz6dz5Cl036w2p8gw2p9fZmSCshFUlddvz5x1ckAWsw3V1Cftatru+rRH7l9bFdCNCePOCqJzh/3daCbMigMhjPABQ00dYSibDGvjWdK/zjFGnDrEqolu36Nzj7BDxr+/hDH8GJibWLZh+yJPIt4ndwAM4Of51LRSwIlTHpRUho+qP5amxGwwTMlaYPZUvbKrXGHzbdGtysPznsqIAC0YakS+HkWeYUDS6XHGfcJ6c9N+EpnCpEy5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=67mB7NO/saMKxjQhMspaPOrmkQXJmfmiiEKH6ewefS4=; b=cvwm8wVlNgxSTjZBDJICB2IxtnixtcnBuc/aAAIADl2f/vFoukSrHeee676flzrNRNPlgEuPVaWu2CS9I0wQQg0R7tUZ/w/cuOQTCh2nuZciXSJKW9vqrUdnVPw8pMs4c/BjqRgNdvtcsuXSNJCxv+WYWVaQZ92UY2uZdm41ANKhKufFwWw3YJC2upeJm8OXy2gK+jm/uxSo0w8/JkwwXNQKHJxY44FjttGLjHz2eYupLKwo2cOyGX4KsmSy2BUc22Kk1/x7zqBrs7PEDxkthg3J65kzxDtjsHAkcfPCTut7Cr2nzat69X+dr/IbXPYLd2PuPLLLp5i6tr19EvLmqg== Original-Received: from VI1EUR05FT039.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::49) by VI1EUR05HT107.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Sun, 27 Sep 2020 10:29:46 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc12::4e) by VI1EUR05FT039.mail.protection.outlook.com (2a01:111:e400:fc12::256) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Sun, 27 Sep 2020 10:29:46 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:0E1F31BD8DCFB8723A6A221DF22541D6524F90591E7B495BAA31133A5AC4C767; UpperCasedChecksum:819D808343F769BAEF75EEA8C3A70B837B4AF2F5B9725C5FF24A032D9DDCA4FE; SizeAsReceived:7682; Count:47 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3412.028; Sun, 27 Sep 2020 10:29:46 +0000 In-Reply-To: <83r1qno7pi.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Sep 2020 13:05:45 +0300") X-ClientProxiedBy: AM6P191CA0093.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::34) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87v9fzpl5z.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P191CA0093.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22 via Frontend Transport; Sun, 27 Sep 2020 10:29:45 +0000 X-Microsoft-Original-Message-ID: <87v9fzpl5z.fsf@live.com> X-TMN: [WvwTO+J7T6h70Q/hmn6sXyDGCxr+h3G7] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: a4bee28c-fe16-45f7-cdcb-08d862d04125 X-MS-TrafficTypeDiagnostic: VI1EUR05HT107: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uZXK7J4whw05jPDTgpOD+PnXbnINLumTJ/NGgbAdRM+reVF151jXlzvxoHHVHENfdOPUU0sqgR9NoIThBM0mVtsIjCwTsxFHHTNzRW+DH1NICq34fUdkOqRFWsachbN5EMS6h1YtlMQWdV5+UeP8Bv8oCDlYqYbuvshaxOZRqCHDofTTAvBfej5pmiwqzqKI7YCMuvDt/5A/unfeKa2j3dloSfefrdLOXHbmIKhR7vjnQs0MvkVy+BHg54LMSR6T X-MS-Exchange-AntiSpam-MessageData: JYSi47fyT462q18xKSLcKpCz/5B+dWUIRT+vMPMuT19Aq8jzvKzHCXk/KPLOEXpZjpweNLjNX5dIdBzqTsNQilcxrVJRhhBcxFFJPqwQ/kQvuHn+y/w4NksLK3VKvrD9ALyUKG+TGYpJRFkQhGyI+A== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4bee28c-fe16-45f7-cdcb-08d862d04125 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2020 10:29:46.2109 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT039.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT107 Received-SPF: pass client-ip=40.92.89.53; envelope-from=arthur.miller@live.com; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/27 06:29:47 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:256532 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Date: Sun, 27 Sep 2020 11:42:04 +0200 >> Cc: emacs-devel@gnu.org, jamtlu@gmail.com, Jean Louis >> >> Considering a tool-tip is just a small pop-up frame you could have it >> with a character in a tooltip corner which could act as a "sticky >> button" to press with mouse, and there could be a keyboard shortcut user >> can press when a tooltip have a focus. > > Sounds complicated (and I'm not sure it will be possible when we use > GTK tooltips, which is the default in the GTK builds). > > Emacs is already capable of redirecting the tooltip text to the echo > area (to see that, disable tooltip-mode), so it should be easy to > provide some command or variable, which, when activated, would copy > the tooltip text to some specialized buffer, where it could be later > read by the user. > > Would you like to propose a patch along these lines? > >> Such a "button" could be also added to context menus to make them >> "sticky" and persistent on the screen. > > For menus, most Emacs configurations use the toolkit. Do the toolkits > we use offer capabilities to make the menus "sticky"? > >> Another version is to have a tiny separator say in tooltip >> bottom/top that can be pressed with mouse to "tear of" the tooltip >> and make it persistent on the screen. > > AFAIK, you generally cannot click on tooltips, because they disappear > when you do so. I understand. I don't know what Gtk offers, I am sorry; I always avoided to get into that toolkit, so I really don't know :-). According to docs there is a GtkTearoffMenuItem: https://developer.gnome.org/gtk3/stable/GtkTearoffMenuItem.html but then I don't know how useful is that to Emacs since I am not into internals on the Gtk front ... Sorry for the confusion.