From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#29823: NS port tooltip colours Date: Thu, 4 Jan 2018 21:21:45 +0000 Message-ID: <20180104212145.GA18800@breton.holly.idiocy.org> References: <20171223112129.GA41292@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1515100822 2515 195.159.176.226 (4 Jan 2018 21:20:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2018 21:20:22 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: 29823@debbugs.gnu.org To: "Charles A. Roelli" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 04 22:20:18 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXCvr-0008At-UY for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jan 2018 22:20:12 +0100 Original-Received: from localhost ([::1]:43516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXCxp-0001bE-GH for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jan 2018 16:22:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXCxi-0001ae-8e for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 16:22:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXCxe-0006Ro-QJ for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 16:22:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXCxe-0006Rb-Lb for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 16:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eXCxe-0001ia-G5 for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2018 16:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jan 2018 21:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29823 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29823-submit@debbugs.gnu.org id=B29823.15151009176592 (code B ref 29823); Thu, 04 Jan 2018 21:22:02 +0000 Original-Received: (at 29823) by debbugs.gnu.org; 4 Jan 2018 21:21:57 +0000 Original-Received: from localhost ([127.0.0.1]:36073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXCxY-0001iG-Sn for submit@debbugs.gnu.org; Thu, 04 Jan 2018 16:21:57 -0500 Original-Received: from mail-wr0-f177.google.com ([209.85.128.177]:46705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXCxX-0001i3-8F for 29823@debbugs.gnu.org; Thu, 04 Jan 2018 16:21:55 -0500 Original-Received: by mail-wr0-f177.google.com with SMTP id g17so2703776wrd.13 for <29823@debbugs.gnu.org>; Thu, 04 Jan 2018 13:21:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=snAWOCQVw65txKgs5/PW89x+x4XdVfdNcm3cCTWlIiE=; b=MJO4beag0pRTtEDxOSag33KJfGyKULbPVWy2b2dpegL/HSCjDJcFZeq9cLfgAJ0Dyq uzY+Ab3LDqu5i3yhWD/p5YBirM48ro+AH7v5KoqxTgVDnkakb5zpzvvaRpu01cJiK4xw HbYpvZV23PXRRV8XmdErG0f4tzY7l95Lg0Yb9ZxWPiT+VJq2qR1dweV06I/gNNniVfjI VnZzLCZY3sxEouWNBfrVLLIEvw57VnIlCupDldMk/ZStRaYa1FqFsInzX19x+KvZoJjX +4wNDMLvjCeNdAADUVOXfiJvuzLkzGscjo7MJ9Tp5ZD5JwmVED+55svgtVWW03GIzejj OwQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=snAWOCQVw65txKgs5/PW89x+x4XdVfdNcm3cCTWlIiE=; b=B8iS1CgO/Qm1Pmji3iS9xLjt70nWmg84q3MN/EykU2F9eosHwoUdHGrC2Ni1wog+uT qO/kyO8Xj73QXMELdozpLdj6qK7NRJn63NYUbPMZT/yMxEfx5OcLSSCvLEKPXfEsWlo5 Qagg2rcS4whTC7/R83ZVpfz21xa4jneJwj3kYlrq5ExlLDWQAgeDv+MNAB0cceMjyA4/ +e2EmDb+um83QOlBDpb+XRwLidDW3M2PoP8h0GbwBzfRWPqhZhbhuHrChGy4+XMd7Ew0 8w8Zq7MMFAc5FbqOrrz3+bjM3P0Cg/aXKzS0C6qFYEo5G1Tn9aSzA7Jw+uDumw48mjoK AByA== X-Gm-Message-State: AKGB3mKWh9O+KIziKz/QkljwrKaadbUj9L5X/iPJ2Y7OVBUSHs83F3bH om3URaFTkeIiVfu+S3bLgLaFeLb/ X-Google-Smtp-Source: ACJfBotRCgEm68HGvhkSacUKEic7RqYz4kupPpZeTN20O37BhLZdYtbmIO1beowN42I0mWIEj3M1aA== X-Received: by 10.223.152.129 with SMTP id w1mr827406wrb.282.1515100909281; Thu, 04 Jan 2018 13:21:49 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-3ca9-c940-779f-ceae.holly.idiocy.org. [2001:8b0:3f8:8129:3ca9:c940:779f:ceae]) by smtp.gmail.com with ESMTPSA id l17sm10139009wrl.9.2018.01.04.13.21.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jan 2018 13:21:48 -0800 (PST) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141783 Archived-At: On Thu, Jan 04, 2018 at 09:57:32PM +0100, Charles A. Roelli wrote: > > Date: Sat, 23 Dec 2017 11:21:29 +0000 > > From: Alan Third > > > > The NS port doesn’t support customising tooltips as described in the > > Emacs manual. I’ve attached a patch that allows you to customise the > > background and foreground colours. > > > > It may be better to try using the existing frame code to generate the > > tooltips as they would then support all parameters, but I’m not sure > > how to go about doing that. > > Looks good to me. Thanks for adding this feature. Thanks. > It looks like using the existing frame code to generate tooltips would > involve rewriting "x-show-tip" in nsfns.m to make it pop up a frame > instead of a native tooltip. Could that not be done using the "child > frame" functionality (or some subset of it) that you've already added? Yeah. I assume it should also be possible to modify tooltip.el to use undecorated frames instead of tooltips defined at the C level. Perhaps there’s some advantage to using native tooltips, but the NS port doesn’t use native tooltips anyway. > And by the way, do you know how this bug was tagged as "minor"? It > seems like a lot of bugs get that designation, and it's not clear > whether the submitter chooses to do that or if it is somehow done > automatically. I assume someone else set it, I certainly didn’t. -- Alan Third