From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Design of commands operating on rectangular regions Date: Mon, 23 Nov 2015 02:07:35 +0200 Organization: LINKOV.NET Message-ID: <87mvu57f3s.fsf@mail.linkov.net> References: <871tc315y3.fsf@lifelogs.com> <83k2pvqg0l.fsf@gnu.org> <837fluqkd1.fsf@gnu.org> <87oaf1s82r.fsf@mail.linkov.net> <876116ucdm.fsf_-_@mail.linkov.net> <97dbb9ad-078f-491b-8d9e-0ab7fdbffa5c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448238456 24146 80.91.229.3 (23 Nov 2015 00:27:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2015 00:27:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 01:27:35 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a0eyl-000885-5u for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2015 01:27:35 +0100 Original-Received: from localhost ([::1]:58023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0eyl-0001GU-1x for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2015 19:27:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0eyT-0001G6-3s for emacs-devel@gnu.org; Sun, 22 Nov 2015 19:27:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0eyS-0005m6-71 for emacs-devel@gnu.org; Sun, 22 Nov 2015 19:27:17 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:48795 helo=homiemail-a12.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0eyS-0005m2-1A for emacs-devel@gnu.org; Sun, 22 Nov 2015 19:27:16 -0500 Original-Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 45EC71030063; Sun, 22 Nov 2015 16:27:15 -0800 (PST) Original-Received: from localhost.linkov.net (m91-131-172-22.cust.tele2.ee [91.131.172.22]) (Authenticated sender: jurta@jurta.org) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 66741103005E; Sun, 22 Nov 2015 16:27:14 -0800 (PST) In-Reply-To: <97dbb9ad-078f-491b-8d9e-0ab7fdbffa5c@default> (Drew Adams's message of "Fri, 20 Nov 2015 11:19:56 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.253.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195080 Archived-At: > In order to follow all of this, especially since you now > seem to be talking about user-level changes, could someone > please specify (describe) the non-contiguous region feature, > including how users can create and modify such a region > interactively? First you can select the non-contiguous region with 'C-x SPC', then extend it with the usual point motion keys, then run one of the commands supporting such regions, e.g. 'C-x C-l' to downcase, 'M-%' to replace occurrences, 'C-u M-|' to replace the region with the command output. > And could you specify clearly the relation between this > non-contiguous region feature and rectangles? Presumably > the former is more general but also allows some handling > of rectangles (?). Rectangles are a subset of non-contiguous regions that can be expanded with other shapes, e.g. circular regions.