From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: visual-region-mode? Date: Wed, 12 Sep 2018 23:50:36 +0300 Organization: LINKOV.NET Message-ID: <87sh2ee8yr.fsf@mail.linkov.net> References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.fsf@toy.adminart.net> <874lf0oul4.fsf@toy.adminart.net> <877ejuabdt.fsf_-_@toy.adminart.net> <878t473dhg.fsf@toy.adminart.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536785776 7534 195.159.176.226 (12 Sep 2018 20:56:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 20:56:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: hw , cpitclaudel@gmail.com, lokedhs@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: charles@aurox.ch (Charles A. Roelli) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 12 22:56:12 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 1g0CBH-0001oF-Et for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 22:56:11 +0200 Original-Received: from localhost ([::1]:38397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0CDN-00059y-Jr for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 16:58:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0CDA-00058T-Ge for emacs-devel@gnu.org; Wed, 12 Sep 2018 16:58:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0C9B-00018I-Cg for emacs-devel@gnu.org; Wed, 12 Sep 2018 16:54:04 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:34664 helo=pdx1-sub0-mail-a21.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0C9B-000182-56; Wed, 12 Sep 2018 16:54:01 -0400 Original-Received: from pdx1-sub0-mail-a21.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a21.g.dreamhost.com (Postfix) with ESMTP id C974D800CF; Wed, 12 Sep 2018 13:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=4P/pur39vnASoiiDfzFyb4+uk3Y=; b= FkdacrQF9U2R1iiqcGxc2JDB6l7X9r5QxSa3+pMAf85eJ6EYhwxDDc2JIHdr9NW8 dIAsJZvK4hpAxWOmRWS+ru9/NVqb4haOmLU7nhDn9cLkgnyRPM5Zg4AAOGhT9UYo 285EylPzffLFthsFurqFBaU/z+q9J1USTWkVQeIH5fE= Original-Received: from localhost.linkov.net (m91-129-104-147.cust.tele2.ee [91.129.104.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 9143C7FFD0; Wed, 12 Sep 2018 13:53:56 -0700 (PDT) In-Reply-To: (Charles A. Roelli's message of "Wed, 12 Sep 2018 21:47:07 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.90.62.162 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:229726 Archived-At: >> > The user might want it highlighted for various reasons, possibly not >> > covered by the current implementation, where Emacs highlights the >> > region only when 'mark-active' is non-nil. >> >> Yes, and that leads to misunderstandings, like d-s-m. It doesn't make >> any sense to claim that there is a region when there is none highlighted >> and only creates the inconsistency that an arbitrary part of a buffer >> can be deleted or copied, accidentally or intentionally, i. e. that >> something can be done with a region while the region is not active and >> nothing should possibly be done with it. > > Again, that seems like the intention behind transient-mark-mode. But > the implementation is, then, in a way incomplete: C-w still kills the > region, no matter whether it is active or not, in transient-mark-mode. mark-even-if-inactive set to nil is much safer option - it prevents accidental lossage caused by mistakenly typed C-w.