From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: How to get information of a tip created by x-show-tip Date: Sat, 19 Jan 2019 18:09:50 -0800 (PST) Message-ID: 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> <87zhrwf7jy.fsf@163.com> 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 1547950241 248232 195.159.176.228 (20 Jan 2019 02:10:41 GMT) X-Complaints-To: usenet@ciao.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2019 02:10:41 +0000 (UTC) Cc: Emacs-Devel devel To: Feng Shu , martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 03:10:39 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 1gl2ZI-0012Z1-Tx for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2019 03:10:37 +0100 Original-Received: from localhost ([127.0.0.1]:34135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gl2ZR-000765-QO for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2019 21:10:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gl2Yj-00075w-VF for emacs-devel@gnu.org; Sat, 19 Jan 2019 21:10:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gl2Yj-0004PI-CM for emacs-devel@gnu.org; Sat, 19 Jan 2019 21:10:01 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:44532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gl2Yj-0004Nk-3m for emacs-devel@gnu.org; Sat, 19 Jan 2019 21:10:01 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x0K24XnU055923; Sun, 20 Jan 2019 02:09:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=bHOqEOtGIdzRw+wSc+UxlbHLQfS+IDN9yZ1o9B/DzDE=; b=R0KrON5RpgS//taw9WaQsHewkDQheRg675RX3ApBFicopBOUPEg1B39hLXyK0ozj3ZOp 7vzBM8PYWbVljR6zSPZjHNaRT1AF4Dutfs7e6lCWuLMpRZVC0iUNP9SwKY7mqq1ULg61 +zE86jXYYxrgxpgzApx/MDzd98Hp3LSuATq4qU5yYe8FOIjSPGxaV4Ps3xLhmvY1+Yt/ 9VfymIx4BMloV9Vc4VGUzjnrqEtqT5JwcIIVbzOdci6p1M0ch+SQUM2QGBNdj1obMNME vRMFUKz/9xxQvrQHcWsxPKwAc3BafuatkxXlj3JnwlkbEEwSLsTE2HbNyFnCv7QyrWQ4 pQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2q3vhra71d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 20 Jan 2019 02:09:53 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x0K29qRW028223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 20 Jan 2019 02:09:53 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x0K29p8R032633; Sun, 20 Jan 2019 02:09:51 GMT In-Reply-To: <87zhrwf7jy.fsf@163.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4795.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9141 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=944 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901200015 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.85 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:232521 Archived-At: > x-show-tip's background-color works well, but > can not change foreground-color, does it do not support foreground- > color? Haven't been following this thread. But yes, you can change the foreground color. E.g.: (x-show-tip (propertize "cuckoo" 'face `(:foreground "red")) (selected-frame) nil 5) Perhaps you can't do it using an alist, though. I don't recall - but that's probably why I do it as shown above.