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: Sv: Sticky tooltips Date: Thu, 01 Oct 2020 15:58:13 +0300 Message-ID: <83v9fugl22.fsf@gnu.org> References: <83blhpl2xl.fsf@gnu.org> <834kngllb1.fsf@gnu.org> , <83pn63iajn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2299"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: arthur miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 01 14:59:00 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 1kNyAm-0000Sx-DV for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 14:59:00 +0200 Original-Received: from localhost ([::1]:33020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNyAl-000805-GJ for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 08:58:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNyA7-0007WT-JA for emacs-devel@gnu.org; Thu, 01 Oct 2020 08:58:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54114) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNyA7-0004dv-13; Thu, 01 Oct 2020 08:58:19 -0400 Original-Received: from [176.228.60.248] (port=3494 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNyA5-00069r-Fw; Thu, 01 Oct 2020 08:58:18 -0400 In-Reply-To: (message from arthur miller on Thu, 1 Oct 2020 02:28:25 +0000) 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:256835 Archived-At: > From: arthur miller > CC: "emacs-devel@gnu.org" > Date: Thu, 1 Oct 2020 02:28:25 +0000 > > I am not sure how to get buffer out of x-show-tip, ??? The name of the buffer is fixed: " *tip*" (with the leading space). You can even switch to it interactively, and see the text there (it would be the text of the last tootlip displayed), provided that your build is not GTK, or if it is GTK, you've turned off GTK tooltips and switched to the native ones. > I don't know how the function would deal with Gtk tooltips; if they can also take a buffer > and display it, that is why I mean the function to take string-or-buffer. We'd need to modify the code to stash the tooltip text in some buffer or variable.