From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Sat, 08 Sep 2018 21:31:48 +0200 Message-ID: References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.fsf@toy.adminart.net> <874lf0oul4.fsf@toy.adminart.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536437431 7547 195.159.176.226 (8 Sep 2018 20:10:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 20:10:31 +0000 (UTC) Cc: cpitclaudel@gmail.com, lokedhs@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: hw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 08 22:10:26 2018 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 1fyjYo-0001uI-6r for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 22:10:26 +0200 Original-Received: from localhost ([::1]:45057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyixF-0004By-Ln for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 15:31:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyiwW-0003se-Ag for emacs-devel@gnu.org; Sat, 08 Sep 2018 15:30:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyiwV-0004Qr-4S for emacs-devel@gnu.org; Sat, 08 Sep 2018 15:30:52 -0400 Original-Received: from sinyavsky.aurox.ch ([2a03:2040:2:1b::1]:51873) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyiwR-0004CV-EF for emacs-devel@gnu.org; Sat, 08 Sep 2018 15:30:49 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id C45002284F for ; Sat, 8 Sep 2018 19:34:18 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:mime-version :references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1536435257; x=1537299258; bh=3dDGDJ1QgZIOd OqJczGb8+mh2/ccIqSNimRSUHM5rfY=; b=xWNQkYSH3BYqOFR1g2QDVeRkjsjfD 2XnnCj6qbIn+AOm3FRB8uc7JNfLT4uoGMYwzRP78PkT6N4jtRYdsWI+6cVBTx4ia qToA4pXc915qZ0CBW8rWOqWz0uOgaIsi3jU3L26a117xZJbdF18CsdMvsos6bB7u YT1ckmBK59yGQY= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qLYH79rEArpy for ; Sat, 8 Sep 2018 19:34:17 +0000 (UTC) Original-Received: from gray (unknown [IPv6:2a02:1205:c693:2d60:c62c:3ff:fe30:b864]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id F0FAF2280B; Sat, 8 Sep 2018 19:34:16 +0000 (UTC) In-reply-to: <874lf0oul4.fsf@toy.adminart.net> (message from hw on Sat, 08 Sep 2018 17:52:07 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a03:2040:2:1b::1 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:229515 Archived-At: > From: hw > Cc: Richard Stallman , cpitclaudel@gmail.com, > emacs-devel > Date: Sat, 08 Sep 2018 17:52:07 +0200 >=20 > Elias M=C3=A5rtenson writes: >=20 > > Without active regions, there would never be an expectation that back= space > > deletes anything but one character. >=20 > How come it wasn't distinguished between the concept of a region being > active and the visual aid of marking a region? Separating these two concepts could be useful, but Emacs would then need some other way of showing the user that a region is active, like a mode line indicator. We would then also need bindings for activating and deactivating the region, and for turning the visual aid on and off. > [...] >=20 > I think for the strict-selection-mode I'd prefer, it would help to > disable transient-mark-mode. But how can I see what I have selected? The most common answer to that is to use "C-u C-x C-x", which temporarily activates the region (thus highlighting it) and exchanges the point and the mark. But there is no command to turn on the highlighting of the region directly. > It would even be possible to leave the visual markers active while the > user is doing something else if transient-mark-mode didn't insist on th= e > region being active when it's visually highlighted. =20 I'd like this too. > It would only need > a key binding to stop marking a region. I'd appreciate it if I didn't > need to always do something with a region immediately and could leave i= t > highlighted, or leave several regions highlighted at the same time. For a second region, use the secondary selection. We don't yet have keyboard bindings for its commands, unfortunately, though Drew's package "second-sel" suggests C-M-y: https://www.emacswiki.org/emacs/SecondarySelection#second-sel.el