From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: mouse-drag-and-drop-region Date: Fri, 17 Nov 2017 17:44:02 -0500 Message-ID: References: <5A0ABD41.5040402@gmx.at> <874lpwobsa.fsf@gmail.com> <5A0C0765.2040908@gmx.at> <87375fl3z1.fsf@gmail.com> <831skzjo2o.fsf@gnu.org> <87y3n7jj2y.fsf@gmail.com> <83r2syi5h6.fsf@gnu.org> <87r2sx4do3.fsf@gmail.com> <837eupiclf.fsf@gnu.org> <83lgj4hnaa.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510958687 25578 195.159.176.226 (17 Nov 2017 22:44:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2017 22:44:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 17 23:44:44 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFpNL-0006St-TJ for ged-emacs-devel@m.gmane.org; Fri, 17 Nov 2017 23:44:44 +0100 Original-Received: from localhost ([::1]:48105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFpNT-0008M5-Cp for ged-emacs-devel@m.gmane.org; Fri, 17 Nov 2017 17:44:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFpMq-0008Lo-WE for emacs-devel@gnu.org; Fri, 17 Nov 2017 17:44:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFpMq-0001nf-7H for emacs-devel@gnu.org; Fri, 17 Nov 2017 17:44:13 -0500 Original-Received: from pmta21.teksavvy.com ([76.10.157.36]:31658) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFpMm-0001kZ-CQ; Fri, 17 Nov 2017 17:44:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2E6SgC2ZQ9a/3HQSC1bHQEBBQELAYM8g?= =?us-ascii?q?VKDW4VYhHmPP4F9mHOFRQKEZ0MUAQEBAQEBAQEBA2goQhABhE0BBAF5EAsNJxI?= =?us-ascii?q?UGDEuigIIrDchAopYAQEBBwImgzSCB4ZpixMFkwiPNqB/KIcxl2w2I4F0NCEIM?= =?us-ascii?q?oMuhHwjg0yHQAEBAQ?= X-IPAS-Result: =?us-ascii?q?A2E6SgC2ZQ9a/3HQSC1bHQEBBQELAYM8gVKDW4VYhHmPP4F?= =?us-ascii?q?9mHOFRQKEZ0MUAQEBAQEBAQEBA2goQhABhE0BBAF5EAsNJxIUGDEuigIIrDchA?= =?us-ascii?q?opYAQEBBwImgzSCB4ZpixMFkwiPNqB/KIcxl2w2I4F0NCEIMoMuhHwjg0yHQAE?= =?us-ascii?q?BAQ?= X-IronPort-AV: E=Sophos;i="5.44,411,1505793600"; d="scan'208";a="9273533" Original-Received: from unknown (HELO pastel.home) ([45.72.208.113]) by smtp.teksavvy.com with ESMTP; 17 Nov 2017 17:44:02 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 676E1607D3; Fri, 17 Nov 2017 17:44:02 -0500 (EST) In-Reply-To: <83lgj4hnaa.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 Nov 2017 18:39:57 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220255 Archived-At: >> A more general solution could be to add two more glyph matrices (one for >> overlay thingies like menus and tooltips, and another that combines the >> "normal" glyph matrix with the one for overlay thingies (and it's this >> one which is then sent to be displayed)). > I don't see how this solves the problem, because the display engine > will still know nothing about that "second" matrix. As mentioned: "it's this one which is then sent to be displayed", so this assumes we'd change the display engine to use the combined matrix: render buffer text to desired-glyph-matrix combine desired-glyph-matrix with overlay-matrix into combined-matrix send combined-matrix to screen -- Stefan