all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Ponce <da_vid@orange.fr>
To: 41351@debbugs.gnu.org
Subject: bug#41351: 28.0.50; Cannot customize mouse-drag-and-drop-region-show-tooltip
Date: Sun, 17 May 2020 12:23:39 +0200	[thread overview]
Message-ID: <53b5bd08-2cbc-9ea8-84d9-8053249000d9@orange.fr> (raw)

Hello,

The option `mouse-drag-and-drop-region-show-tooltip' cannot be
customized as mentioned in the doc string. Only an integer value can be
entered via customization. The proposed patch below fixed the defcustom
for me.

Thanks!

diff --git a/installs/emacs/lisp/mouse.el b/home/dponce/emacs.d/mouse.el
index 795b4da..47a7f20 100644
--- a/installs/emacs/lisp/mouse.el
+++ b/home/dponce/emacs.d/mouse.el
@@ -2577,7 +2577,10 @@ tooltips.  If this is t, it shows the entire text dragged in a
  tooltip.  If this is an integer (as with the default value of
  256), it will show that many characters of the dragged text in
  a tooltip."
-  :type 'integer
+  :type '(choice
+          (const :tag "Do not show tooltips" nil)
+          (const :tag "Show the entire text dragged" t)
+          (integer :tag "Show that many characters of the dragged text" 256))
    :version "26.1")
  
  (defcustom mouse-drag-and-drop-region-show-cursor t


In GNU Emacs 28.0.50 (build 11, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, cairo version 1.16.0)
  of 2020-05-17 built on kilauea
Repository revision: 313955110b242cd18fc19bd168032d3ddf39fe94
Repository branch: master
Windowing system distributor 'Fedora Project', version 11.0.12006000
System Description: Fedora 31 (KDE Plasma)






             reply	other threads:[~2020-05-17 10:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 10:23 David Ponce [this message]
2020-05-17 13:09 ` bug#41351: 28.0.50; Cannot customize mouse-drag-and-drop-region-show-tooltip Stefan Kangas
2020-05-17 13:43   ` David Ponce
2020-05-17 13:55     ` Stefan Kangas
2020-05-17 15:40   ` Eli Zaretskii
2020-05-17 21:00     ` Stefan Kangas
2020-05-18  2:25       ` Eli Zaretskii
2020-05-19  0:25         ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53b5bd08-2cbc-9ea8-84d9-8053249000d9@orange.fr \
    --to=da_vid@orange.fr \
    --cc=41351@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.