all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30399: 27.0.50; tooltips are broken
@ 2018-02-08 22:26 Stephen Berman
  2018-02-09  9:53 ` martin rudalics
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Berman @ 2018-02-08 22:26 UTC (permalink / raw)
  To: 30399

I'm seeing buggy behavior with tooltips on master, and though I haven't
bisected with git, I see the problems starting with my first build after
this commit:

e462308f03..: Martin Rudalics 2018-01-18 Fix some tooltip related problems

and I don't see the problems in my builds before that commit.  My builds
are with GTK+; I haven't tried with another or no toolkit.

Here's the (expected) behavior prior to that commit (also seen in
current emacs-26):

0. emacs -Q
1. evaluate (tooltip-show "This is a test")
   => A GTK+-themed tooltip is displayed for 10 seconds or until there
   is an input event, then disappears. 
2. evaluate (x-show-tip "This is a test")
   => A GTK+-themed tooltip is displayed for 5 seconds or until there
   is an input event, then disappears.
3. evaluate (let (x-gtk-use-system-tooltips)
              (tooltip-show "This is a test"))
   => A non-toolkit tooltip is displayed for 10 seconds or until there
   is an input event, then disappears.
4. evaluate (let (x-gtk-use-system-tooltips)
              (x-show-tip "This is a test"))
   => A non-toolkit tooltip is displayed for 5 seconds or until there
   is an input event, then disappears.

And here's the buggy behavior (starting with step 2) I see on master
since the above commit:

0. emacs -Q
1. evaluate (tooltip-show "This is a test")
   => A GTK+-themed tooltip is displayed for 10 seconds or until there
   is an input event, then disappears.
2. evaluate (x-show-tip "This is a test")
   => A GTK+-themed tooltip is displayed and remains displayed, even if
   there are input events, until executing step 3 or repeating step 1.
3. evaluate (let (x-gtk-use-system-tooltips)
              (tooltip-show "This is a test"))
   => A non-toolkit tooltip is displayed and remains displayed, even if
   there are input events, until the end of the Emacs session (at least
   I haven't found a way to get rid of it); however, if the GTK+-themed
   tooltip from step 2 is still displayed when the above sexp is
   evaluated, then after 10 (not 5) seconds the GTK+-themed tooltip
   disappears (but the non-toolkit tooltip remains).
4. evaluate (let (x-gtk-use-system-tooltips)
              (x-show-tip "This is a test"))
   => A non-toolkit tooltip is displayed and remains displayed, even if
   there are input events, until the end of the Emacs session AFAICT; if
   the tooltip from step 3 is still displayed when the above sexp is
   evaluated, it is just moved by this step but does not disappear, and
   if the GTK+-themed tooltip from step 2 is still displayed that
   tooltip also remains displayed (unlike in step 3).

I tried stepping through Fx_show_tip in gdb while executing step 1 and
again with step 2 in current master.  In both cases the GTK+-themed
tooltip appears, the code path jumps to start_timer, runs a timer, calls
x-hide-tip and then the function returns; in step 1, on continuing, the
tooltip disappears, but in step 2, on continuing, the tooltip remains.
Then I tried stepping through x_hide_tip, but the breakpoint was hit
before the tooltip was displayed and on continuing until the command
loop was again accessible, any input immediate hit the breakpoint
again.  So I probably cannot debug this further without guidance.

In GNU Emacs 27.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.22.18)
 of 2018-02-08 built on rosalinde
Repository revision: a710f8aa61ca73054109dc4f926d1ac6aabdd849
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description: Linux From Scratch

Configured using:
 'configure --with-xwidgets 'CFLAGS=-Og -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 THREADS XWIDGETS LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-08 22:26 bug#30399: 27.0.50; tooltips are broken Stephen Berman
@ 2018-02-09  9:53 ` martin rudalics
  2018-02-09 10:49   ` Stephen Berman
  2018-02-09 15:41   ` Drew Adams
  0 siblings, 2 replies; 11+ messages in thread
From: martin rudalics @ 2018-02-09  9:53 UTC (permalink / raw)
  To: Stephen Berman, 30399

[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]

 > And here's the buggy behavior (starting with step 2) I see on master
 > since the above commit:
 >
 > 0. emacs -Q
 > 1. evaluate (tooltip-show "This is a test")
 >     => A GTK+-themed tooltip is displayed for 10 seconds or until there
 >     is an input event, then disappears.
 > 2. evaluate (x-show-tip "This is a test")
 >     => A GTK+-themed tooltip is displayed and remains displayed, even if
 >     there are input events, until executing step 3 or repeating step 1.

This is due to a rather silly omission which should have already
defeated a feature in Emacs 26 when calling 'x-show-tip' (you've been
warned - Lisp code should call 'tooltip-show').

 > 3. evaluate (let (x-gtk-use-system-tooltips)
 >                (tooltip-show "This is a test"))
 >     => A non-toolkit tooltip is displayed and remains displayed, even if
 >     there are input events, until the end of the Emacs session (at least
 >     I haven't found a way to get rid of it); however, if the GTK+-themed
 >     tooltip from step 2 is still displayed when the above sexp is
 >     evaluated, then after 10 (not 5) seconds the GTK+-themed tooltip
 >     disappears (but the non-toolkit tooltip remains).
 > 4. evaluate (let (x-gtk-use-system-tooltips)
 >                (x-show-tip "This is a test"))
 >     => A non-toolkit tooltip is displayed and remains displayed, even if
 >     there are input events, until the end of the Emacs session AFAICT; if
 >     the tooltip from step 3 is still displayed when the above sexp is
 >     evaluated, it is just moved by this step but does not disappear, and
 >     if the GTK+-themed tooltip from step 2 is still displayed that
 >     tooltip also remains displayed (unlike in step 3).

Let-binding 'x-gtk-use-system-tooltips' is a more delicate issue.  As
a rule, options should never be let-bound but since the customizer is
always right we'll probably have to fix this as well.

Please try the attached fix.  And please test it also with the inverse
scenario

(setq x-gtk-use-system-tooltips nil)
(let ((x-gtk-use-system-tooltips t))
   (tooltip-show "Test"))

Thanks, martin

[-- Attachment #2: gtk-tooltip.diff --]
[-- Type: text/plain, Size: 3955 bytes --]

diff --git a/src/xfns.c b/src/xfns.c
index db1ce31..9f0d946 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -6077,7 +6077,7 @@ static void compute_tip_xy (struct frame *, Lisp_Object, Lisp_Object,
 /* STRING argument of last `x-show-tip' call.  */
 static Lisp_Object tip_last_string;
 
-/* FRAME argument of last `x-show-tip' call.  */
+/* Normalized FRAME argument of last `x-show-tip' call.  */
 static Lisp_Object tip_last_frame;
 
 /* PARMS argument of last `x-show-tip' call.  */
@@ -6542,16 +6542,20 @@ static void compute_tip_xy (struct frame *, Lisp_Object, Lisp_Object,
     }
 
 #ifdef USE_GTK
-  /* The GTK+ system tooltip window can be found via the x_output
-     structure of tip_last_frame, if it still exists.  */
-  if (x_gtk_use_system_tooltips && NILP (tip_last_frame))
-    return Qnil;
-  else if (!x_gtk_use_system_tooltips
-	   && (NILP (tip_frame)
-	       || (!delete
-		   && FRAMEP (tip_frame)
-		   && FRAME_LIVE_P (XFRAME (tip_frame))
-		   && !FRAME_VISIBLE_P (XFRAME (tip_frame)))))
+  /* Any GTK+ system tooltip can be found via the x_output structure of
+     tip_last_frame, provided that frame is still live.  Any Emacs
+     tooltip is found via the tip_frame variable.  Note that the current
+     value of x_gtk_use_system_tooltips might not be the same as used
+     for the tooltip we have to hide, see Bug#30399.  */
+  if ((NILP (tip_last_frame) && NILP (tip_frame))
+      || (!x_gtk_use_system_tooltips
+	  && !delete
+	  && FRAMEP (tip_frame)
+	  && FRAME_LIVE_P (XFRAME (tip_frame))
+	  && !FRAME_VISIBLE_P (XFRAME (tip_frame))))
+    /* Either there's no tooltip to hide or it's an already invisible
+       Emacs tooltip and we don't want to change its type.  Return
+       quickly.  */
     return Qnil;
   else
     {
@@ -6562,10 +6566,9 @@ static void compute_tip_xy (struct frame *, Lisp_Object, Lisp_Object,
       specbind (Qinhibit_redisplay, Qt);
       specbind (Qinhibit_quit, Qt);
 
-      if (x_gtk_use_system_tooltips)
+      /* Try to hide the GTK+ system tip first.  */
+      if (FRAMEP (tip_last_frame))
 	{
-	  /* The GTK+ system tooltip window is stored in the x_output
-	     structure of tip_last_frame.  */
 	  struct frame *f = XFRAME (tip_last_frame);
 
 	  if (FRAME_LIVE_P (f))
@@ -6573,33 +6576,37 @@ static void compute_tip_xy (struct frame *, Lisp_Object, Lisp_Object,
 	      if (xg_hide_tooltip (f))
 		was_open = Qt;
 	    }
-	  else
-	    tip_last_frame = Qnil;
 	}
-      else
+
+      /* Reset tip_last_frame, it will be reassigned when showing the
+	 next GTK+ system tooltip.  */
+      tip_last_frame = Qnil;
+
+      /* Now look whether there's an Emacs tip around.  */
+      if (FRAMEP (tip_frame))
 	{
-	  if (FRAMEP (tip_frame))
-	    {
-	      struct frame *f = XFRAME (tip_frame);
+	  struct frame *f = XFRAME (tip_frame);
 
-	      if (FRAME_LIVE_P (f))
+	  if (FRAME_LIVE_P (f))
+	    {
+	      if (delete || x_gtk_use_system_tooltips)
 		{
-		  if (delete)
-		    {
-		      delete_frame (tip_frame, Qnil);
-		      tip_frame = Qnil;
-		    }
-		  else
-		    x_make_frame_invisible (f);
-
-		  was_open = Qt;
+		  /* Delete the Emacs tooltip frame when DELETE is true
+		     or we change the tooltip type from an Emacs one to
+		     a GTK+ system one.  */
+		  delete_frame (tip_frame, Qnil);
+		  tip_frame = Qnil;
 		}
 	      else
-		tip_frame = Qnil;
+		x_make_frame_invisible (f);
+
+	      was_open = Qt;
 	    }
 	  else
 	    tip_frame = Qnil;
 	}
+      else
+	tip_frame = Qnil;
 
       return unbind_to (count, was_open);
     }
@@ -6721,7 +6728,10 @@ with offset DY added (default is -10).
   if (SCHARS (string) == 0)
     string = make_unibyte_string (" ", 1);
 
+  if (NILP (frame))
+    frame = selected_frame;
   f = decode_window_system_frame (frame);
+
   if (NILP (timeout))
     timeout = make_number (5);
   else

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-09  9:53 ` martin rudalics
@ 2018-02-09 10:49   ` Stephen Berman
  2018-02-10  9:47     ` martin rudalics
  2018-02-09 15:41   ` Drew Adams
  1 sibling, 1 reply; 11+ messages in thread
From: Stephen Berman @ 2018-02-09 10:49 UTC (permalink / raw)
  To: martin rudalics; +Cc: 30399

On Fri, 09 Feb 2018 10:53:30 +0100 martin rudalics <rudalics@gmx.at> wrote:

>> And here's the buggy behavior (starting with step 2) I see on master
>> since the above commit:
>>
>> 0. emacs -Q
>> 1. evaluate (tooltip-show "This is a test")
>>     => A GTK+-themed tooltip is displayed for 10 seconds or until there
>>     is an input event, then disappears.
>> 2. evaluate (x-show-tip "This is a test")
>>     => A GTK+-themed tooltip is displayed and remains displayed, even if
>>     there are input events, until executing step 3 or repeating step 1.
>
> This is due to a rather silly omission which should have already
> defeated a feature in Emacs 26 when calling 'x-show-tip' (you've been
> warned - Lisp code should call 'tooltip-show').

I know, and the code that revealed this bug does use tooltip-show; but
the above difference between them puzzled me, since tooltip-show is a
wrapper around x-show-tip.

>> 3. evaluate (let (x-gtk-use-system-tooltips)
>>                (tooltip-show "This is a test"))
>>     => A non-toolkit tooltip is displayed and remains displayed, even if
>>     there are input events, until the end of the Emacs session (at least
>>     I haven't found a way to get rid of it); however, if the GTK+-themed
>>     tooltip from step 2 is still displayed when the above sexp is
>>     evaluated, then after 10 (not 5) seconds the GTK+-themed tooltip
>>     disappears (but the non-toolkit tooltip remains).
>> 4. evaluate (let (x-gtk-use-system-tooltips)
>>                (x-show-tip "This is a test"))
>>     => A non-toolkit tooltip is displayed and remains displayed, even if
>>     there are input events, until the end of the Emacs session AFAICT; if
>>     the tooltip from step 3 is still displayed when the above sexp is
>>     evaluated, it is just moved by this step but does not disappear, and
>>     if the GTK+-themed tooltip from step 2 is still displayed that
>>     tooltip also remains displayed (unlike in step 3).
>
> Let-binding 'x-gtk-use-system-tooltips' is a more delicate issue.  As
> a rule, options should never be let-bound but since the customizer is
> always right we'll probably have to fix this as well.

I generally use the default value of x-gtk-use-system-tooltips, but for
appointments I use a custom tooltip, which AFAICT requires setting
x-gtk-use-system-tooltips to nil.  Is there some way to achieve this
without let-binding (or using setq twice within the function defining
the appointment tooltip)?

> Please try the attached fix.  

It restores the previous behavior; thanks!

>                               And please test it also with the inverse
> scenario
>
> (setq x-gtk-use-system-tooltips nil)
> (let ((x-gtk-use-system-tooltips t))
>   (tooltip-show "Test"))

This also works as expected, i.e., within the let-binding the tooltip is
the GTK+-themed one, and outside of the let-binding it's the not-toolkit
tooltip.

Thanks for the quick fix.

Steve Berman





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-09  9:53 ` martin rudalics
  2018-02-09 10:49   ` Stephen Berman
@ 2018-02-09 15:41   ` Drew Adams
  2018-02-10  9:47     ` martin rudalics
  1 sibling, 1 reply; 11+ messages in thread
From: Drew Adams @ 2018-02-09 15:41 UTC (permalink / raw)
  To: martin rudalics, Stephen Berman, 30399

> This is due to a rather silly omission which should have already
> defeated a feature in Emacs 26 when calling 'x-show-tip' (you've
> been warned - Lisp code should call 'tooltip-show').

That warning sounds very bad to me.  It's vague, however,
so forgive me if I'm overreacting.

I have 4 libraries that will presumably break completely
if `x-show-tip' is defeated or is no longer available.
`tooltip-show' does NOT do the same thing and will not
work (AFAICT) for what I use `x-show-tip' for.

The libraries are `pp+.el', `apu.el', `modeline-char.el',
and `showkey.el'.  They are all available on Emacs Wiki,
Elisp Area.

https://www.emacswiki.org/emacs?action=elisp-area;context=0

`tooltip-show' constrains its call of `x-show-tip' to
only one particular behavior/appearance, etc.  Replacing
the latter function with just the former would be like
replacing the general function `goto-char' a limited one
such as `beginning-of-line'.  `x-show-tip' is much more
general than `tooltip-show'.

Here's a typical call:

(x-show-tip (propertize
              cmd-desc
              'face
              `(:foreground "red"
                :height ,showkey-tooltip-height))
            nil
            nil
            showkey-tooltip-timeout)





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-09 10:49   ` Stephen Berman
@ 2018-02-10  9:47     ` martin rudalics
  0 siblings, 0 replies; 11+ messages in thread
From: martin rudalics @ 2018-02-10  9:47 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 30399-close

 > I know, and the code that revealed this bug does use tooltip-show; but
 > the above difference between them puzzled me, since tooltip-show is a
 > wrapper around x-show-tip.

Good catch - that bug was with us for quite some time.

 > I generally use the default value of x-gtk-use-system-tooltips, but for
 > appointments I use a custom tooltip, which AFAICT requires setting
 > x-gtk-use-system-tooltips to nil.  Is there some way to achieve this
 > without let-binding (or using setq twice within the function defining
 > the appointment tooltip)?

Let-binding is certainly more convenient in this regard.  But a
package should (IMO) make it customizable whether the user value of
'x-gtk-use-system-tooltips' should be applied for appointments too.

 > Thanks for the quick fix.

Thanks for the very helpful report.

Bug closed, martin





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-09 15:41   ` Drew Adams
@ 2018-02-10  9:47     ` martin rudalics
  2018-02-10 16:39       ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2018-02-10  9:47 UTC (permalink / raw)
  To: Drew Adams, Stephen Berman, 30399

 >> This is due to a rather silly omission which should have already
 >> defeated a feature in Emacs 26 when calling 'x-show-tip' (you've
 >> been warned - Lisp code should call 'tooltip-show').
 >
 > That warning sounds very bad to me.  It's vague, however,
 > so forgive me if I'm overreacting.

It's up to you to ignore warnings.

 > Here's a typical call:
 >
 > (x-show-tip (propertize
 >                cmd-desc
 >                'face
 >                `(:foreground "red"
 >                  :height ,showkey-tooltip-height))
 >              nil
 >              nil
 >              showkey-tooltip-timeout)

Make sure to use (selected-frame) as second argument for Emacs < 27.
nil is broken but you might not notice it.

martin





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-10  9:47     ` martin rudalics
@ 2018-02-10 16:39       ` Drew Adams
  2018-02-11  9:36         ` martin rudalics
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2018-02-10 16:39 UTC (permalink / raw)
  To: martin rudalics, Stephen Berman, 30399

>>> This is due to a rather silly omission which should have already
>>> defeated a feature in Emacs 26 when calling 'x-show-tip' (you've
>>> been warned - Lisp code should call 'tooltip-show').
>>
>> That warning sounds very bad to me.  It's vague, however,
>> so forgive me if I'm overreacting.
> 
> It's up to you to ignore warnings.

I'm objecting to the possible change in support forewarned
by your warning, not the fact of the warning's existence.

Can you clarify the warning, please?

If there is a reason to replace `x-show-tip', can you not
replace it with something that is just as general?  Why
would we take away something that lets you specify the
appearance and behavior, replacing it by something that
just hard-codes properties etc.?

I hope I'm just missing something (i.e., misunderstanding).

>  > (x-show-tip (propertize
>  >                cmd-desc
>  >                'face
>  >                `(:foreground "red"
>  >                  :height ,showkey-tooltip-height))
>  >              nil
>  >              nil
>  >              showkey-tooltip-timeout)
> 
> Make sure to use (selected-frame) as second argument for
> Emacs < 27.  nil is broken but you might not notice it.

Thank you.  I didn't know that.  And you're right that
I haven't noticed it, so far.

Can you please say what the brokenness is?  Is there
a bug # for that, so we can learn about the brokenness
that we might not notice?  Thx.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-10 16:39       ` Drew Adams
@ 2018-02-11  9:36         ` martin rudalics
  2018-02-11 17:23           ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2018-02-11  9:36 UTC (permalink / raw)
  To: Drew Adams, Stephen Berman, 30399

 > Can you clarify the warning, please?

That when the behavior of 'x-show-tip' changes, applications will
have to adapt.

 > If there is a reason to replace `x-show-tip', can you not
 > replace it with something that is just as general?  Why
 > would we take away something that lets you specify the
 > appearance and behavior, replacing it by something that
 > just hard-codes properties etc.?

Currently there are no plans to replace 'x-show-tip' AFAICT.

 >> Make sure to use (selected-frame) as second argument for
 >> Emacs < 27.  nil is broken but you might not notice it.
 >
 > Thank you.  I didn't know that.  And you're right that
 > I haven't noticed it, so far.
 >
 > Can you please say what the brokenness is?  Is there
 > a bug # for that, so we can learn about the brokenness
 > that we might not notice?  Thx.

Internally, Emacs tries to not delete/recreate a tooltip frame when
the text of the tooltip remains the same and only its position
changes.  This optimization may get broken when using nil as the
second argument.  As mentioned, you probably won't notice it.

martin





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-11  9:36         ` martin rudalics
@ 2018-02-11 17:23           ` Drew Adams
  2018-02-12  9:26             ` martin rudalics
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2018-02-11 17:23 UTC (permalink / raw)
  To: martin rudalics, Stephen Berman, 30399

>  > Can you clarify the warning, please?
> 
> That when the behavior of 'x-show-tip' changes,
> applications will have to adapt.

That's even more vague - not a clarification at all.
What is the behavior change?  What kind of adaptation
are you hinting at?

>  > If there is a reason to replace `x-show-tip', can you not
>  > replace it with something that is just as general?  Why
>  > would we take away something that lets you specify the
>  > appearance and behavior, replacing it by something that
>  > just hard-codes properties etc.?
> 
> Currently there are no plans to replace 'x-show-tip' AFAICT.

Let's not quibble over the word "replace", please.

You imply that "the behavior of 'x-show-tip'" will
change.  That's what I'm asking about, in talking
about "replacement".

You also said that we should not use 'x-show-tip'
but should use only `tooltip-show', which is much
more limited - not a substitute for 'x-show-tip'
at all.

The question is, if `x-tool-tip' is not expected
to be replaced, but it is expected to change, just
_how_ is it expected to change?

Will we be able to do with the "new" `x-show-tip',
what we can do with it now, even if we must "adapt"
in some way to be able to do that?

You are being quite vague, it seems.  You make a
pronouncement that we should not use the function,
but also that it will change - somehow.

The real question is not the words to name the
impending change or replacement that you warn us
about.

The question is how, after the change/replacement,
to get done everything we can do now with that
function.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-11 17:23           ` Drew Adams
@ 2018-02-12  9:26             ` martin rudalics
  2018-02-12 14:43               ` Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2018-02-12  9:26 UTC (permalink / raw)
  To: Drew Adams, Stephen Berman, 30399

 >> That when the behavior of 'x-show-tip' changes,
 >> applications will have to adapt.
 >
 > That's even more vague - not a clarification at all.
 > What is the behavior change?  What kind of adaptation
 > are you hinting at?

That if for some reason the behavior of that function must be changed,
its callers may have to change too.

 >> Currently there are no plans to replace 'x-show-tip' AFAICT.
 >
 > Let's not quibble over the word "replace", please.
 >
 > You imply that "the behavior of 'x-show-tip'" will
 > change.  That's what I'm asking about, in talking
 > about "replacement".

'x-show-tip' had a bug that has been hopefully fixed.  I did not imply
anything else.

 > You also said that we should not use 'x-show-tip'
 > but should use only `tooltip-show', which is much
 > more limited - not a substitute for 'x-show-tip'
 > at all.

I'm using 'x-show-tip' in my private code, so why should I say such a
thing.

 > The question is, if `x-tool-tip' is not expected
 > to be replaced, but it is expected to change, just
 > _how_ is it expected to change?
 >
 > Will we be able to do with the "new" `x-show-tip',
 > what we can do with it now, even if we must "adapt"
 > in some way to be able to do that?

Hopefully so.

 > You are being quite vague, it seems.  You make a
 > pronouncement that we should not use the function,
 > but also that it will change - somehow.

I did neither the former nor the latter.

 > The real question is not the words to name the
 > impending change or replacement that you warn us
 > about.
 >
 > The question is how, after the change/replacement,
 > to get done everything we can do now with that
 > function.

Let's see to that when we're there.

martin





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#30399: 27.0.50; tooltips are broken
  2018-02-12  9:26             ` martin rudalics
@ 2018-02-12 14:43               ` Drew Adams
  0 siblings, 0 replies; 11+ messages in thread
From: Drew Adams @ 2018-02-12 14:43 UTC (permalink / raw)
  To: martin rudalics, Stephen Berman, 30399

>  > You imply that "the behavior of 'x-show-tip'" will
>  > change.  That's what I'm asking about, in talking
>  > about "replacement".
> 
> 'x-show-tip' had a bug that has been hopefully fixed.
> I did not imply anything else.

That's good to hear.  That was not clear to me.

>  > You also said that we should not use 'x-show-tip'
>  > but should use only `tooltip-show', which is much
>  > more limited - not a substitute for 'x-show-tip'
>  > at all.
> 
> I'm using 'x-show-tip' in my private code, so why
> should I say such a thing.

I certainly got the wrong impression from what you
wrote, then.  Thanks for clarifying.

>  > The question is, if `x-tool-tip' is not expected
>  > to be replaced, but it is expected to change, just
>  > _how_ is it expected to change?
>  >
>  > Will we be able to do with the "new" `x-show-tip',
>  > what we can do with it now, even if we must "adapt"
>  > in some way to be able to do that?
> 
> Hopefully so.

Very good to hear.  Glad I asked for clarification,
and thank you for clarifying.  None of what you say now
was clear (to me) from your previous msgs in this thread.
Sorry, if the misunderstanding was my fault here.

And thanks for fixing the `x-show-tip' bug.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-02-12 14:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-08 22:26 bug#30399: 27.0.50; tooltips are broken Stephen Berman
2018-02-09  9:53 ` martin rudalics
2018-02-09 10:49   ` Stephen Berman
2018-02-10  9:47     ` martin rudalics
2018-02-09 15:41   ` Drew Adams
2018-02-10  9:47     ` martin rudalics
2018-02-10 16:39       ` Drew Adams
2018-02-11  9:36         ` martin rudalics
2018-02-11 17:23           ` Drew Adams
2018-02-12  9:26             ` martin rudalics
2018-02-12 14:43               ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.