emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouse-drag-and-drop-region


From: martin rudalics
Subject: Re: mouse-drag-and-drop-region
Date: Thu, 16 Nov 2017 10:04:43 +0100

> 1. Select a region.
> 2. Hold down-mouse-1 inside of this region.
> 3. Press any key before moving or releasing the mouse.
>
> Doing this yields an error without your change,

Something like

mouse-drag-region: Wrong type argument: char-or-string-p, nil

I suppose.  'value-selection' must have been nil then.

> and it pastes the region
> with your change.  Even when this key is C-g, `mark-active' is t after
> step 3.

Not much better.  But doing mouse-down and pressing another key at the
same time is somewhat obscure behavior.

> I suppose (display-graphic-p) should be supplied as the 2nd argument to
> `tooltip-show', then?

For example, yes.

> I also noticed that when dragging in an X window, the tooltip flickers
> quite a bit. Is there any easy remedy for this?  Removing the
> `mouse-set-point' call in `track-mouse' helps in some cases, but not
> completely.

Would customizing 'tooltip-reuse-hidden-frame' change anything or are
you using GTK tooltips?

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]