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.bugs Subject: bug#50950: "(emacs) Mark" should contrast to "selecting" text in other editors Date: Sat, 02 Oct 2021 09:22:41 +0300 Message-ID: <83ilygc5e6.fsf@gnu.org> References: <83pmsocyze.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5449"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50950@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 08:24:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mWYRP-0001Fx-Pv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 08:24:11 +0200 Original-Received: from localhost ([::1]:42896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWYRO-0007ZT-T7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 02:24:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWYRG-0007Yu-St for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 02:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWYRG-0001I3-LW for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 02:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWYRG-0007cq-De for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 02:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50950 X-GNU-PR-Package: emacs Original-Received: via spool by 50950-submit@debbugs.gnu.org id=B50950.163315578929251 (code B ref 50950); Sat, 02 Oct 2021 06:24:02 +0000 Original-Received: (at 50950) by debbugs.gnu.org; 2 Oct 2021 06:23:09 +0000 Original-Received: from localhost ([127.0.0.1]:57735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWYQO-0007bj-Im for submit@debbugs.gnu.org; Sat, 02 Oct 2021 02:23:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWYQK-0007ay-NP for 50950@debbugs.gnu.org; Sat, 02 Oct 2021 02:23:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45138) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWYQF-00086s-5S; Sat, 02 Oct 2021 02:22:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3394 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 1mWYQE-0007Y9-Pi; Sat, 02 Oct 2021 02:22:59 -0400 In-Reply-To: (message from Stefan Kangas on Sat, 2 Oct 2021 01:01:21 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216102 Archived-At: > From: Stefan Kangas > Date: Sat, 2 Oct 2021 01:01:21 +0200 > Cc: 50950@debbugs.gnu.org > > > I disagree that the region is a basic feature. It may look > > deceptively similar to text selections, but it isn't. We have the > > region, the active region, and the shift- and mouse-selected text, > > which all look similar, and sometimes behave similarly, but they are > > not identical. > > IMO, it is not an advanced feature, and on the most basic level it > really is just selecting text. You want to copy it, make it bold, > indent it, or what have you. > > It is of course precisely what makes it different that needs to be > explained. But this can and IMO should be done by starting out from > what is already known. For example, where we now have: > > Many Emacs commands operate on an arbitrary contiguous part of the > current buffer. To specify the text for such a command to operate on, > you set “the mark” at one end of it, and move point to the other end. > > it would be better to put something along these lines: > > In other text editors, you can select text to perform various > operations on, such as copying or deleting it. In Emacs, we say > that such commands operate on the "region". > > The region starts at point, and ends at what in Emacs is known > as "the mark" ... > > [Note: this a very quick write-up, and not a proposal.] > > We don't need to talk about "arbitrary contiguous parts" or anything > like that. There is no need to pretend as if the user don't already > have a very strong concept of what exactly is a text selection and how > it works: our job is to help the user see exactly where that intuition > fails. As I said, rewriting this overview text is probably a good idea, so no argument here. But the new text should still explain how our region is different in subtle but important ways from what people see in other editors. Would you like to propose such a rewording? > In any case, AFAICT, the manual doesn't make much of an attempt to > explain this difference as it is, so I'm not sure it is very > important. I think it is important to explain; the fact that we don't is just because once upon a time there was just one kind of region, and other applications at that time didn't have anything even close. Nowadays things are different, so the way the overview is presented needs to be rethought.