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: Mon, 11 Apr 2016 03:15:20 +0000 Message-ID: References: <878u0ngb30.fsf@gmail.com> <831t6fki79.fsf@gnu.org> <87k2k7c1cm.fsf@gmail.com> <83oa9ji0qj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07ebacf0825c05302cf429 X-Trace: ger.gmane.org 1460344574 25587 80.91.229.3 (11 Apr 2016 03:16:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2016 03:16:14 +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 Mon Apr 11 05:16: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 1apSKh-0006Fe-Jc for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 05:16:11 +0200 Original-Received: from localhost ([::1]:45008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apSKg-0003ah-Mm for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Apr 2016 23:16:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apSKb-0003Xb-Nf for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 23:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apSKY-0002ji-8g for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 23:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apSKY-0002je-57 for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 23:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1apSKY-00015i-14 for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 23:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2016 03:16: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.14603445374158 (code B ref 23246); Mon, 11 Apr 2016 03:16:01 +0000 Original-Received: (at 23246) by debbugs.gnu.org; 11 Apr 2016 03:15:37 +0000 Original-Received: from localhost ([127.0.0.1]:57790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apSK8-000150-UH for submit@debbugs.gnu.org; Sun, 10 Apr 2016 23:15:37 -0400 Original-Received: from mail-yw0-f172.google.com ([209.85.161.172]:34315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apSK7-00014n-3n for 23246@debbugs.gnu.org; Sun, 10 Apr 2016 23:15:35 -0400 Original-Received: by mail-yw0-f172.google.com with SMTP id d68so193717401ywe.1 for <23246@debbugs.gnu.org>; Sun, 10 Apr 2016 20:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZE0YJT92w8l5YjGcaOzOe5MSMFI7J2gJ9n5+vbACTE8=; b=HSVCtnbV+DP0t+bvcR554HJ4xwD8EgC+sGtWkkPL/UZixWdr8wVqjT54EYhvoKqEfo zVQysRSt7FwvnqLb1pUml/0UAPd77CwKYc0k0MWmrmwgf5cW6Pqjemgq9Xft9o4a1lgC AZDJ3HAK5sYxx5NeBGl1cggR9j6xrvXa9gscA26T+58iKjqkhcj80SdtKc/qo1BosfXi jOtGMsXrv5P+3Y3PsiyPbechODn9M9W6vsitexuSFISHCl56KwOr03Ul1GN3Tft/haOj UrsEEn74ig7pP3GN3ApNKO9Rrpb2xzIy7Xg/+CQzO1zfhMBHh5sMdmDkCaqzvXjOOg2K EfIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZE0YJT92w8l5YjGcaOzOe5MSMFI7J2gJ9n5+vbACTE8=; b=WJN95R/0/l6sqaam+GmYMPWiAjsLNwHiL1E0jrJXPGEZi2Cz0oYAueWFHWcLAVSM45 PcHjYgZ2EuSLJQCRXz8zQTTqOlqzB+S2kUs20gFDAARFChFCvPC/ygT82JzeyByPy7+O Etgqh5liG8MXk94rtKl5ANrjS6GLPmsjPhTENxIygo5tJ3BiZNK9HMb1yZUkYuqVPL/J fqPd7R9HAVyD+T5dnKCSRGFJMQftuajbvKSqkhWq0M7MpREpBMPzUgKiuQlYzhQ7CtEN xS25L/dnFPVlBMf1a0XFk7SXcsAxfmjjQgvYZMaIf5k3N9RF7fHrJExG+gh2UyXChM2B q/TQ== X-Gm-Message-State: AD7BkJJ8iC8ijo9JeUzI5kuKyC76sbDnSzHJ+QgIKZaLBOGxgdu3396BeTyYwdDUkkK9eFY6Ruo5UvNX1GjgYg== X-Received: by 10.129.129.6 with SMTP id r6mr9849499ywf.89.1460344529648; Sun, 10 Apr 2016 20:15:29 -0700 (PDT) In-Reply-To: <83oa9ji0qj.fsf@gnu.org> 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:116364 Archived-At: --94eb2c07ebacf0825c05302cf429 Content-Type: text/plain; charset=UTF-8 On Sat, Apr 9, 2016 at 6:35 AM Eli Zaretskii wrote: > > 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. > No, I think we can close this. Thanks for the help. And thanks to martin too. `x-show-tip' just might work. --94eb2c07ebacf0825c05302cf429 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sat= , Apr 9, 2016 at 6:35 AM Eli Zaretskii <= eliz@gnu.org> wrote:
> Fr= om: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: 23246@d= ebbugs.gnu.org
> Date: Fri, 08 Apr 2016 17:06:01 -0300
>
> Eli Zaretskii <el= iz@gnu.org> writes:
>
> > Why did you expect them to be blue?=C2=A0 Tooltips are special fr= ames that
> > don't display any buffer, whereas face-remap-add-relative is<= br> > > documented as affecting only the buffer that was current at the t= ime
> > 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, o= nly
> 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.

No, I think we can close this. Thanks for th= e help.=C2=A0
And thanks to martin too. `x-show-tip' just mig= ht work.
--94eb2c07ebacf0825c05302cf429--