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: visual-region-mode? Date: Sun, 16 Sep 2018 21:31:24 +0200 Message-ID: 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> <87pnxii2b7.fsf@toy.adminart.net> <87k1nm7eit.fsf@toy.adminart.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1537126097 3529 195.159.176.226 (16 Sep 2018 19:28:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2018 19:28:17 +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 Sun Sep 16 21:28:13 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 1g1ciK-0000mR-Gy for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2018 21:28:12 +0200 Original-Received: from localhost ([::1]:60048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1ckR-0000SH-1S for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2018 15:30:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1cjq-0000S8-2v for emacs-devel@gnu.org; Sun, 16 Sep 2018 15:29:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1cjp-00012I-Bo for emacs-devel@gnu.org; Sun, 16 Sep 2018 15:29:46 -0400 Original-Received: from sinyavsky.aurox.ch ([2a03:2040:2:1b::1]:58052) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g1cjo-0000QP-WC for emacs-devel@gnu.org; Sun, 16 Sep 2018 15:29:45 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 50A3422860 for ; Sun, 16 Sep 2018 19:33: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= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1537126396; x=1537990397; bh=hJbrABpcVYtUY vtVPRjz3iB6MgKzKztr2wLgHBS9XsE=; b=GcQBwkeufn4ZQ0ehgMmXHpIaSxymK hQOt3iVy5+ig5GL2IONBzcPv7g61kzDWb28+bRbxfrPAfhA/1TfPpDMeXALhprQV dofEPIYLAacifXjWtR9y7wD3LW0ViOpPcz1jhS96Yc4Oq/CUmugy+ZG3IIf8ewz4 JTzAjUC79RNPq8= 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 eOsxmCVLuW1P for ; Sun, 16 Sep 2018 19:33:16 +0000 (UTC) Original-Received: from gray (unknown [IPv6:2a02:1205:c693:2d60:c62c:3ff:fe30:b864]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 8A3F522845; Sun, 16 Sep 2018 19:33:16 +0000 (UTC) In-reply-to: <87k1nm7eit.fsf@toy.adminart.net> (message from hw on Sat, 15 Sep 2018 21:21:30 +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:229863 Archived-At: > From: hw > Date: Sat, 15 Sep 2018 21:21:30 +0200 > > > and the commands using the region > > are well-marked (e.g. "kill-region", "fill-region", "eval-region", > > ...). > > How does this make hidden regions efficient? You have a clear set of actions that can work on the region, anytime, no matter whether the region is "hidden", or active and visible, or rectangular. > I'm simply not using the mark, and it shouldn't be there. The hidden > regions they create are a source for errors. Make it so they don't > create regions, and the mark might become usable, provided it can be > made visible. The "hidden regions" can only be a source of error if you type, say, C-w or M-w at random during editing. I don't understand why you would do that, especially in your case if you haven't selected a region beforehand. You could just as well have hit C-/ or C-k, which will also change your buffer.