From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#22873: Can we support multiple Cursors? Date: Wed, 02 Mar 2016 22:30:38 -0800 Message-ID: References: Reply-To: John Wiegley NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456986686 25289 80.91.229.3 (3 Mar 2016 06:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2016 06:31:26 +0000 (UTC) Cc: 22873@debbugs.gnu.org, emacs-devel@gnu.org To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 07:31:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1abMn0-00073l-WA for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2016 07:31:11 +0100 Original-Received: from localhost ([::1]:60917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abMn0-0006G6-B9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2016 01:31:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abMmw-0006C4-Kq for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 01:31:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abMms-0008Tx-Je for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 01:31:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abMms-0008Th-Go for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 01:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abMms-0002bI-7K for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 01:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Mar 2016 06:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22873-submit@debbugs.gnu.org id=B22873.14569866499975 (code B ref 22873); Thu, 03 Mar 2016 06:31:02 +0000 Original-Received: (at 22873) by debbugs.gnu.org; 3 Mar 2016 06:30:49 +0000 Original-Received: from localhost ([127.0.0.1]:58460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abMmf-0002ap-Ck for submit@debbugs.gnu.org; Thu, 03 Mar 2016 01:30:49 -0500 Original-Received: from mail-pf0-f172.google.com ([209.85.192.172]:33888) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abMmc-0002ab-Vw for 22873@debbugs.gnu.org; Thu, 03 Mar 2016 01:30:47 -0500 Original-Received: by mail-pf0-f172.google.com with SMTP id 4so9119543pfd.1 for <22873@debbugs.gnu.org>; Wed, 02 Mar 2016 22:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mail-followup-to:mime-version; bh=kTgBfVQcSvxLmhbfXIYA3GxChpR5h250pLMIcGYIAoQ=; b=wob6V9ogo0P1079wCFklKt0Hlabe6CcAI2JgDmm7bajzSWIXDSA7QtVxQuXITJMmXh sJEmWEobTfXQFylzJRBdUkahRokquNCIl4A1/RQqOok7mIIKK3ioLWGMa2n/9XdU63kI knsnGAnGHiFB/SQv0YdWByopsN0Y0gP8rxSnV6Vl5KlH5GjJl3BGg/xlqOrgiPZ3STgD EX53Gsh8jQvvLr0aciXT+A4TFaTsEu/ZcgtzomsfxcHDGFlfTGbl6Giz5yxvuxhD4Sp5 deKWlh0TxZLvtNTCUCZO91+crcKTyZw65yjKVH5vj5Hu+WWwlR7e7zZBziWCfApNewUK 4+3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mail-followup-to:mime-version; bh=kTgBfVQcSvxLmhbfXIYA3GxChpR5h250pLMIcGYIAoQ=; b=EdyIRVrKO0gl1/E0AdX7+AtZ/s54NeDVBDcwBgzjPW+86BR2lZykwlh6CIUvNdueYD EDRhgytpuFclo2NAkoLUdmO+Kvx5E+Td2B60+en47KLQ26I6i6i8jU1Jz1lOyZ78+ZXB zDFS2L1469C3ICY+cdKS77wBCa6inj8d0I+DrOAxI8KI0wpc7M4gqW0bZb5HoVOjEVLe pMVUFF+7OE7L0SfUenOngeJ2mFmICpBDmtGVtQ/HWu8C55gdB4mjshs2CSpGfeSTT3uZ LS0307Za0wdLhD2FXfw5CpfQkFN4jQbvnRDIm0SKGAjS2lVBt365ahj3Ol+Yre3W6PRo gtyA== X-Gm-Message-State: AD7BkJKi/EgDgeWmUgt+0KVimVx4P5FbBAh4eDyDHSHPHvHsNAGwkGIU7nL7IDw0K4BTNw== X-Received: by 10.98.17.26 with SMTP id z26mr1454619pfi.30.1456986641201; Wed, 02 Mar 2016 22:30:41 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id d65sm57399860pfb.74.2016.03.02.22.30.40 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 02 Mar 2016 22:30:40 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 6A98D133690D0; Wed, 2 Mar 2016 22:30:39 -0800 (PST) In-Reply-To: (Keith David Bershatsky's message of "Tue, 01 Mar 2016 10:44:58 -0800") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) Mail-Followup-To: Keith David Bershatsky , 22873@debbugs.gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114328 Archived-At: >>>>> Keith David Bershatsky writes: > As a feature request, it would be appreciated if the Emacs development team > could please consider adding built-in support for multiple cursors similar > to the Lisp library that Magnar Sveen has written: > https://github.com/magnars I like this request, but my spidey sense tells me that implementing this at the C level will introduce a huge number of ramifications that may not be immediately apparent. For example, (point) conceptually goes from being one position, to many. The implications of that are huge, which will mean introducing special cases to avoid them, which then has its own implications, etc. I'd like to see discussion on this idea in emacs-devel, so I'm copying there. This is something that deserves a larger audience than just those following bug #22873. Is multiple-cursor editing a realistic possibility? And is it worth the complexity? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2