From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 47dcf72: Fix tooltip text properties showing up in dragged text Date: Wed, 16 Mar 2022 16:25:52 +0200 Message-ID: <83v8wegej3.fsf@gnu.org> References: <8335jihy8v.fsf@gnu.org> <87y21aowkb.fsf@yahoo.com> <83wnguggjr.fsf@gnu.org> <87sfriovsw.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 16 15:32:50 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUUhl-0009Qm-Ok for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 15:32:49 +0100 Original-Received: from localhost ([::1]:59576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUUhk-0001HJ-Ab for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 10:32:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUUbB-00009A-5u for emacs-devel@gnu.org; Wed, 16 Mar 2022 10:26:01 -0400 Original-Received: from [2001:470:142:3::e] (port=60968 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUUbA-0006mZ-SX; Wed, 16 Mar 2022 10:26:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ypohUAJ+9HGsMoJr9BXGjRLMnl4cAQ+JuE9vPHm/y+Q=; b=Eo4dDQPfeJod Zqy6avq//n7vvrfWdbLcNYMbSAq9AYWRcfvXf+VJL9wyQyNFuM4f1OarhDAB/oMwDcX52C+9mj+Nn FHmV6Aemtlx3aEyxak82KnweRFWr2nuTEwRCp7mAXrVl3cCX8EhD3xos9laPR57txzEarMokzKKNX c+iTY+VjnRR1BCOtLS0IP83posjrYog4eKzT3KokGo+1Btxc1q1n9ov2m8orhxHg0LGfR4yDDzCOA wi+OlvHokI5Ol19CC9cVV0N5gi9AM7kYd7u7QwvjkbeX+FXvGpCeWw2Z0xTR4x90UZjdrVI69ooh3 Fo/kh61AU8pdRBEv6ak/0Q==; Original-Received: from [87.69.77.57] (port=3703 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUUbA-0003K8-7r; Wed, 16 Mar 2022 10:26:00 -0400 In-Reply-To: <87sfriovsw.fsf@yahoo.com> (message from Po Lu on Wed, 16 Mar 2022 21:45:35 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287230 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Wed, 16 Mar 2022 21:45:35 +0800 > > Eli Zaretskii writes: > > >> It'll display a tooltip, which is according to the doc string of > >> `mouse-drag-and-drop-region-show-tooltip' what that code is supposed to > >> do (display a tooltip, not a message in the echo area.) > > > tooltip-use-echo-area also displays a tooltip, just in a special way. > > Is there any reason not to honor it here? > > It doesn't follow the mouse when dragging, which is the purpose of the > special tooltip displayed when dragging. The tooltip display in the echo area also doesn't follow the mouse, so it doesn't sound to me as if this case is a significant difference. Users who have tooltip-use-echo-area non-nil already indicate that they "give up" the position of the tool-tip text display on the screen, and don't mind to see all the tool-tips in the same place regardless of where the mouse is.