From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips Date: Fri, 08 Apr 2016 17:06:01 -0300 Message-ID: <87k2k7c1cm.fsf@gmail.com> References: <878u0ngb30.fsf@gmail.com> <831t6fki79.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460146035 7349 80.91.229.3 (8 Apr 2016 20:07:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2016 20:07:15 +0000 (UTC) Cc: 23246@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 22:07:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aocgS-0000hv-F6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 22:07:12 +0200 Original-Received: from localhost ([::1]:57965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aocgR-0001nr-52 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 16:07:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aocgN-0001lO-5w for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 16:07:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aocgI-00055A-21 for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 16:07:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aocgH-00054y-US for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 16:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aocgH-0007Bn-Pd for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 16:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Apr 2016 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23246 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23246-submit@debbugs.gnu.org id=B23246.146014599627602 (code B ref 23246); Fri, 08 Apr 2016 20:07:01 +0000 Original-Received: (at 23246) by debbugs.gnu.org; 8 Apr 2016 20:06:36 +0000 Original-Received: from localhost ([127.0.0.1]:54963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aocfr-0007B8-Qp for submit@debbugs.gnu.org; Fri, 08 Apr 2016 16:06:35 -0400 Original-Received: from mail-qg0-f52.google.com ([209.85.192.52]:34611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aocfp-0007Av-VZ for 23246@debbugs.gnu.org; Fri, 08 Apr 2016 16:06:34 -0400 Original-Received: by mail-qg0-f52.google.com with SMTP id c6so99769536qga.1 for <23246@debbugs.gnu.org>; Fri, 08 Apr 2016 13:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=olS6IhF1V1YZg7aem+BmfMMZksrURBMCem1Yl7yPD5w=; b=bRm0V52q+0a3+dPGVp0XBCvapJmsGqTkMgCILTGAsQS7pc3ScpwGWwkWrVlJFfG7U+ TudXJKkossu2XjRTlABXPTwjb4BHWN1Qfk5n8YUsskw498w4KWBkdz6UNO/shAsxVOdr oUuwr3S+JSNkpNJib2hcp8qdkycVRwBdyna+enTss1Zhc5sBG7xwydB4MmhgpBq+uv7m B8vv2i8UWgl4cpm/AqCBjZ6d7M3YmIvHG3qYBeLREijo2RCv5rskSXwgB4k56lHEHwAl bJwVrW3+8tVrVBtJ3CvKVwyrexw2GcHqX30AdLpt7G9zms5cZp5UhoaddoQ2PCIxyDRo 8udQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=olS6IhF1V1YZg7aem+BmfMMZksrURBMCem1Yl7yPD5w=; b=ENrv5AiRryXAavwKb+DFBtLb5/Nk04RKqcaE0H3OuIcToWObygEG9f1MoAQm3impUm ljE4cV5iRvJfdvZgfVr8Tmeyg/vW3Q0db5IG/CeqRHCVLY4SudUDZyId6ojLWJLAuNUP biP3LFWJszHEiLphOvlbEYVhzRubK+2TOZWZ9xZSRTryX8arplUCR8qG5kc3eBzECDvS PxTsWxBQqWp0ACFega9lHO/h6TQOhSAdrG/EzbSXeP29LMSZDkHk0aLd6QA8J2Z0LZMp 83c126XLak4IVs35+8u48CP+NHSxvU9If8U0wfWQOdUyuEHYrOUjY3y4ceXaqaFKwZCl Hwsw== X-Gm-Message-State: AD7BkJI7SXrKl3a6lEVSwrj1OOZeI9MVouazH2RhCQmXojMimMrYV/jWznFP0icuEFOdOQ== X-Received: by 10.140.248.8 with SMTP id t8mr14547629qhc.50.1460145987952; Fri, 08 Apr 2016 13:06:27 -0700 (PDT) Original-Received: from Gandalf-Linux.gmail.com ([179.184.224.5]) by smtp.gmail.com with ESMTPSA id c2sm6183765qkb.41.2016.04.08.13.06.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Apr 2016 13:06:27 -0700 (PDT) In-Reply-To: <831t6fki79.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Apr 2016 22:34:50 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) 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:116242 Archived-At: Eli Zaretskii writes: > Why did you expect them to be blue? Tooltips are special frames that > don't display any buffer, whereas face-remap-add-relative is > documented as affecting only the buffer that was current at the time > it was called. Sorry, to me it wasn't obvious that tooltips are different frames. > More generally, face remapping is designed to allow buffer-local > changes to faces. If you want to affect the way tooltips are > displayed, you should instead customize the 'tooltip' face or the > parameters in 'tooltip-frame-parameters'. I want to change the way tooltips are displayed in a major-mode I'm writing. I don't want to change this face globally for the user, only change it in the buffers where this major-mode is active. I understand that might not be possible, in which case feel free to close. Artur