From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Feng Shu" Newsgroups: gmane.emacs.devel Subject: Re: How to get information of a tip created by x-show-tip Date: Sun, 20 Jan 2019 09:21:05 +0800 Message-ID: <87zhrwf7jy.fsf@163.com> References: <87k1j1b782.fsf@163.com> <5C42DC09.6040500@gmx.at> <87tvi5ow2r.fsf@163.com> <5C42EE9A.7070201@gmx.at> <87lg3hotvj.fsf@163.com> <5C4315F7.7010505@gmx.at> NNTP-Posting-Host: ciao.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ciao.gmane.org 1547947309 225969 195.159.176.228 (20 Jan 2019 01:21:49 GMT) X-Complaints-To: usenet@ciao.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2019 01:21:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Emacs-Devel devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 02:21:47 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1gl1o2-000wmN-7u for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2019 02:21:46 +0100 Original-Received: from localhost ([127.0.0.1]:33793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gl1oB-0008P5-9h for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2019 20:21:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gl1nX-0008Ol-QB for emacs-devel@gnu.org; Sat, 19 Jan 2019 20:21:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gl1nW-0001yr-V5 for emacs-devel@gnu.org; Sat, 19 Jan 2019 20:21:15 -0500 Original-Received: from m12-15.163.com ([220.181.12.15]:43938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gl1nV-0001rN-LB for emacs-devel@gnu.org; Sat, 19 Jan 2019 20:21:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=LXhTO MyMkTtYrbCPWi+n/WLJCPZXWHL2oX7fc4AwUeY=; b=B4JIhnqFe04fgoFdRgg/d qt90jAL21Adgx2U2uqWJprtviXNxtKcvm8sKKtGvE06yU6KiL4OL7NQEJ2QCgPKi /q66uyRGhX3oR3JX05PEymezZ9Ens0p8DuV29bVXEbdhBbPJBJHaQkgrLbK/i8zd VJqgX4Ecg+oiySqXBgZM30= Original-Received: from tumashu (unknown [183.206.93.9]) by smtp11 (Coremail) with SMTP id D8CowAA3eVQCzUNcW3fVBw--.10985S2; Sun, 20 Jan 2019 09:21:06 +0800 (CST) In-Reply-To: <5C4315F7.7010505@gmx.at> (martin rudalics's message of "Sat, 19 Jan 2019 13:20:07 +0100") X-CM-TRANSID: D8CowAA3eVQCzUNcW3fVBw--.10985S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7GF13KrWUZr1Duw1DtFy7Jrb_yoWDCwbE9r 1Sv3W3Za45CwnrJw1DKw4FqF92g3WYvFZ3Ww1UJrn7J34DWFnruF1vqFWSgr1rXw13tr1v k3y8Xa1UGan2qjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUeY2NtUUUUU== X-Originating-IP: [183.206.93.9] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiqwVC1FUMNygovAAAsq X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.15 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:232520 Archived-At: martin rudalics writes: >>>> (setq tooltip-reuse-hidden-frame t) >>> >>> This may hide the frame from 'visible-frame-list'. >>> >> >> Does this mean: when tooltip-reuse-hiden-frame is t, the return of >> visible-frame-list >> will always do not show tooltip frame, no matter tooltip actuly show >> or >> hide? > > No. While the tooltip is shown the tooltip frame is on > =E2=80=98visible-frame-list=E2=80=99. > > martin > Thanks for the information :-) x-show-tip's background-color works well, but can not change foreground-color, does it do not support foreground-color? ``` (progn (x-show-tip (substring-no-properties " this is a test this is a test this is a test this is a test") (selected-frame) '((name . "tooltip") (internal-border-width . 2) (background-color . "white") (foreground-color . "red") (left . 200) (top . 300) (border-width . 1) (no-special-glyphs . t)) 10 0 0) (dolist (frame (visible-frame-list)) (when (frame-parameter frame 'tooltip) (princ (frame-parameters frame))))) ``` --=20