From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1032: foreground-color in default-frame-alist affects tooltips, while background-color does not Date: Thu, 30 Oct 2008 12:40:17 +0100 Message-ID: <49099D21.1030106@gmx.at> References: <48DCFC54.7060809@gmx.at> <48DD0A16.9090402@gmx.at> <49096121.2080607@gmx.at> Reply-To: martin rudalics , 1032@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225368691 10369 80.91.229.12 (30 Oct 2008 12:11:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2008 12:11:31 +0000 (UTC) Cc: 1032@emacsbugs.donarmstrong.com To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 13:12:33 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KvWNx-0006TD-1v for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Oct 2008 13:12:21 +0100 Original-Received: from localhost ([127.0.0.1]:56586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvWMq-00085D-8G for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Oct 2008 08:11:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvWM8-0007o6-3Q for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2008 08:10:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvWM6-0007nE-CJ for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2008 08:10:27 -0400 Original-Received: from [199.232.76.173] (port=51068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvWM6-0007n8-8T for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2008 08:10:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55430) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KvWM5-0000mm-St for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2008 08:10:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9UCA3sY002485; Thu, 30 Oct 2008 05:10:04 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9UBo5QU029546; Thu, 30 Oct 2008 04:50:05 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 30 Oct 2008 11:50:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1032 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 1032-submit@emacsbugs.donarmstrong.com id=B1032.122536690728063 (code B ref 1032); Thu, 30 Oct 2008 11:50:04 +0000 Original-Received: (at 1032) by emacsbugs.donarmstrong.com; 30 Oct 2008 11:41:47 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m9UBfhgL028056 for <1032@emacsbugs.donarmstrong.com>; Thu, 30 Oct 2008 04:41:45 -0700 Original-Received: (qmail invoked by alias); 30 Oct 2008 11:41:37 -0000 Original-Received: from 62-47-57-155.adsl.highway.telekom.at (EHLO [62.47.57.155]) [62.47.57.155] by mail.gmx.net (mp067) with SMTP; 30 Oct 2008 12:41:37 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+cFmRXxHSculN5GTLHBisPRzA+oFu3QoCeYdaEps cjryJDQerJemyD User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 30 Oct 2008 08:10:27 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22037 Archived-At: > Judging from the code, I think the idea is not to modify > `tooltip-frame-parameters', *except* for > (foreground|background|border)-color, if they appear (if they don't, > they are not added). The reasoning being that allowing such parameters > with values that are not being obeyed would be misleading. Now I understand. > The right thing to do, IMHO, is to change tooltip-show not to modify > `tooltip-frame-parameters', and fix the variable's docstring to > explain that the color attributes of the tooltip frame come from the > tooltip face. WDYT about the attached patch? Looks good. Did you check that parameters appearing later in the list don't override parameters appearing earlier? > I cannot reproduce it. The new tooltip appears after a small delay. I see - it's 10 seconds here - not really small ;-) martin