From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug#22873: Can we support multiple Cursors? Date: Mon, 07 Mar 2016 23:53:26 -0500 Message-ID: References: <8760x49hly.fsf@mbork.pl> <87ziuf8uun.fsf@mbork.pl> <56DC9383.7050305@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457412859 3624 80.91.229.3 (8 Mar 2016 04:54:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 04:54:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 05:54:11 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ad9eq-0003Hv-B7 for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2016 05:54:08 +0100 Original-Received: from localhost ([::1]:60301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad9ep-0005X1-NJ for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2016 23:54:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad9eQ-0005Tt-T9 for emacs-devel@gnu.org; Mon, 07 Mar 2016 23:53:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad9eN-0004WN-OE for emacs-devel@gnu.org; Mon, 07 Mar 2016 23:53:42 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad9eN-0004WJ-HJ for emacs-devel@gnu.org; Mon, 07 Mar 2016 23:53:39 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ad9eK-0002tJ-Bk for emacs-devel@gnu.org; Tue, 08 Mar 2016 05:53:36 +0100 Original-Received: from 157.52.15.125 ([157.52.15.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2016 05:53:36 +0100 Original-Received: from monnier by 157.52.15.125 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2016 05:53:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 157.52.15.125 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:Liv/0AfD3HCGNDagslnx2aRm9Q8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201123 Archived-At: >>> > - allowing rendering of faux cursors. Right now I'm using inverted >>> > overlays to create a block cursor (only). >> Seems like a good solution. If this bumps into problems, we should >> probably try and improve overlay support rather than try to add >> specific "multi-cursor" support in the redisplay engine. > It already bumps into problems: when you set your cursor to a bar and use > use multiple cursors, only the real one actually looks like a bar. > Maybe we could add an overlay property to display a cursor at the left edge? Sounds like a fair solution. Tho maybe it'd be even better to be able to specify an overlay with a "bar cursor like thingy" regardless of what kind of cursor is currently used. Stefan