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 5743b74d4b 1/2: Improve mouse dragging Date: Fri, 13 May 2022 09:00:39 +0300 Message-ID: <83h75unf94.fsf@gnu.org> References: <83sfpfp5p1.fsf@gnu.org> <87sfpfx8j8.fsf@yahoo.com> <83ilqaq5o9.fsf@gnu.org> <87fsleykdp.fsf@yahoo.com> <83h75uq4id.fsf@gnu.org> <87bkw2yjeg.fsf@yahoo.com> <83ee0yq2pg.fsf@gnu.org> <8735hexoo3.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18229"; 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 Fri May 13 08:03:55 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 1npOP4-0004cj-TH for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 08:03:55 +0200 Original-Received: from localhost ([::1]:47100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npOP2-0000ZX-G2 for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 02:03:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npOLq-0007Sg-BF for emacs-devel@gnu.org; Fri, 13 May 2022 02:00:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npOLp-0005AH-TO; Fri, 13 May 2022 02:00:34 -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=a0M00NcpkpuXxJdWXtuyTAfssXsBwet+sBXr7iXnYGs=; b=ABS0NX5OPfAg cpZAnfOgV6ZFckE/vSS4khDdSn8V/xK60QvTOs8fjppXhcoQhZq2doh9ILNkoXQcfowMuErHLyP10 y7Ul5fL5PQ/lCpdqrPN8XBagsWOJB5gd+vy7qe/UrO9D1Q0cQdZy1LelCzv438/pd8x1UTOPzlTOj Kj5xh2dRptA/B9nqyiI0B0RiDl62RYKAR4W1mpNsnkN0E92JNXDrGZLXNz5tdmLW+jG9nFd6QpOMB 5CBWz9bTo9YbF2tA3aRBIOhtB4RvoRdm+CL4zqNfSqhqBXhwPzcqnPqLkdCD3svlk3HNKFJ10dXYA 1ecJRz82YvcKshgMytaKSQ==; Original-Received: from [87.69.77.57] (port=3328 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 1npOLp-0003oA-A4; Fri, 13 May 2022 02:00:33 -0400 In-Reply-To: <8735hexoo3.fsf@yahoo.com> (message from Po Lu on Fri, 13 May 2022 08:27:08 +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:289710 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Fri, 13 May 2022 08:27:08 +0800 > > > In any case, if the problem is that some text was modified that later > > has to be inserted, a simple copy-sequence should have solved that, > > no? > > That wasn't the only problem, apparently the modifications also > interfered with the display of the tooltip. I'm not sure I understand. Do you remember the details of tis interference? If not, can you reimplement this using tooltip-show and string copying, and tell what problems that yields? I really don't want to have the tricky code that sets up colors in tooltip-show to be in more than one place, it's a maintenance problem waiting to happen. Thanks.