From unknown Sat Aug 16 00:34:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24899 <24899@debbugs.gnu.org> To: bug#24899 <24899@debbugs.gnu.org> Subject: Status: 25.1; x-hide-tip always returns nil with USE_GTK Reply-To: bug#24899 <24899@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:34:46 +0000 retitle 24899 25.1; x-hide-tip always returns nil with USE_GTK reassign 24899 emacs submitter 24899 nverno severity 24899 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 00:02:22 2016 Received: (at submit) by debbugs.gnu.org; 8 Nov 2016 05:02:22 +0000 Received: from localhost ([127.0.0.1]:48935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3yY9-0002hN-Mj for submit@debbugs.gnu.org; Tue, 08 Nov 2016 00:02:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3xsb-0001ir-PK for submit@debbugs.gnu.org; Mon, 07 Nov 2016 23:19:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3xsT-0007jb-UJ for submit@debbugs.gnu.org; Mon, 07 Nov 2016 23:19:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3xsT-0007jX-RD for submit@debbugs.gnu.org; Mon, 07 Nov 2016 23:19:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3xsR-0002DP-9u for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 23:19:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3xsO-0007hW-1C for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 23:19:15 -0500 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:33699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3xsN-0007hO-Qi for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 23:19:11 -0500 Received: by mail-qk0-x242.google.com with SMTP id x190so13574667qkb.0 for ; Mon, 07 Nov 2016 20:19:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=xRD+QM3W+Rteu9pRY5C/+S7zNhFuw29gc76D6C+XuME=; b=PH8BwXIBBJgj8QlT1OcHZZPHNPIXhEKFol15AGgMbnznohCtjwGxSAf6tzxnr5WI89 4OFkBh8Lkcq2eFJ2NF9q8Vyrtp32tO+W2Mza3bwYJ+NTrSz23E4z6IpBN3KO3X2HrUgx rAmaB7ZxKWO/ockT7QOhO3VuwGfQehDk7i0CeO2+i9ro1yKKZn9gS6L8P4g0weXeFLkJ VZE5WPw9ZWPouNKqo8Qqt8ypECZOGEhfbRMNpNcmosTnTYbNNwDCapGn2I0EMFq3hiFg ArSw4Xnw/hjqSDyjKun9sS8cX6jauXD6paWnF7iMOPi1PGWrk752jyWVMFo8D4i3vVmq 3AQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=xRD+QM3W+Rteu9pRY5C/+S7zNhFuw29gc76D6C+XuME=; b=KRhm7IL6JFU65QgPMMG+V4UM/izHMQL/1k8Oga1CIgh9gXAHivb148JCJCJ8rxCG8v Z0ZibV2fDbDVSX3a0XuSGG4NxzxNg4HvaFUjP9FDd19UfdvqZGltKOG+f2C5fVmdqHmx 7qzZdnTxk0HxjyTKomrI22+3M/M/vBJLfOuzRCd0erwFfoLHtj//+JrHzpEF7NGpVAkK uZ0yqpveD6O3UNBAOtF8PqtKNZ5UO5/+iwbRfVg7l8CbrMaVAGuoz0/mWMzzatL/GQNG YkhGehQmRK9C4KppWRZs7eIqDCIVBQVSPcaTowz899c41dgLEN+/MNrPCylywSsihzsq PUkw== X-Gm-Message-State: ABUngvczSoQb0o6jn+OOLULmAOpB9BoVZvCoihUsNfEASywQ5faar7qACF4iLJ4I21MVLw== X-Received: by 10.55.103.133 with SMTP id b127mr5024591qkc.16.1478578750654; Mon, 07 Nov 2016 20:19:10 -0800 (PST) Received: from [192.168.1.39] (pool-64-223-172-234.man.east.myfairpoint.net. [64.223.172.234]) by smtp.gmail.com with ESMTPSA id 6sm18302075qke.18.2016.11.07.20.19.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 20:19:10 -0800 (PST) To: bug-gnu-emacs@gnu.org Subject: 25.1; x-hide-tip always returns nil with USE_GTK From: nverno Message-ID: Date: Mon, 7 Nov 2016 23:18:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 08 Nov 2016 00:02:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Calling `x-hide-tip` always returns nil (it is documented to return t when the tooltip is active). I noticed this after recently compiling with gtk3. I was using `x-hide-tip` in a toggling function that stopped toggling. As an example of what currently doesn't work: (defun toggle-tip () (interactive) (or (x-hide-tip) (pos-tip-show "hi"))) In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-11-07 built on nverno-M51AC Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 16.04.1 LTS Configured using: 'configure --with-x-toolkit=gtk3 --with-modules --with-xwidgets' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8 Major mode: C/l Minor modes in effect: ede-minor-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-summary-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t semantic-stickyfunc-mode: t global-semantic-stickyfunc-mode: t semantic-mode: t irony-mode: t recentf-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t linum-mode: t ido-vertical-mode: t ido-everywhere: t company-statistics-mode: t company-quickhelp-mode: t global-company-mode: t company-mode: t yas-minor-mode: t smartparens-global-mode: t smartparens-mode: t smooth-scrolling-mode: t global-subword-mode: t subword-mode: t global-auto-revert-mode: t winner-mode: t delete-selection-mode: t show-paren-mode: t save-place-mode: t savehist-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: user-error: At end of buffer nil [2 times] Parsing xfns.c (LL)...done Idle Service Error semantic-idle-summary-idle-function: "# - Wrong type argument: stringp, (((0) \"EMACS_INT\"))" [2 times] Quit [3 times] nil [4 times] Saving file /home/nverno/.emacs.d/site-lisp/elisp-utils/el-pophelp.el... Wrote /home/nverno/.emacs.d/site-lisp/elisp-utils/el-pophelp.el Wrote /home/nverno/.emacs.d/site-lisp/elisp-utils/el-pophelp.elc Wrote /home/nverno/.emacs.d/site-lisp/elisp-utils/el-pophelp.{el,elc} Quit [2 times] Load-path shadows: /home/nverno/.emacs.d/elpa/define-word-20150709.1223/define-word hides /home/nverno/.emacs.d/site-lisp/define-word /home/nverno/.emacs.d/lisp/loaddefs hides /home/nverno/.emacs.d/site-lisp/loaddefs /home/nverno/.emacs.d/lisp/defuns/nvp-web hides /home/nverno/.emacs.d/lisp/modes/nvp-web /home/nverno/.emacs.d/lisp/custom hides /usr/local/share/emacs/25.1/lisp/custom /home/nverno/.emacs.d/lisp/loaddefs hides /usr/local/share/emacs/25.1/lisp/loaddefs /home/nverno/.emacs.d/git/org-mode/lisp/ob-mscgen hides /usr/local/share/emacs/25.1/lisp/org/ob-mscgen /home/nverno/.emacs.d/git/org-mode/lisp/org-compat hides /usr/local/share/emacs/25.1/lisp/org/org-compat /home/nverno/.emacs.d/git/org-mode/lisp/ob-haskell hides /usr/local/share/emacs/25.1/lisp/org/ob-haskell /home/nverno/.emacs.d/git/org-mode/lisp/org-mhe hides /usr/local/share/emacs/25.1/lisp/org/org-mhe /home/nverno/.emacs.d/git/org-mode/lisp/org-rmail hides /usr/local/share/emacs/25.1/lisp/org/org-rmail /home/nverno/.emacs.d/git/org-mode/lisp/org-crypt hides /usr/local/share/emacs/25.1/lisp/org/org-crypt /home/nverno/.emacs.d/git/org-mode/lisp/ob-tangle hides /usr/local/share/emacs/25.1/lisp/org/ob-tangle /home/nverno/.emacs.d/git/org-mode/lisp/org-macs hides /usr/local/share/emacs/25.1/lisp/org/org-macs /home/nverno/.emacs.d/git/org-mode/lisp/ox-man hides /usr/local/share/emacs/25.1/lisp/org/ox-man /home/nverno/.emacs.d/git/org-mode/lisp/ob-picolisp hides /usr/local/share/emacs/25.1/lisp/org/ob-picolisp /home/nverno/.emacs.d/git/org-mode/lisp/ob-io hides /usr/local/share/emacs/25.1/lisp/org/ob-io /home/nverno/.emacs.d/git/org-mode/lisp/org-datetree hides /usr/local/share/emacs/25.1/lisp/org/org-datetree /home/nverno/.emacs.d/git/org-mode/lisp/org-bibtex hides /usr/local/share/emacs/25.1/lisp/org/org-bibtex /home/nverno/.emacs.d/git/org-mode/lisp/org-attach hides /usr/local/share/emacs/25.1/lisp/org/org-attach /home/nverno/.emacs.d/git/org-mode/lisp/ob-fortran hides /usr/local/share/emacs/25.1/lisp/org/ob-fortran /home/nverno/.emacs.d/git/org-mode/lisp/org-bbdb hides /usr/local/share/emacs/25.1/lisp/org/org-bbdb /home/nverno/.emacs.d/git/org-mode/lisp/ob-sql hides /usr/local/share/emacs/25.1/lisp/org/ob-sql /home/nverno/.emacs.d/git/org-mode/lisp/ob-css hides /usr/local/share/emacs/25.1/lisp/org/ob-css /home/nverno/.emacs.d/git/org-mode/lisp/org-inlinetask hides /usr/local/share/emacs/25.1/lisp/org/org-inlinetask /home/nverno/.emacs.d/git/org-mode/lisp/org-id hides /usr/local/share/emacs/25.1/lisp/org/org-id /home/nverno/.emacs.d/git/org-mode/lisp/ob-lilypond hides /usr/local/share/emacs/25.1/lisp/org/ob-lilypond /home/nverno/.emacs.d/git/org-mode/lisp/ox-org hides /usr/local/share/emacs/25.1/lisp/org/ox-org /home/nverno/.emacs.d/git/org-mode/lisp/ob-js hides /usr/local/share/emacs/25.1/lisp/org/ob-js /home/nverno/.emacs.d/git/org-mode/lisp/ob-python hides /usr/local/share/emacs/25.1/lisp/org/ob-python /home/nverno/.emacs.d/git/org-mode/lisp/ob-calc hides /usr/local/share/emacs/25.1/lisp/org/ob-calc /home/nverno/.emacs.d/git/org-mode/lisp/ob-makefile hides /usr/local/share/emacs/25.1/lisp/org/ob-makefile /home/nverno/.emacs.d/git/org-mode/lisp/ob-shen hides /usr/local/share/emacs/25.1/lisp/org/ob-shen /home/nverno/.emacs.d/git/org-mode/lisp/ob-awk hides /usr/local/share/emacs/25.1/lisp/org/ob-awk /home/nverno/.emacs.d/git/org-mode/lisp/org-habit hides /usr/local/share/emacs/25.1/lisp/org/org-habit /home/nverno/.emacs.d/git/org-mode/lisp/org-feed hides /usr/local/share/emacs/25.1/lisp/org/org-feed /home/nverno/.emacs.d/git/org-mode/lisp/ob-lob hides /usr/local/share/emacs/25.1/lisp/org/ob-lob /home/nverno/.emacs.d/git/org-mode/lisp/ob-core hides /usr/local/share/emacs/25.1/lisp/org/ob-core /home/nverno/.emacs.d/git/org-mode/lisp/org-irc hides /usr/local/share/emacs/25.1/lisp/org/org-irc /home/nverno/.emacs.d/git/org-mode/lisp/org-gnus hides /usr/local/share/emacs/25.1/lisp/org/org-gnus /home/nverno/.emacs.d/git/org-mode/lisp/ob-comint hides /usr/local/share/emacs/25.1/lisp/org/ob-comint /home/nverno/.emacs.d/git/org-mode/lisp/ob-emacs-lisp hides /usr/local/share/emacs/25.1/lisp/org/ob-emacs-lisp /home/nverno/.emacs.d/git/org-mode/lisp/ob-latex hides /usr/local/share/emacs/25.1/lisp/org/ob-latex /home/nverno/.emacs.d/git/org-mode/lisp/ox hides /usr/local/share/emacs/25.1/lisp/org/ox /home/nverno/.emacs.d/git/org-mode/lisp/org-colview hides /usr/local/share/emacs/25.1/lisp/org/org-colview /home/nverno/.emacs.d/git/org-mode/lisp/ox-ascii hides /usr/local/share/emacs/25.1/lisp/org/ox-ascii /home/nverno/.emacs.d/git/org-mode/lisp/org-timer hides /usr/local/share/emacs/25.1/lisp/org/org-timer /home/nverno/.emacs.d/git/org-mode/lisp/ob-clojure hides /usr/local/share/emacs/25.1/lisp/org/ob-clojure /home/nverno/.emacs.d/git/org-mode/lisp/org-ctags hides /usr/local/share/emacs/25.1/lisp/org/org-ctags /home/nverno/.emacs.d/git/org-mode/lisp/ob-matlab hides /usr/local/share/emacs/25.1/lisp/org/ob-matlab /home/nverno/.emacs.d/git/org-mode/lisp/ob-ditaa hides /usr/local/share/emacs/25.1/lisp/org/ob-ditaa /home/nverno/.emacs.d/git/org-mode/lisp/org-install hides /usr/local/share/emacs/25.1/lisp/org/org-install /home/nverno/.emacs.d/git/org-mode/lisp/ob-ledger hides /usr/local/share/emacs/25.1/lisp/org/ob-ledger /home/nverno/.emacs.d/git/org-mode/lisp/ox-icalendar hides /usr/local/share/emacs/25.1/lisp/org/ox-icalendar /home/nverno/.emacs.d/git/org-mode/lisp/org-faces hides /usr/local/share/emacs/25.1/lisp/org/org-faces /home/nverno/.emacs.d/git/org-mode/lisp/ob-org hides /usr/local/share/emacs/25.1/lisp/org/ob-org /home/nverno/.emacs.d/git/org-mode/lisp/org-list hides /usr/local/share/emacs/25.1/lisp/org/org-list /home/nverno/.emacs.d/git/org-mode/lisp/ob-screen hides /usr/local/share/emacs/25.1/lisp/org/ob-screen /home/nverno/.emacs.d/git/org-mode/lisp/ob-asymptote hides /usr/local/share/emacs/25.1/lisp/org/ob-asymptote /home/nverno/.emacs.d/git/org-mode/lisp/ob-java hides /usr/local/share/emacs/25.1/lisp/org/ob-java /home/nverno/.emacs.d/git/org-mode/lisp/org hides /usr/local/share/emacs/25.1/lisp/org/org /home/nverno/.emacs.d/git/org-mode/lisp/ob-perl hides /usr/local/share/emacs/25.1/lisp/org/ob-perl /home/nverno/.emacs.d/git/org-mode/lisp/org-element hides /usr/local/share/emacs/25.1/lisp/org/org-element /home/nverno/.emacs.d/git/org-mode/lisp/org-src hides /usr/local/share/emacs/25.1/lisp/org/org-src /home/nverno/.emacs.d/git/org-mode/lisp/ob-dot hides /usr/local/share/emacs/25.1/lisp/org/ob-dot /home/nverno/.emacs.d/git/org-mode/lisp/org-table hides /usr/local/share/emacs/25.1/lisp/org/org-table /home/nverno/.emacs.d/git/org-mode/lisp/org-mouse hides /usr/local/share/emacs/25.1/lisp/org/org-mouse /home/nverno/.emacs.d/git/org-mode/lisp/ob hides /usr/local/share/emacs/25.1/lisp/org/ob /home/nverno/.emacs.d/git/org-mode/lisp/org-info hides /usr/local/share/emacs/25.1/lisp/org/org-info /home/nverno/.emacs.d/git/org-mode/lisp/ob-ref hides /usr/local/share/emacs/25.1/lisp/org/ob-ref /home/nverno/.emacs.d/git/org-mode/lisp/ob-eval hides /usr/local/share/emacs/25.1/lisp/org/ob-eval /home/nverno/.emacs.d/git/org-mode/lisp/org-w3m hides /usr/local/share/emacs/25.1/lisp/org/org-w3m /home/nverno/.emacs.d/git/org-mode/lisp/ob-ruby hides /usr/local/share/emacs/25.1/lisp/org/ob-ruby /home/nverno/.emacs.d/git/org-mode/lisp/ob-sqlite hides /usr/local/share/emacs/25.1/lisp/org/ob-sqlite /home/nverno/.emacs.d/git/org-mode/lisp/ox-md hides /usr/local/share/emacs/25.1/lisp/org/ox-md /home/nverno/.emacs.d/git/org-mode/lisp/org-indent hides /usr/local/share/emacs/25.1/lisp/org/org-indent /home/nverno/.emacs.d/git/org-mode/lisp/ob-scala hides /usr/local/share/emacs/25.1/lisp/org/ob-scala /home/nverno/.emacs.d/git/org-mode/lisp/ob-octave hides /usr/local/share/emacs/25.1/lisp/org/ob-octave /home/nverno/.emacs.d/git/org-mode/lisp/ob-R hides /usr/local/share/emacs/25.1/lisp/org/ob-R /home/nverno/.emacs.d/git/org-mode/lisp/org-version hides /usr/local/share/emacs/25.1/lisp/org/org-version /home/nverno/.emacs.d/git/org-mode/lisp/ob-scheme hides /usr/local/share/emacs/25.1/lisp/org/ob-scheme /home/nverno/.emacs.d/git/org-mode/lisp/org-loaddefs hides /usr/local/share/emacs/25.1/lisp/org/org-loaddefs /home/nverno/.emacs.d/git/org-mode/lisp/org-pcomplete hides /usr/local/share/emacs/25.1/lisp/org/org-pcomplete /home/nverno/.emacs.d/git/org-mode/lisp/org-entities hides /usr/local/share/emacs/25.1/lisp/org/org-entities /home/nverno/.emacs.d/git/org-mode/lisp/org-clock hides /usr/local/share/emacs/25.1/lisp/org/org-clock /home/nverno/.emacs.d/git/org-mode/lisp/org-plot hides /usr/local/share/emacs/25.1/lisp/org/org-plot /home/nverno/.emacs.d/git/org-mode/lisp/ob-ocaml hides /usr/local/share/emacs/25.1/lisp/org/ob-ocaml /home/nverno/.emacs.d/git/org-mode/lisp/ob-C hides /usr/local/share/emacs/25.1/lisp/org/ob-C /home/nverno/.emacs.d/git/org-mode/lisp/org-archive hides /usr/local/share/emacs/25.1/lisp/org/org-archive /home/nverno/.emacs.d/git/org-mode/lisp/org-footnote hides /usr/local/share/emacs/25.1/lisp/org/org-footnote /home/nverno/.emacs.d/git/org-mode/lisp/ox-publish hides /usr/local/share/emacs/25.1/lisp/org/ox-publish /home/nverno/.emacs.d/git/org-mode/lisp/org-agenda hides /usr/local/share/emacs/25.1/lisp/org/org-agenda /home/nverno/.emacs.d/git/org-mode/lisp/org-macro hides /usr/local/share/emacs/25.1/lisp/org/org-macro /home/nverno/.emacs.d/git/org-mode/lisp/ob-maxima hides /usr/local/share/emacs/25.1/lisp/org/ob-maxima /home/nverno/.emacs.d/git/org-mode/lisp/org-docview hides /usr/local/share/emacs/25.1/lisp/org/org-docview /home/nverno/.emacs.d/git/org-mode/lisp/ob-lisp hides /usr/local/share/emacs/25.1/lisp/org/ob-lisp /home/nverno/.emacs.d/git/org-mode/lisp/ob-plantuml hides /usr/local/share/emacs/25.1/lisp/org/ob-plantuml /home/nverno/.emacs.d/git/org-mode/lisp/ob-keys hides /usr/local/share/emacs/25.1/lisp/org/ob-keys /home/nverno/.emacs.d/git/org-mode/lisp/ox-beamer hides /usr/local/share/emacs/25.1/lisp/org/ox-beamer /home/nverno/.emacs.d/git/org-mode/lisp/ox-latex hides /usr/local/share/emacs/25.1/lisp/org/ox-latex /home/nverno/.emacs.d/git/org-mode/lisp/org-mobile hides /usr/local/share/emacs/25.1/lisp/org/org-mobile /home/nverno/.emacs.d/git/org-mode/lisp/ob-exp hides /usr/local/share/emacs/25.1/lisp/org/ob-exp /home/nverno/.emacs.d/git/org-mode/lisp/org-protocol hides /usr/local/share/emacs/25.1/lisp/org/org-protocol /home/nverno/.emacs.d/git/org-mode/lisp/ox-texinfo hides /usr/local/share/emacs/25.1/lisp/org/ox-texinfo /home/nverno/.emacs.d/git/org-mode/lisp/org-capture hides /usr/local/share/emacs/25.1/lisp/org/org-capture /home/nverno/.emacs.d/git/org-mode/lisp/ob-table hides /usr/local/share/emacs/25.1/lisp/org/ob-table /home/nverno/.emacs.d/git/org-mode/lisp/ob-gnuplot hides /usr/local/share/emacs/25.1/lisp/org/ob-gnuplot /home/nverno/.emacs.d/git/org-mode/lisp/ox-odt hides /usr/local/share/emacs/25.1/lisp/org/ox-odt /home/nverno/.emacs.d/git/org-mode/lisp/ox-html hides /usr/local/share/emacs/25.1/lisp/org/ox-html /home/nverno/.emacs.d/git/org-mode/lisp/ob-sass hides /usr/local/share/emacs/25.1/lisp/org/ob-sass /home/nverno/.emacs.d/git/org-mode/lisp/org-eshell hides /usr/local/share/emacs/25.1/lisp/org/org-eshell Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils nvp-code-and-comments misearch multi-isearch semantic/imenu semantic/sb idomenu imenu hl-line make-it-so make-mode nvp-dired dired-x semantic/edit company-irony semantic/ia semantic/senator semantic/db-typecache macrostep-c cmacexp macrostep pp ede/locate ede/emacs ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-speedbar eieio-custom nvp-cedet warnings nvp-local nvp-install nvp-macros semantic/tag-file nvp-c++ semantic/db-file data-debug cedet-files semantic/bovine/c semantic/decorate/include semantic/decorate/mode semantic/decorate pulse hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db-mode semantic/db eieio-base semantic/idle semantic/format semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet irony-completion irony-snippet irony google-c-style nvp-c el-pophelp nvp-sh sh-tools sh-script smie nvp-compilation compile hippie-expand-auto hippie-exp eieio-opt speedbar sb-image ezimage dframe nvp-help config-utils ace-window diary-lib diary-loaddefs cal-iso solar cal-dst cal-move parse-time executable nvp-general org-indent org-bullets nvp-outline org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr nvp-image image-mode dired org-bibtex bibtex org-bbdb org-w3m nvp-org ob-shell ob-J ob-latex ob-scheme ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-matlab ob-octave ob-css ob-dot ob-ruby ob-python ob-clojure ob-scala ob-perl ob-js ob-sh ob-R org-agenda org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint tramp tramp-compat auth-source gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize ob-core ob-eval org-compat org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs recentf tree-widget company-shell subr-x nvp nvp-shell bash-completion shell-tools expand shell pcomplete comint ansi-color nvp-ext vc-git diff-mode easy-mmode nvp-files company-elisp find-func auto-compile packed highlight-quoted nvp-emacs-lisp cl-lib-highlight elisp-utils nvp-snippet nvp-paredit paredit linum nvp-init nvp-mode-hooks ido-vertical-mode flx-ido flx ido-ubiquitous ido-completing-read+ cus-edit cus-start cus-load wid-edit avy smex ido company-statistics company-files company-keywords company-etags etags xref project eieio eieio-core company-gtags company-template company-dabbrev-code company-dabbrev company-capf company-quickhelp pos-tip company yasnippet edmacro kmacro move-text cl-seq smartparens-config smartparens thingatpt dash hydra lv diminish moe-theme powerline powerline-separators color powerline-themes gruvbox-theme cl-macs smooth-scrolling two-column server cap-words superword subword autorevert filenotify winner ring delsel paren saveplace savehist finder-inf info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib advice time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1242952 1728825) (symbols 48 53851 285) (miscs 40 2873 6433) (strings 32 199328 343978) (string-bytes 1 5363942) (vectors 16 102940) (vector-slots 8 1378077 291988) (floats 8 1808 4966) (intervals 56 12207 4383) (buffers 976 53) (heap 1024 186788 60313)) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 02:23:25 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 07:23:25 +0000 Received: from localhost ([127.0.0.1]:48957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c40kf-00066I-5G for submit@debbugs.gnu.org; Tue, 08 Nov 2016 02:23:25 -0500 Received: from mout.gmx.net ([212.227.15.15]:52087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c40kc-000665-TQ for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 02:23:23 -0500 Received: from [192.168.1.100] ([212.95.7.83]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M7Gj8-1d0uIc1xva-00x2lO; Tue, 08 Nov 2016 08:23:16 +0100 Message-ID: <58217D5C.1000302@gmx.at> Date: Tue, 08 Nov 2016 08:23:08 +0100 From: martin rudalics MIME-Version: 1.0 To: nverno , 24899@debbugs.gnu.org Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:F09g0R6f1DzWy1pzdIiSImbJwU3wpn4KplFt4JZbKn/RaR4c7YX kcAwl4X3gt0LWkbqPi9sXP8G6773taruNKIRYxVrCy4QQR11Xsnh6Ws+Lz1Y3XXOVjOGs2a +ek9uu62t95zagOdpTGcN7fhHNJ368IsFSOdNgaAxtc5jdDSNFna0E9DwIRmbzXfAvIPGH6 eht4d+N6f9u4mZN6sAjBA== X-UI-Out-Filterresults: notjunk:1;V01:K0:6G0CvV+YZAA=:EjklOHo6QFcCvCN/lLCXS6 WzK/y4jKZ5Ae7WYVGm4RPbiaVnWGn9nXMIP1mL7sDQKNqvw45kjnOsY/AJpd9eJ03omcPn8x2 m+Zyb3xXCjmkRPoUtTTiYcEPmVf+7feG8t6+k9L8JOnHDR818h1PYMYJwClRQWmWKAegp2Q92 WYdf19FCephi5d0xtVkzRIWs4QolMkGw+80qSEgb0+HhWg8nE0qZ7Jct89vx/GWuCwk6Qi2jZ CsyXpNk872zknmqXvHGQZM5q7KtU/nm/ZundcUzWjK+h8mDuLXQ9d6KGBJtGsRKJyIQY6oRdb kAje42oU2lXv8QWsi11vdwtEVTXNPktiUmCBynps8n6JQAjt7y2s2v3MQhDtEJu4TmsZLcNBK WZ7yXow3yAUS/sgsJOIID4hjBfcmPqfhEefFKkzZHEQZsFpav3AzR8RiJk3MZQC8nn4M4V2A1 rpdf8Zn3evqNahvPEdYYGJlqhqkE2qDbRafwn3dt8tiQmdp/3ovWrD+ahOI5nBbd7cdJv6xjf Xv9amZcd44Jgty7OIN6P6RJ1uijQdZfVJpv0EZy8Ln8A9Mx+ewH3RFj5S7Gw7frpzjKy7PyE6 OdhT8qG6OVtPrMciD6I8Mkm8WtJoKaf1cWmCdTWG/mEayiri/IV5ygSXRpWYSKRTyVRuDFzO3 bx1cloVPwWky0YqB/lP4WHMTESd5QKWltu4U8wR7BGZaawDJGtn5xAf6gnoz/fVSIUAGfhqmt C0SwaOk85Sg/tF9rulJOK7Skjjis5oPVv0brxBRfDgfq9/YrvbOf/dH2uMPdXTtFGWNr3wAIa OS44un/mH8Xvuwm2VwCtA98goOnFw== X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) > Calling `x-hide-tip` always returns nil (it is documented to > return t when the tooltip is active). I noticed this after > recently compiling with gtk3. I was using `x-hide-tip` in > a toggling function that stopped toggling. As an example > of what currently doesn't work: > > (defun toggle-tip () > (interactive) > (or (x-hide-tip) > (pos-tip-show "hi"))) > > > In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) > of 2016-11-07 built on nverno-M51AC > Windowing system distributor 'The X.Org Foundation', version 11.0.1180= 3000 > System Description: Ubuntu 16.04.1 LTS > > Configured using: > 'configure --with-x-toolkit=3Dgtk3 --with-modules --with-xwidgets' Thanks for the report. I think that before investigating this further we need another recipe. Yours is based on =E2=80=98pos-tip-show=E2=80=99= which is not part of Emacs. Does =E2=80=98pos-tip-show=E2=80=99 use GTK+ tooltips or = the native Emacs ones - what is your value of =E2=80=98x-gtk-use-system-tooltips=E2=80= =99? Then we would have to decide how to retrieve a non-nil return value for =E2=80=98x-hide-tip=E2=80=99 in the first place. Here the tooltip disapp= ears immediately when I type anything, so the return value is always nil by force, presumably. We'd probably need a timer to test your function. Finally, we would have to check the results for the function you get this way for both =E2=80=98x-gtk-use-system-tooltips=E2=80=99 nil/t setti= ngs and for at least one other toolkit. Can you please try doing all that? Thanks again, martin From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 10:18:13 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 15:18:13 +0000 Received: from localhost ([127.0.0.1]:49788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c48A9-0002Cw-7m for submit@debbugs.gnu.org; Tue, 08 Nov 2016 10:18:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c48A8-0002Ck-59 for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 10:18:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c489z-0007MH-3B for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 10:18:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c489y-0007MC-Vw; Tue, 08 Nov 2016 10:18:03 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2905 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c489y-0006BV-75; Tue, 08 Nov 2016 10:18:02 -0500 Date: Tue, 08 Nov 2016 17:18:35 +0200 Message-Id: <83fun2gfuc.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-reply-to: <58217D5C.1000302@gmx.at> (message from martin rudalics on Tue, 08 Nov 2016 08:23:08 +0100) Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK References: <58217D5C.1000302@gmx.at> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: 24899 Cc: noah.v.peart@gmail.com, 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > Date: Tue, 08 Nov 2016 08:23:08 +0100 > From: martin rudalics > > Thanks for the report. I think that before investigating this further > we need another recipe. Yours is based on ‘pos-tip-show’ which is not > part of Emacs. Does ‘pos-tip-show’ use GTK+ tooltips or the native > Emacs ones - what is your value of ‘x-gtk-use-system-tooltips’? > > Then we would have to decide how to retrieve a non-nil return value for > ‘x-hide-tip’ in the first place. Here the tooltip disappears > immediately when I type anything, so the return value is always nil by > force, presumably. We'd probably need a timer to test your function. > > Finally, we would have to check the results for the function you get > this way for both ‘x-gtk-use-system-tooltips’ nil/t settings and for at > least one other toolkit. > > Can you please try doing all that? Martin, did you try this on master or on the emacs-25 branch? I think there's an omission in the Emacs 25.1 code, which the OP is running, that is already fixed on master. For emacs-25, the following patch should at least bring you closer to the solution, if not be the solution: diff --git a/src/xfns.c b/src/xfns.c index 7c1bb1c..a6d8980 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -6120,7 +6120,10 @@ Value is t if tooltip was open, nil otherwise. */) the tip is shown. */ struct frame *f = XFRAME (frame); if (FRAME_LIVE_P (f) && xg_hide_tooltip (f)) - frame = Qnil; + { + frame = Qnil; + deleted = Qt; + } } #endif From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 11:41:37 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 16:41:38 +0000 Received: from localhost ([127.0.0.1]:49861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c49Sr-0004Gu-Ot for submit@debbugs.gnu.org; Tue, 08 Nov 2016 11:41:37 -0500 Received: from mout.gmx.net ([212.227.15.18]:64428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c49Sp-0004Gd-9t for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 11:41:35 -0500 Received: from [192.168.1.100] ([212.95.7.90]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M08ia-1cyT4e0XYC-00uJr3; Tue, 08 Nov 2016 17:41:28 +0100 Message-ID: <5822002F.8040409@gmx.at> Date: Tue, 08 Nov 2016 17:41:19 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> In-Reply-To: <83fun2gfuc.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:16Ydbwt69UoyfrqPztwBis97VAg0TwFBPz2CmEc7AsnTVugqx81 Qh7r2VMR8US4+QpBlfw/jWGzOLn8B8Ws2hWd5uIGxwZAod7OkFvCVND0D4LqEyhJ3MkVrFT jM9b+x7lODB54MkeRglaojhd/W1LZA/bnuMb8+ZDXI8kbnEXJ2POKy9MK2Torv7h/TFXrjx MnHEXTsurir1k7jBBZb/w== X-UI-Out-Filterresults: notjunk:1;V01:K0:9A2M0Y9MqUE=:dLz9PI70iGpZR4VUYGyp/b uMBvu2qV0SDSmGEtsGUfqD4Lw8vATjMjrzLtQHAEoUnS8WSCer6Xf+9W1vNbHs8FcIfBhs+fM 613Ncv4++hVyKM2I3zmHnLEz2xhwGhWgQQ6RmdJ3OvNMa3WQ7bBG0E5vact8jd3K476hn6f1v ifbZfDkFH+RY78WgK9rqy6Kd5gyxc8bxY5ySiAt6PdqDEjelT57cWnjlhnlEjdLAwX1t5zhkW i0+NZ5Cfu+1Pw61Xro1eL2YSwdEOof8ILLi7+7R5HsWslDtcGWMrbKIDQaL+zpPgDopEPpFGh M3E8J3LeEnAmYkaIlU/bR07FYfMeuaX3p6ihtIqqY+kFF+Hjsr5XnYHV1veLHnx/AfS/bfGQz eHuC6pqHpFhUEHpJrmRcgM1vh9QFMiMf4ayF9PDJtgWlyAmqwXxlD7JyRPRkmuzU8lmIRC03q 8RGhkGg0vAi7nCH3lBmiwkV7UTFITsX+YVljO06DFWfmh28TVK3xlnAswPHJWB9rLCOA4TcJT 1wuffjIfLi0oIBiJvQmb2hELCqGtXhIZS0q2Lxhm7qQ7kN25T1wecu5I1aU4xFXPKxzRe95X7 1PQcKAI6tUgjEhfURKhRTRsntoTsOmtnNifKMwmRNGAotZrrvmwkER/nvdaVgHgI1MkdvtlCz SZ4+ufVvKn3uh+Pn2/SrwneEML56GAJP70lX6qKPO6V9zID7vqjYlvw62UnNZOj7XGSQL0jFL nq+22kjmx4mmnpikRsyIyB81Tw7dk6SH4Qp75QVq4qQclnOz3cLPUf8Beaojrjj4FuTbRW4pO Jq8kc0ZonqBJG0WW2pSh3G+8cjhKQ== X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 Cc: noah.v.peart@gmail.com, 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) > Martin, did you try this on master or on the emacs-25 branch? On master. The OP's build time was more recent than mine ;-) > I think > there's an omission in the Emacs 25.1 code, which the OP is running, > that is already fixed on master. For emacs-25, the following patch > should at least bring you closer to the solution, Emacs-25? This bug is more than six years old. > if not be the > solution: It fixes the problem here. nverno, can you please test whether it fixes the problem for you too? Then Eli will decide whether we can apply the fix to Emacs 25. If we can't, you'll have to check this out on master. Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 11:47:44 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 16:47:44 +0000 Received: from localhost ([127.0.0.1]:49867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c49Ym-0004Sd-CT for submit@debbugs.gnu.org; Tue, 08 Nov 2016 11:47:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c49Yl-0004SP-O8 for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 11:47:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c49Yd-0002ye-9h for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 11:47:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c49Yd-0002ya-6Q; Tue, 08 Nov 2016 11:47:35 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3051 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c49Yc-0001AA-E5; Tue, 08 Nov 2016 11:47:34 -0500 Date: Tue, 08 Nov 2016 18:47:31 +0200 Message-Id: <83bmxphqak.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-reply-to: <5822002F.8040409@gmx.at> (message from martin rudalics on Tue, 08 Nov 2016 17:41:19 +0100) Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: 24899 Cc: noah.v.peart@gmail.com, 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > Date: Tue, 08 Nov 2016 17:41:19 +0100 > From: martin rudalics > CC: noah.v.peart@gmail.com, 24899@debbugs.gnu.org > > > Martin, did you try this on master or on the emacs-25 branch? > > On master. The OP's build time was more recent than mine ;-) > > > I think > > there's an omission in the Emacs 25.1 code, which the OP is running, > > that is already fixed on master. For emacs-25, the following patch > > should at least bring you closer to the solution, > > Emacs-25? This bug is more than six years old. I meant the branch, not the release. I'm not sure we should fix it in 25.2, given the age of the bug. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 13:33:19 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 18:33:19 +0000 Received: from localhost ([127.0.0.1]:49936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4BCx-0000GL-CA for submit@debbugs.gnu.org; Tue, 08 Nov 2016 13:33:19 -0500 Received: from mail-it0-f51.google.com ([209.85.214.51]:36942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4BCv-0000G9-JH for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 13:33:17 -0500 Received: by mail-it0-f51.google.com with SMTP id u205so225080225itc.0 for <24899@debbugs.gnu.org>; Tue, 08 Nov 2016 10:33:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YMb0FwGK6m55KpvAc9QvN8ui/U9J67CLuHVbM8JmTFA=; b=N6Hm80IJ+HDUS2EHgJyWEJ72iRar2iOIzgfj33u322R71dOcJtngfbM04EuKUUFQ0J cddxl0KkwJF83t1gFqqBOC7sN6AhekIyq3KhppkOQIQ499ETRnJKx4fC1LdIJwxEjEVv Yon/iufYsQw24UqyeAdkjhqP3ZLMl9c6e8bhnKKK9VRkU+uRcxIjHCopu+he+tpYgHkW R9GBBUvC/cR+qFBlbb1UIlTaP7N1L1/6xJ6F3mNnBprJvVYerZJO6anoPcehW43aIiX1 DLC/wcTZ95Sh5358PtWLo2gdlnfp91lKPTWSX9yELqO1GNxR6sQfqc2SDbOCZzBONGF9 Xk/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YMb0FwGK6m55KpvAc9QvN8ui/U9J67CLuHVbM8JmTFA=; b=S8QhgwZ331Nx7x0m+XHSuKTsxJKuPZVsQMHY60vdaukpat7v3Qqy0pvQa9+lcHRsSx SyoIAptxTPv1x8F9xR9p5fE9BRwsXF0KM/YVhRDjsudHmdUQ6AFscj4VIKcXp4z703er Yl84cv3+mHTmFvJRpzStDpYZlXrie87ZQHOjclqyjaiXXUUXs8Y7OK8HYDiMZB2wGbAT x6Pcs5NQKeIfrX+kmStE8VHyUudTG9PWabA3J15PvIQjXGSdGEF1/Bbfg7eie3xrctNS EsZMtkTqr264qNhyoOXuV7Fn4BLtZ7D4K5yHJLDINzyi6rI/f1QRazBBeZwnrJgiFlzU xTtA== X-Gm-Message-State: ABUngvc7wF3Wk+1aKu8rkUsI4xaQDjl5/sF1W54Ad+UDwefwLcaYrU2M/hw6Wz3tcNhY+zo43XZ4BaXzvNoeLQ== X-Received: by 10.36.43.193 with SMTP id h184mr9260152ita.29.1478629991996; Tue, 08 Nov 2016 10:33:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.141.6 with HTTP; Tue, 8 Nov 2016 10:33:11 -0800 (PST) In-Reply-To: <83bmxphqak.fsf@gnu.org> References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> <83bmxphqak.fsf@gnu.org> From: Noah Peart Date: Tue, 8 Nov 2016 13:33:11 -0500 Message-ID: Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a1146f4086d6a390540ce5f49 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 Cc: martin rudalics , 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a1146f4086d6a390540ce5f49 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I will try to give it a shot shortly and report back. My value of 'x-gtk-use-system-tooltips=E2=80=99 was 't'. Sorry I had focused on 'x-hide-tip' and forget 'pos-tip' wasn't part of emacs. Thanks! On Tue, Nov 8, 2016 at 11:47 AM, Eli Zaretskii wrote: > > Date: Tue, 08 Nov 2016 17:41:19 +0100 > > From: martin rudalics > > CC: noah.v.peart@gmail.com, 24899@debbugs.gnu.org > > > > > Martin, did you try this on master or on the emacs-25 branch? > > > > On master. The OP's build time was more recent than mine ;-) > > > > > I think > > > there's an omission in the Emacs 25.1 code, which the OP is running, > > > that is already fixed on master. For emacs-25, the following patch > > > should at least bring you closer to the solution, > > > > Emacs-25? This bug is more than six years old. > > I meant the branch, not the release. I'm not sure we should fix it in > 25.2, given the age of the bug. > > Thanks. > --001a1146f4086d6a390540ce5f49 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I will try to give it a shot shortly and report = back.=C2=A0 My value of 'x-gtk-use-system-tooltips=E2=80=99
wa= s 't'.=C2=A0 Sorry I had focused on 'x-hide-tip' and forget= 'pos-tip' wasn't part of emacs.

Thanks!
=

On Tue, Nov 8, 20= 16 at 11:47 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Tue, 08 Nov 2016 17:41:19 +0100
> From: martin rudalics <rudalics@= gmx.at>
> CC: noah.v.peart@gmail.com, 24899@debbugs.gnu.org
>
>=C2=A0 > Martin, did you try this on master or on the emacs-25 branc= h?
>
> On master.=C2=A0 The OP's build time was more recent than mine ;-)=
>
>=C2=A0 > I think
>=C2=A0 > there's an omission in the Emacs 25.1 code, which the O= P is running,
>=C2=A0 > that is already fixed on master.=C2=A0 For emacs-25, the fo= llowing patch
>=C2=A0 > should at least bring you closer to the solution,
>
> Emacs-25?=C2=A0 This bug is more than six years old.

I meant the branch, not the release.=C2=A0 I'm not sure we shoul= d fix it in
25.2, given the age of the bug.

Thanks.

--001a1146f4086d6a390540ce5f49-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 14:13:18 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 19:13:18 +0000 Received: from localhost ([127.0.0.1]:49981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Bpe-0001DT-Ja for submit@debbugs.gnu.org; Tue, 08 Nov 2016 14:13:18 -0500 Received: from mail-it0-f49.google.com ([209.85.214.49]:38254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Bpd-0001DE-Kt for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 14:13:17 -0500 Received: by mail-it0-f49.google.com with SMTP id q124so226119741itd.1 for <24899@debbugs.gnu.org>; Tue, 08 Nov 2016 11:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jbGTaeJ0hZ3MK5VWLZg3FlMdwQTnLOu4m0cI6UJnp8E=; b=a2wtOMoVZgwZCyHPShbSf/KYNKklLrNWfyLxOJHX1Lfwu0z7skiJowzKXEE2EB2t8q ym1n7yy/qC9lpW765+psKSG3Nmzzb0WE5Cyh8zAg7N3V5ZBFuPVGvCjZRpqzGvxxXGR0 KvH+2zHBrG5D/YYursjPTjDDZgGMq+DGkhzqB8EgE6BHWm5q/37gW80poTjPxkI4l5W6 CE2KWxL7U0P+9XIQ3jR5fsNZDkaX1P9fLgnM9nnuu5IB1H95/bxtUsLpRrwX5MaGaZtk OlXxA28YkTfUs4Bem8VlTSDnbgLDheO7yfqI+F2SQ3hnJz2clZrMpb6Y94XNse8A8xZe WkcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jbGTaeJ0hZ3MK5VWLZg3FlMdwQTnLOu4m0cI6UJnp8E=; b=cJjFKRq8PrLZmim8N+Pne+MmRfkhyf/xMAYSJXn8O1qp0v0yLdU4F87BzC3yRMm1o9 R1fdVrQNi/joDvpne3iFCxoFbbT83Jz6ta9x7lk373U6cCrJC+YjLuITlPIWf9Z/uiGA 8Do9ZXate3kl+6ch31cShJQLfc32CNUKz58UVNyPNk3Z2ioW82pVNBXVaXSVcDzuGU9O 0GbRjqe9ZYmqnIKtd8MP1eeX+q/muLtQ+E145CADqcKa/QOt3a7wDFKLRmdTWTyjEwAu Ew/GyZ4H8tMgENiaLr3ls00XZNsHCMDY7SJ6Yb0hoY/U2gywEdHFHs0gZziuWTw+RBQ1 BjvA== X-Gm-Message-State: ABUngvecV+E8GQdLeNo3IuhO4DMmK8aTiFR0XyiX6/sa9Mr5u+HDQQ8n3e9YynQuWniUUri8vbQL2MQ+12nSqg== X-Received: by 10.107.6.223 with SMTP id f92mr14270323ioi.2.1478632392339; Tue, 08 Nov 2016 11:13:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.141.6 with HTTP; Tue, 8 Nov 2016 11:13:11 -0800 (PST) In-Reply-To: References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> <83bmxphqak.fsf@gnu.org> From: Noah Peart Date: Tue, 8 Nov 2016 14:13:11 -0500 Message-ID: Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a113fb6347fb8d40540ceeee6 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 Cc: martin rudalics , 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a113fb6347fb8d40540ceeee6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I can confirm that Eli's patch fixed the above problem on my end. `x-hide-tip` now returns true when there is a tooltip active. Thanks all On Tue, Nov 8, 2016 at 1:33 PM, Noah Peart wrote: > I will try to give it a shot shortly and report back. My value of > 'x-gtk-use-system-tooltips=E2=80=99 > was 't'. Sorry I had focused on 'x-hide-tip' and forget 'pos-tip' wasn't > part of emacs. > > Thanks! > > On Tue, Nov 8, 2016 at 11:47 AM, Eli Zaretskii wrote: > >> > Date: Tue, 08 Nov 2016 17:41:19 +0100 >> > From: martin rudalics >> > CC: noah.v.peart@gmail.com, 24899@debbugs.gnu.org >> > >> > > Martin, did you try this on master or on the emacs-25 branch? >> > >> > On master. The OP's build time was more recent than mine ;-) >> > >> > > I think >> > > there's an omission in the Emacs 25.1 code, which the OP is running= , >> > > that is already fixed on master. For emacs-25, the following patch >> > > should at least bring you closer to the solution, >> > >> > Emacs-25? This bug is more than six years old. >> >> I meant the branch, not the release. I'm not sure we should fix it in >> 25.2, given the age of the bug. >> >> Thanks. >> > > --001a113fb6347fb8d40540ceeee6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can confirm that Eli's patch fixed the above pr= oblem on my end.=C2=A0 `x-hide-tip` now returns true when there is a toolti= p active.

Thanks all

=
On Tue, Nov 8, 2016 at 1:33 PM, Noah Peart <noah.v.peart@gmail.com> wrote:
I will try to give it a shot shortly and r= eport back.=C2=A0 My value of 'x-gtk-use-system-tooltips=E2=80=99
was 't'.=C2=A0 Sorry I had focused on 'x-hide-tip' and = forget 'pos-tip' wasn't part of emacs.

Thanks!
=
On Tue, Nov 8, 2016 at 11:47 AM, Eli Zaretskii= <el= iz@gnu.org> wrote:
> Dat= e: Tue, 08 Nov 2016 17:41:19 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: noah.v= .peart@gmail.com, 24899@debbugs.gnu.org
>
>=C2=A0 > Martin, did you try this on master or on the emacs-25 branc= h?
>
> On master.=C2=A0 The OP's build time was more recent than mine ;-)=
>
>=C2=A0 > I think
>=C2=A0 > there's an omission in the Emacs 25.1 code, which the O= P is running,
>=C2=A0 > that is already fixed on master.=C2=A0 For emacs-25, the fo= llowing patch
>=C2=A0 > should at least bring you closer to the solution,
>
> Emacs-25?=C2=A0 This bug is more than six years old.

I meant the branch, not the release.=C2=A0 I'm not sure we shoul= d fix it in
25.2, given the age of the bug.

Thanks.


--001a113fb6347fb8d40540ceeee6-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 17:11:19 2016 Received: (at 24899) by debbugs.gnu.org; 8 Nov 2016 22:11:19 +0000 Received: from localhost ([127.0.0.1]:50098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ebv-0005ar-Gm for submit@debbugs.gnu.org; Tue, 08 Nov 2016 17:11:19 -0500 Received: from mail-it0-f50.google.com ([209.85.214.50]:36376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ebu-0005ae-9f for 24899@debbugs.gnu.org; Tue, 08 Nov 2016 17:11:18 -0500 Received: by mail-it0-f50.google.com with SMTP id q124so128744320itd.1 for <24899@debbugs.gnu.org>; Tue, 08 Nov 2016 14:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zGme75ttyiJj3IBFpeBa0NiACHaxQx7K+xogzj+kUZE=; b=gzV/ar6vpVbQCACqVVMM0pyOGCUcIl6CtlQoLdT0qfrdfCEPLS3yqs6SPSvlc3wqwz MY7LE67p8+OvfqdqL+yodSmeV4ZCgH0wcDXLko6GuwRyC0HBCQgJmYwlDRDHNR5L+jrp kYenTNPUpx5TEad6binpxaXPx95+Vs1ByLzM39Dj6isjPb69dU+wZ//qwu1444fepsh3 ZOrvU8zZAdq5TJRUQkIBxGQSxKCwTnKfuF57ZltccO0Ea7mfsr2UDTdGug8KX+AXmdj3 Q52p0mbEyZpPlHeSsrbAez/J9vDhIysWj5cdrszpDFczc/s+F9D0czi+SEYwDJ7A/qYY 3HCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zGme75ttyiJj3IBFpeBa0NiACHaxQx7K+xogzj+kUZE=; b=I+HsEAgYieEi96CvkTM8e8FSe3+LwbhJbO4eHVVo04i9NwerhSeVj/VOHhVhH5NkLM ut3yzVmwS392XejN2aWht63F0879rgW+DVhA+NxpDLiOChx4gnE+p1oy0tHzywhHLcEj ef6Q1nvt3o5cY2SjRG1t3aylV/v8oV6uKS8eTbpAdzac7bfMrCMfH8vXUgwjG37e80fQ kD58VjJlwoAi+tFcM5t4zRX3ZxlTP9zLOSka/A/CHuDVJYb/p6/ueefOWvQbWE1IOjCh m+ohveey6Ty4ix4MnzAxcJmHc6NrxlF58cOeubrcJCB6ll1pJ9XUo+5bcT3nvE7MajCN kM7A== X-Gm-Message-State: ABUngveIfYj99bsYEPNjtX8qpA1hSKsaA744GZ0YWjcNf46G1pOLgXLkN8JAsrzwZmYqlDH9QG0YSerKuIXkvw== X-Received: by 10.107.145.3 with SMTP id t3mr14820149iod.42.1478643071709; Tue, 08 Nov 2016 14:11:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.141.6 with HTTP; Tue, 8 Nov 2016 14:11:11 -0800 (PST) In-Reply-To: References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> <83bmxphqak.fsf@gnu.org> From: Noah Peart Date: Tue, 8 Nov 2016 17:11:11 -0500 Message-ID: Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a1148d6d209faaa0540d16bd8 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 Cc: martin rudalics , 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a1148d6d209faaa0540d16bd8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think there might be another problem with the patch though. There seems to be a problem when setting `x-gtk-use-system-tooltips` variable to nil. I think that `x-show-tip` respects this variable with `if (x_gtk_use_system_tooltips)` but `x-hide-tip` does not. So, the tooltip is created but can't be destroyed. Thanks On Tue, Nov 8, 2016 at 2:13 PM, Noah Peart wrote: > I can confirm that Eli's patch fixed the above problem on my end. > `x-hide-tip` now returns true when there is a tooltip active. > > Thanks all > > On Tue, Nov 8, 2016 at 1:33 PM, Noah Peart wrote= : > >> I will try to give it a shot shortly and report back. My value of >> 'x-gtk-use-system-tooltips=E2=80=99 >> was 't'. Sorry I had focused on 'x-hide-tip' and forget 'pos-tip' wasn'= t >> part of emacs. >> >> Thanks! >> >> On Tue, Nov 8, 2016 at 11:47 AM, Eli Zaretskii wrote: >> >>> > Date: Tue, 08 Nov 2016 17:41:19 +0100 >>> > From: martin rudalics >>> > CC: noah.v.peart@gmail.com, 24899@debbugs.gnu.org >>> > >>> > > Martin, did you try this on master or on the emacs-25 branch? >>> > >>> > On master. The OP's build time was more recent than mine ;-) >>> > >>> > > I think >>> > > there's an omission in the Emacs 25.1 code, which the OP is runnin= g, >>> > > that is already fixed on master. For emacs-25, the following patc= h >>> > > should at least bring you closer to the solution, >>> > >>> > Emacs-25? This bug is more than six years old. >>> >>> I meant the branch, not the release. I'm not sure we should fix it in >>> 25.2, given the age of the bug. >>> >>> Thanks. >>> >> >> > --001a1148d6d209faaa0540d16bd8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think there might be another problem with the patch= though.=C2=A0 There seems to be a problem when setting `x-gtk-use-system-t= ooltips` variable to nil.=C2=A0

I think that `x-show-tip= ` respects this variable with

`if (x_gtk_use_system_tooltips)`
but `x-hide-tip` does not.=C2=A0 So, the tooltip is created bu= t can't be destroyed.

Thanks

On Tue, Nov 8, 2016 at 2:1= 3 PM, Noah Peart <noah.v.peart@gmail.com> wrote:
I can confirm that Eli= 9;s patch fixed the above problem on my end.=C2=A0 `x-hide-tip` now returns= true when there is a tooltip active.

Thanks all

On Tue, Nov 8, 2016 at 1:33 PM, Noah Peart <noah.= v.peart@gmail.com> wrote:
<= div dir=3D"ltr">
I will try to give it a shot shortly and report b= ack.=C2=A0 My value of 'x-gtk-use-system-tooltips=E2=80=99
was= 't'.=C2=A0 Sorry I had focused on 'x-hide-tip' and forget = 'pos-tip' wasn't part of emacs.

Thanks!
<= div class=3D"m_-5890364778695450175HOEnZb">

On Tue, N= ov 8, 2016 at 11:47 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Tue, 08 Nov 2016 17:41:19 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: noah.v= .peart@gmail.com, 24899@debbugs.gnu.org
>
>=C2=A0 > Martin, did you try this on master or on the emacs-25 branc= h?
>
> On master.=C2=A0 The OP's build time was more recent than mine ;-)=
>
>=C2=A0 > I think
>=C2=A0 > there's an omission in the Emacs 25.1 code, which the O= P is running,
>=C2=A0 > that is already fixed on master.=C2=A0 For emacs-25, the fo= llowing patch
>=C2=A0 > should at least bring you closer to the solution,
>
> Emacs-25?=C2=A0 This bug is more than six years old.

I meant the branch, not the release.=C2=A0 I'm not sure we shoul= d fix it in
25.2, given the age of the bug.

Thanks.



--001a1148d6d209faaa0540d16bd8-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 09 02:00:38 2016 Received: (at 24899) by debbugs.gnu.org; 9 Nov 2016 07:00:39 +0000 Received: from localhost ([127.0.0.1]:50324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4MsA-0003LJ-P5 for submit@debbugs.gnu.org; Wed, 09 Nov 2016 02:00:38 -0500 Received: from mout.gmx.net ([212.227.17.20]:62282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ms8-0003L5-JZ for 24899@debbugs.gnu.org; Wed, 09 Nov 2016 02:00:36 -0500 Received: from [192.168.1.100] ([212.95.7.87]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M0LtB-1cyWl10H2D-00uXc5; Wed, 09 Nov 2016 08:00:30 +0100 Message-ID: <5822C984.4050600@gmx.at> Date: Wed, 09 Nov 2016 08:00:20 +0100 From: martin rudalics MIME-Version: 1.0 To: Noah Peart , Eli Zaretskii Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> <83bmxphqak.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:lH5H9phlGBmBzfW8vamuTLQSCqnqa4gE46d+FJcGdvQ/ChPooZq Zs+A6ILDOpnmTlbxR2KRjgAxNjl/ilrBOJg4wnSSNp8w0SW9wasa170oW/R7BzitR87AD3W E5y2lPDNPy1EcW8kYVqm1MXCGNACqpYiYAAHC47LweNRGVyPb4zDXKcHVFOdZebXsCQEQHR yJMyt6FHT5bD0d5qUQ8TQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:jh2WYPxX5b0=:VgWcO0p+ihOT4lSucx92KJ LeaRz2K724XfIwmr9rOp1/55leQoIS7gcxZuAUmv0bILHq+jSJvYfhNxDDr3tZq4y0L4k8opc Ar6YqXHmpcAaPn9ie3Y+FWtEeXWuLdIs0+abepxn93GmIQ/ClGEoXusDxwyX4deg+PROL5hFc jDkLmlLpkYlWVoXSchfiNaZVaIbl6J6vgt0eirlmDYCzJx8qbQYbOAIp/SH54n8qverkl2XXy TXoMTPFtO49+KsCQuIjtw5568MSwLyEyjpTgxBTeRV6c8/yq8tfMS5AJ+MDocz3nEfqG9vlnt txmf6/wwcCE+eRkHD5hnpi3RSFY2ztEVkmwguF0sAtK5qUcu86psvTkoNMACvmRNOpDaDxZzt TKcJpTIvuspbzh4RKAcKnGCqS8Lxobx8WkVOPGIlmTZOdoEA1DhP3AtyWVcpdT7OZPURSO7+b DP0VLVfuug2PUphACINpPR6ErWqf6f7V8wGrpcnfdk8sI0NBwja3Oe++6mFtHQn7cufbyhMf5 vR7yuJ1WasZxsoaus2mxe51qKosjkQvDWQjw93K3eEaB6eCSPBNNrwxvuaDdXAyOVdGc69jVt HcTp4L/VlJk+HpoXsnAiIYZ7Unz2Vlb8LqkG1O6ZJUsI2Kut+MhCYD10BUIpS2QZb326RTjxl iu9c6oskVYaSm5IZ02aRACawQ20RqP4adbtIS6jX64B5Tbg10473qXcOzFSFUcRZ9OGsb8ScX ao8A5vvBMV5qqHUdqDODDeUjIPq5I0x7Yil0+0vL9S9akwgTRCj/te3d9/JF1UrykGh55bHvp sMOXpaN5QBXMGFUAYT/XHI+9G/oEg== X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 Cc: 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) > I think there might be another problem with the patch though. There s= eems > to be a problem when setting `x-gtk-use-system-tooltips` variable to n= il. > > I think that `x-show-tip` respects this variable with > > `if (x_gtk_use_system_tooltips)` > > but `x-hide-tip` does not. So, the tooltip is created but can't be > destroyed. The patch wouldn't change anything in this regard. The tooltip will be destroyed as with any other toolkit. On Emacs-26 you can alternatively hide it via =E2=80=98tooltip-reuse-hidden-frame=E2=80=99. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 09 17:44:46 2016 Received: (at 24899) by debbugs.gnu.org; 9 Nov 2016 22:44:47 +0000 Received: from localhost ([127.0.0.1]:51387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4bbq-00075t-NS for submit@debbugs.gnu.org; Wed, 09 Nov 2016 17:44:46 -0500 Received: from mail-it0-f51.google.com ([209.85.214.51]:38069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4bbo-00075W-4x for 24899@debbugs.gnu.org; Wed, 09 Nov 2016 17:44:45 -0500 Received: by mail-it0-f51.google.com with SMTP id q124so303014590itd.1 for <24899@debbugs.gnu.org>; Wed, 09 Nov 2016 14:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gkHNWjr378dMlMaNQqH2m+pYlqU481NbKDBuHm47GOw=; b=jovAjGyVNEfBs88G+hlruJpRlZ5cuvfHfU8B1mDrjMh+JYt5r4CF4hA8iiKur79Gbo 0OCr3NvzTU22dzmDSKPmXo20+CnZupac8+6+l12qdkEGtbrxf/00BbrCjR1hmv8ReBXl +RUolTKctrcTkCIG2itLbbs0NPdvUDpoiw5CFEZIXjqsZY3almjPTK3VL94VR9usAvV8 tJ09UUlaUwf7iKa8bvP+jWp+5kXEkfXQPcc7/uym1pH4zMgXDHvp8K7kNUBzeuY3dJtu wYNSGwqdCkIwpjG6I6Fr618Mwv8bs4Y3js5NIIY8k/j1fcmVa+p4jDb+yeZpyngg11nY yMmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gkHNWjr378dMlMaNQqH2m+pYlqU481NbKDBuHm47GOw=; b=MwLkibHkJ87zIEf01BdeXnrHNqBdcTG9h0G9h3tMM2255aX/DNPdC5X1FqBQTuXqMw hZBvlw4vnqjZesnycx+xMp6cBpXJdlH1n5mUcjHnPdrYQCj6cDNuIh4qYgEjRlLaF9fx 0cHyL0m3O/d7ZvKxJexiat2FD4l5Gyg0wPgNjagTTHE+cOVCtvdiWEldMXiKTwz0nBSj y1iyUtsnvJZHqBLbwDOvZo6idjmtfyhD0stWfPKkvJPHY3ejFR25DFCJUOi1mlj7dEJT PZBpCwlfCehBRu/IdKLS9NUxeWc39YM1Sf1ktHCMF2EFv60gsT1Jy6+7Kv/bILf01HtP NBLw== X-Gm-Message-State: ABUngvfDJXS9Zb41bfWWR296OOkbB1Y+bAy4fcKPeE835CnP07/uMgovZwCsm9yJQGD+2E5YWKD0ff4wKOaS/g== X-Received: by 10.107.130.28 with SMTP id e28mr2815254iod.46.1478731478347; Wed, 09 Nov 2016 14:44:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.141.6 with HTTP; Wed, 9 Nov 2016 14:44:37 -0800 (PST) In-Reply-To: <5822C984.4050600@gmx.at> References: <58217D5C.1000302@gmx.at> <83fun2gfuc.fsf@gnu.org> <5822002F.8040409@gmx.at> <83bmxphqak.fsf@gnu.org> <5822C984.4050600@gmx.at> From: Noah Peart Date: Wed, 9 Nov 2016 17:44:37 -0500 Message-ID: Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK To: martin rudalics Content-Type: multipart/alternative; boundary=001a113fb7007c33ca0540e600c2 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24899 Cc: Eli Zaretskii , 24899@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a113fb7007c33ca0540e600c2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah, yes, I had left in the first `frame =3D Qnil;`. Oops! Sorry for the noise. Thanks On Wed, Nov 9, 2016 at 2:00 AM, martin rudalics wrote: > > I think there might be another problem with the patch though. There > seems > > to be a problem when setting `x-gtk-use-system-tooltips` variable to ni= l. > > > > I think that `x-show-tip` respects this variable with > > > > `if (x_gtk_use_system_tooltips)` > > > > but `x-hide-tip` does not. So, the tooltip is created but can't be > > destroyed. > > The patch wouldn't change anything in this regard. The tooltip will be > destroyed as with any other toolkit. On Emacs-26 you can alternatively > hide it via =E2=80=98tooltip-reuse-hidden-frame=E2=80=99. > > martin > > --001a113fb7007c33ca0540e600c2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ah, yes, I had left in=20 the first `frame =3D Qnil;`.=C2=A0 Oops!=C2=A0 Sorry for the noise.
Thanks

On Wed, Nov 9, 2016 at 2:00 AM, martin rudalics <rudalics@gmx.at> wrote:
> I think= there might be another problem with the patch though.=C2=A0 There seems > to be a problem when setting `x-gtk-use-system-tooltips` variable to n= il.
>
> I think that `x-show-tip` respects this variable with
>
> `if (x_gtk_use_system_tooltips)`
>
> but `x-hide-tip` does not.=C2=A0 So, the tooltip is created but can= 9;t be
> destroyed.

The patch wouldn't change anything in this regard.=C2=A0 The tooltip wi= ll be
destroyed as with any other toolkit.=C2=A0 On Emacs-26 you can alternativel= y
hide it via =E2=80=98tooltip-reuse-hidden-frame=E2=80=99.

martin


--001a113fb7007c33ca0540e600c2-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 10 05:16:02 2017 Received: (at 24899-done) by debbugs.gnu.org; 10 Oct 2017 09:16:02 +0000 Received: from localhost ([127.0.0.1]:59207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1qdt-0001gf-SH for submit@debbugs.gnu.org; Tue, 10 Oct 2017 05:16:02 -0400 Received: from mout.gmx.net ([212.227.15.18]:64392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1qds-0001g7-IS for 24899-done@debbugs.gnu.org; Tue, 10 Oct 2017 05:16:00 -0400 Received: from [192.168.1.100] ([46.125.249.32]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M08eS-1d7fYE2Fq8-00uKdt; Tue, 10 Oct 2017 11:15:54 +0200 Message-ID: <59DC8FC2.4070201@gmx.at> Date: Tue, 10 Oct 2017 11:15:46 +0200 From: martin rudalics MIME-Version: 1.0 To: nverno , 24899-done@debbugs.gnu.org Subject: Re: bug#24899: 25.1; x-hide-tip always returns nil with USE_GTK References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:AG62MtjjHfUzHsd+ts9lYyMKCTFDkQ4QFocoXseiErm6v/EM8fi 4VKtaQcag4A4t+Umq/STF1prwhXJityoRuQCkDdkkwBt/BMKVi5dcebDRrJ9HP/6RAYhO5T W2IQf2YIcU+Dtv6NI32EAlR4nE4xpXpuHURJFGlP1VpXY2KER/s9tYiovtSilqDvSL1LmKn HZC0+cj3D2U0PDaNnTwZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:sz502SDGfnc=:o33KDdufdf3vztpoLADoD+ iqHF85ly63bCPIpDsKkbOKW+ZDVG57OANzjuYVVsrc5LMWcVbtCTcMK6XGg+8luAxapDUfjxu ebGYfPGSy/3/z9Ek2NQvtU70nRuOOplY0AHmxXpZVilmkYh20JZFdiK2D85/JmIV/vRJ130Ds ZWLFBNZb2bsR3PsEadbzOpUrY2ZOj1xU14EuQRqrbkXyqZ47nUFIsfi8CY+yXOXKC3P0ew2hm vI0SMnhIbbBSbouuqo8hkBuNxNrvFTKsP2Sn0GZiDm9H+bTQYKOZdcWaeT+0d4SzafFy64FwP pZ6GlZKRibGMWboYDfI0eH2giELvMBt2rIEF7WhPKQlSTDw41vMkAYxkgKA24BMWZfk5UuX68 DDVbDrD4t1pEz0EuXWiN8Locj5dnby5dXfEwtchehlhz+ttsSHdOCJqmOLT8n8cja6a5Zt/iB /aKG0oNMflqQyqUPBgCvtbJ6xwdJmB/cJdQrxU1k8rUbcsXDtVy2Aho0RFL0u3PIxJRCYInsB v/wGXtMXsSrr8Loe77WoHGzNGaL/OENMqgVZnRZB4AOt1OB2w5XrgnSZf5HjgMfymXnCRTIos U1vgjDV2fU9RgeqydDmOgRUCzelRou4j00A1pkibaja+n6xlKavswg7jUz6jDFlGv5UNjSKo1 E5z7m6ApB2BPv1KXEF05+7sk9CCORXuuKSrhPTtghLpQQzQPk2eH/m9n+KQkm6Jp2etDL+8tI Lq1/0wUg4MbikQIgZABCa0PuYedQsmi47FpY4NXbPRmakv4sxX/xQNVe3kScQUk/gAm5JN2aw JaFq7UnZLfIfky3LYvul7BJQtZAiUZnZMixXxywljGkIOXYgw8= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24899-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > Calling `x-hide-tip` always returns nil (it is documented to > return t when the tooltip is active). I noticed this after > recently compiling with gtk3. I was using `x-hide-tip` in > a toggling function that stopped toggling. As an example > of what currently doesn't work: > > (defun toggle-tip () > (interactive) > (or (x-hide-tip) > (pos-tip-show "hi"))) This should work with Emacs 26 so I'm closing this bug. Thanks, martin From unknown Sat Aug 16 00:34:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Nov 2017 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator