From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips Date: Sat, 09 Apr 2016 12:35:00 +0300 Message-ID: <83oa9ji0qj.fsf@gnu.org> References: <878u0ngb30.fsf@gmail.com> <831t6fki79.fsf@gnu.org> <87k2k7c1cm.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460194572 6382 80.91.229.3 (9 Apr 2016 09:36:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2016 09:36:12 +0000 (UTC) Cc: 23246@debbugs.gnu.org To: Artur Malabarba Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 11:36:11 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 1aopJJ-00037x-Fi for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 11:36:09 +0200 Original-Received: from localhost ([::1]:59749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aopJI-0003ec-Vk for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 05:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aopJF-0003Wl-1B for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 05:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aopJB-00053S-QR for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 05:36:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aopJB-00053O-Nt for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 05:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aopJB-0006X4-M1 for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 05:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Apr 2016 09:36: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.146019454925090 (code B ref 23246); Sat, 09 Apr 2016 09:36:01 +0000 Original-Received: (at 23246) by debbugs.gnu.org; 9 Apr 2016 09:35:49 +0000 Original-Received: from localhost ([127.0.0.1]:55170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aopIy-0006Wc-Vu for submit@debbugs.gnu.org; Sat, 09 Apr 2016 05:35:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aopIx-0006WQ-Ab for 23246@debbugs.gnu.org; Sat, 09 Apr 2016 05:35:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aopIo-00052W-Ql for 23246@debbugs.gnu.org; Sat, 09 Apr 2016 05:35:41 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aopIo-00052S-Ik; Sat, 09 Apr 2016 05:35:38 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1211 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aopIn-0002Zc-Qv; Sat, 09 Apr 2016 05:35:38 -0400 In-reply-to: <87k2k7c1cm.fsf@gmail.com> (message from Artur Malabarba on Fri, 08 Apr 2016 17:06:01 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:116263 Archived-At: > From: Artur Malabarba > Cc: 23246@debbugs.gnu.org > Date: Fri, 08 Apr 2016 17:06:01 -0300 > > 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. I've added to the ELisp manual some documentation about that, which makes it clear these are frames. > 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. I think you can achieve that by putting your own hook function on the tooltip-functions list. Let me know if there's anything else to do about this bug report.