From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David PONCE Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Problem with tooltip frame parameters Date: Fri, 10 Mar 2006 15:15:09 +0100 (CET) Message-ID: <16945688.1142000109550.JavaMail.www@wwinf1620> Reply-To: david.ponce@wanadoo.fr NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142000175 10634 80.91.229.2 (10 Mar 2006 14:16:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2006 14:16:15 +0000 (UTC) Cc: david@dponce.com, emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Fri Mar 10 15:16:13 2006 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHiPE-0000JW-Ab for gebp-emacs-pretest-bug@gmane.org; Fri, 10 Mar 2006 15:15:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHiPC-0008N9-W4 for gebp-emacs-pretest-bug@gmane.org; Fri, 10 Mar 2006 09:15:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FHiP0-00080b-Fa for emacs-pretest-bug@gnu.org; Fri, 10 Mar 2006 09:15:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FHiOl-0007eM-8l for emacs-pretest-bug@gnu.org; Fri, 10 Mar 2006 09:15:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHiOk-0007dm-0X for emacs-pretest-bug@gnu.org; Fri, 10 Mar 2006 09:15:18 -0500 Original-Received: from [193.252.23.89] (helo=smtp16.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FHiS1-0005y3-7x for emacs-pretest-bug@gnu.org; Fri, 10 Mar 2006 09:18:42 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1601.wanadoo.fr (SMTP Server) with ESMTP id 8D70E700008E for ; Fri, 10 Mar 2006 15:15:09 +0100 (CET) Original-Received: from wwinf1620 (wwinf1620 [172.22.147.44]) by mwinf1601.wanadoo.fr (SMTP Server) with ESMTP id 886D97000086; Fri, 10 Mar 2006 15:15:09 +0100 (CET) X-ME-UUID: 20060310141509558.886D97000086@mwinf1601.wanadoo.fr Original-To: emacs-pretest-bug@gnu.org X-Originating-IP: [205.167.7.18] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~||~| X-WUM-REPLYTO: |~| X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:11352 gmane.emacs.devel:51422 Archived-At: Hi All, I recently noticed that customization of `tooltip-frame-parameters' no more works. I found that, after `x-show-tip' is called in `tooltip-show', all the `tooltip-frame-parameters' symbols are changed to nil! It is easy to reproduce: emacs -Q In the *scratch* buffer eval: tooltip-frame-parameters ==> ((name . "tooltip") (internal-border-width . 2) (border-width . 1)) Move the mouse on the tool bar to show a tooltip. Then eval again: tooltip-frame-parameters ==> ((nil . "tooltip") (nil . 2) (nil . 1)) Do others observe that? If so, I wonder if that could be a side effect of a recent change in the function `x_get_arg' in frame.c that introduced this code: tem = Fassq (param, alist); if (!NILP (tem)) { /* If we find this parm in ALIST, clear it out so that it won't be "left over" at the end. */ #ifndef WINDOWSNT /* w32fns.c has not yet been changed to cope with this. */ Lisp_Object tail; XSETCAR (tem, Qnil); /* In case the parameter appears more than once in the alist, clear it out. */ for (tail = alist; CONSP (tail); tail = XCDR (tail)) if (CONSP (XCAR (tail)) && EQ (XCAR (XCAR (tail)), param)) XSETCAR (XCAR (tail), Qnil); #endif } Particularly, the XSETCAR (tem, Qnil); statement might be the culprit. Sincerely, David In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.10) of 2006-03-10 on localhost X server distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '--with-gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t